mount/fstab parsing broken

From: Daniel Gerzo <danger_at_FreeBSD.org>
Date: Thu, 1 Mar 2007 02:05:40 +0100
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

The following fstab works w/o any problem.

# Device                Mountpoint      FStype  Options         Dump    Pass#
/dev/mirror/gm0s1b      none            swap    sw              0       0
/dev/mirror/gm0s1a      /               ufs     rw              1       1
/dev/mirror/gm0s1f      /data           ufs     rw              2       2
/dev/mirror/gm0s1d      /usr            ufs     rw              2       2
/dev/mirror/gm0s1e      /var            ufs     rw              2       2
/dev/cd0                /cdrom          cd9660  ro,noauto       0       0

-- 
Best regards,
 Daniel                          mailto:danger_at_FreeBSD.org
Received on Thu Mar 01 2007 - 00:30:06 UTC

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