fstab option to 'skip' a file system?

Marc G. Fournier scrappy at hub.org
Sun Jun 12 03:56:57 GMT 2005


On Sat, 11 Jun 2005, Bob Bomar wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Marc G. Fournier wrote:
> |
> | Is there an option that I can add to fstab (or some way of doing it?)
> | that, when a server reboots, it will 'ignore' that file system, but I
> | can still do a 'mount /fs' after the fact?
> |
> | I have remote servers that I'd like to manually fsck one of the file
> | systems after it comes up, but I don't have a serial console enabled on
> | them (yet!) ... so, i'd like it to ignore that one file system on
> | reboot, but still have it listed in /etc/fstab ...
> |
> | Setting 'passno' to 0, I believe, will cause it to fail to boot due to
> | an unclean file system, so that doesn't appear to be an option ...
> |
> | Is that possible?
> |
>
> ~From the fstab(5) man page:
>
> ...
> If the option ``noauto'' is specified, the file system will not be auto-
> ~     matically mounted at system startup.
> ...
>
> Just add noauto to the Options for that fs.

Perfect, thanks ... I've used that for cdrom, not sure why I didn't think 
of it for a regular file system :(

----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email: scrappy at hub.org           Yahoo!: yscrappy              ICQ: 7615664


More information about the freebsd-questions mailing list