Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Sep 2010 01:47:28 -0500
From:      CyberLeo Kitsana <cyberleo@cyberleo.net>
To:        Torbjorn Granlund <tg@gmplib.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Mount order for ZFS, jails, and nullfs
Message-ID:  <4C9D9B00.1030103@cyberleo.net>
In-Reply-To: <867hibxh6t.fsf@shell.gmplib.org>
References:  <867hibxh6t.fsf@shell.gmplib.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 09/24/2010 11:03 AM, Torbjorn Granlund wrote:
> ...
> Unfortunately, FreeBSD's mount seems unable to perform mounts of ZFS
> volumes.

Sure, it can:

----8<----
(f84104b2)[root@akisha ~]# zfs create akisha/mnttmp
(f84104b2)[root@akisha ~]# touch /zfs/akisha/mnttmp/test
(f84104b2)[root@akisha ~]# ls -l /zfs/akisha/mnttmp
total 1
-rw-r--r--  1 root  wheel  - 0 Sep 25 01:39 test
(f84104b2)[root@akisha ~]# zfs set mountpoint=legacy akisha/mnttmp
(f84104b2)[root@akisha ~]# ls -l /zfs/akisha/mnttmp
ls: /zfs/akisha/mnttmp: No such file or directory
(f84104b2)[root@akisha ~]# mount -t zfs akisha/mnttmp /mnt/tmp
(f84104b2)[root@akisha ~]# ls -l /mnt/tmp
total 1
-rw-r--r--   1 root  wheel  -  0 Sep 25 01:39 test
(f84104b2)[root@akisha ~]# umount /mnt/tmp
(f84104b2)[root@akisha ~]# ls -l /mnt/tmp
total 0
(f84104b2)[root@akisha ~]#
----8<----

On 8.1-RELEASE.

-- 
Fuzzy love,
-CyberLeo
Technical Administrator
CyberLeo.Net Webhosting
http://www.CyberLeo.Net
<CyberLeo@CyberLeo.Net>

Furry Peace! - http://wwww.fur.com/peace/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C9D9B00.1030103>