Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Mar 2017 16:59:30 -0400
From:      "James B. Byrne" <byrnejb@harte-lyne.ca>
To:        dweimer@dweimer.net
Cc:        freebsd-questions@freebsd.org
Subject:   Re: FreeBSD-11 - /etc/fstab
Message-ID:  <ccf600c6c585f31bb688eba1befd91b7.squirrel@webmail.harte-lyne.ca>
In-Reply-To: <8e5c5be426784129a426acf656748826@dweimer.net>
References:  <752326cf454b5045b8759e7a4a163a23.squirrel@webmail.harte-lyne.ca> <8e5c5be426784129a426acf656748826@dweimer.net>

next in thread | previous in thread | raw e-mail | index | archive | help

On Tue, March 14, 2017 16:01, Dean E. Weimer wrote:

>>
>
> Look at man jail, search for mount.fstab, that's probably what you
> need.
> I use it for mounting nullfs file systems to my jails, haven't tried
> with these special file systems though.
>

I read the man page which is why I first looked in the ezjail
configuration file for this particular jail to see if the ability to
mount these special file-systems was enabled. It appeared to be.  I
then  updated the /etc/fstab.jailname file to have the desired
entries:

# cat /etc/fstab.hllidempiere
/usr/jails/basejail /usr/jails/hllidempiere/basejail nullfs ro 0 0
fdesc   /dev/fd         fdescfs         rw      0       0
proc    /proc           procfs          rw      0       0

However, when I start the jail, log on to it, and perform a mount
command this is all I see:

# mount
zroot/ROOT/default on / (zfs, local, noatime, nfsv4acls)

Thus my question.


-- 
***          e-Mail is NOT a SECURE channel          ***
        Do NOT transmit sensitive data via e-Mail
 Do NOT open attachments nor follow links sent by e-Mail

James B. Byrne                mailto:ByrneJB@Harte-Lyne.ca
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3




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