fstab option to 'skip' a file system?

Bob Bomar bob at ibsd.us
Sun Jun 12 03:37:41 GMT 2005


-----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.


- --
Bob Bomar
bob at bomar.us
http://www.bomar.us/~bob
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCq6379Jm/aTrtdKoRAtj3AJ9UidrCbllUnJ7yXV22P/NWMW5DaQCfdg2+
rwkKV3b+NnKKUxCn7V9SZXw=
=yVIT
-----END PGP SIGNATURE-----


More information about the freebsd-questions mailing list