Re: mount/fstab parsing broken

From: M. Warner Losh <imp_at_bsdimp.com>
Date: Thu, 01 Mar 2007 09:10:21 -0700 (MST)
In message: <20070301110729.GA43178_at_daemon.rulez.sk>
            Daniel Gerzo <danger_at_rulez.sk> writes:
: On Wed, Feb 28, 2007 at 07:00:00PM -0700, M. Warner Losh wrote:
: > In message: <1687213025.20070301020540_at_rulez.sk>
: >             Daniel Gerzo <danger_at_freebsd.org> writes:
: > : Hello current,
: > : 
: > : Having the following fstab makes my system 100% unbootable under
: > : 7.0 with sources from Wed Feb 28 23:47:39 CET 2007 (it works under
: > : 6.2).
: > : 
: > : # Device                Mountpoint      FStype  Options         Dump    Pass#
: > : /dev/mirror/gm0s1b      none            swap    sw              0       0
: > : /dev/mirror/gm0s1a      /               ufs     rw,nodev,noatime                1       1
: > : /dev/mirror/gm0s1f      /data           ufs     rw,nosuid,nodev,noatime         2       2
: > : /dev/mirror/gm0s1d      /usr            ufs     rw,nodev,noatime                2       2
: > : /dev/mirror/gm0s1e      /var            ufs     rw,nosuid,nodev,noexec,noatime          2       2
: > : /dev/cd0                /cdrom          cd9660  ro,noauto       0       0
: > : 
: > : it fails with some errors with getty (maybe /dev is not mounted or
: > : something)
: > : 
: > : Also, having this fstab and trying to mount -u -a on a running system,
: > : causes to produce the following messages in the messages log:
: > : 
: > : Mar  1 01:23:13 db2 kernel: mount option <dev> is unknown
: > 
: > Have you tried removing the 'nodev' option from /usr and /data?
: > 
: 
: Not yet, but the question is that why it does not work under 7.0-C.
: I'm running the same setup under 6.2-STABLE and 6.2-PRERELEASE and no
: problems so far.

mount has undergone some cleanups since 6.2 and I believe that
obsolete keywords have been removed (nodev hasn't had an effect since
4.x).

Warner
Received on Thu Mar 01 2007 - 15:10:35 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:06 UTC