zfs boot and fstab chicken and egg problem
M. Warner Losh
imp at bsdimp.com
Sun Sep 27 05:20:52 UTC 2009
In message: <20090927051312.GA90311 at zibbi.meraka.csir.co.za>
John Hay <jhay at meraka.org.za> writes:
: On Sat, Sep 26, 2009 at 11:39:45PM +0200, Jilles Tjoelker wrote:
: > On Sat, Sep 26, 2009 at 04:37:36PM +0200, John Hay wrote:
: > > I have setup a zfs only system using 2 mirrored disks and gpart, using
: > > gptzfsboot to boot. That part is working well. The problem comes when
: > > you need to add things like the linproc filesystem. If you add that to
: > > fstab, the rc scripts will try to mount that before the zfs filesystems
: > > and fail because rcorder put mountcritlocal before zfs.
: >
: > You can probably work around this using the "late" option in fstab.
:
: Ahhh, thanks, once you know what to look for it becomes a lot easier. :-)
: I only found it mentioned in mount(8). Should it not be mentioned in
: fstab(5) too? noauto is there.
All options you can specify in /etc/fstab should be in fstab(5). The
question is "which subset should be mentioned elsewhere," not what
subset to document in the logical place... I mean, you wouldn't
expect to look at tip(8) to find info about ttys(5) format, would you?
Warner
More information about the freebsd-rc
mailing list