How to mount a filesystem with legacy mountpoint?

1,252 views
Skip to first unread message

邓尧

unread,
Jan 9, 2011, 12:04:06 AM1/9/11
to zfs-...@googlegroups.com
Is this supported? I tried command "mount -t zfs", but I got a "No such file or directory" error.

Thanks
-- Yao

Jean-Yves Avenard

unread,
Jan 9, 2011, 1:19:38 AM1/9/11
to zfs-...@googlegroups.com
On 9 January 2011 16:04, 邓尧 <koo...@gmail.com> wrote:
> Is this supported? I tried command "mount -t zfs", but I got a "No such file
> or directory" error.

zfs mount blah

邓尧

unread,
Jan 9, 2011, 1:29:19 AM1/9/11
to zfs-...@googlegroups.com
I tried, but got an error:

witch:~$ zfs set mountpoint=legacy Vault/system/linux
witch:~$ zfs mount Vault/system/linux
cannot mount 'Vault/system/linux': legacy mountpoint
use mount(1M) to mount this filesystem

Jean-Yves Avenard

unread,
Jan 9, 2011, 1:55:26 AM1/9/11
to zfs-...@googlegroups.com
On 9 January 2011 17:29, 邓尧 <tor...@gmail.com> wrote:
> I tried, but got an error:
>
> witch:~$ zfs set mountpoint=legacy Vault/system/linux

but that's not a valid mountpoint if you want to use zfs to mount filesystem:

zfs set mountpoint=/mnt/path Vault/system/linux

zfs mount Vault/system/linux

which will mount it to /mnt/path


> witch:~$ zfs mount Vault/system/linux
> cannot mount 'Vault/system/linux': legacy mountpoint
> use mount(1M) to mount this filesystem

I doubt you can use "legacy" on macos as the system mount has no idea
what the zfs file system is

Reply all
Reply to author
Forward
0 new messages