mount option <rw> is unknown

Randy Bush randy at psg.com
Tue Jan 3 15:23:33 PST 2006


>> 7-current system as of nov 27
>> cvsupped
>> removed CFLAGS and COPTFLAGS from make.conf
>> built and installed kernel and world
>> fsck ran fine
>> when it went to mount file systems,
>>     mount option <rw> is unknown
>>     mount: /dev/da0s1a: Invalid argument
>> this fstab was last touched in nov 2004, over a year ago
>> had to do 
>>     /rescue/mount -u -w /dev/da0s1a /
>> and so on for all filesystems.  then had to comment out fstab
>> so i could go multi.
> http://lists.freebsd.org/pipermail/freebsd-current/2005-December/059330.html
> http://www.freebsd.org/cgi/cvsweb.cgi/src/sbin/mount/mount.c
> Backwards compatibility was broken in rev. 1.7 in mount.c

no comprendo

while the mount man page seems not to have rw as an option

    # mount -p
    /dev/da0s1a     /       ufs rw  1 1
    devfs   /dev    devfs rw        0 0
    /dev/da0s1e     /root   ufs rw  2 2
    /dev/da0s1h     /usr    ufs rw  2 2
    /dev/da0s1f     /var    ufs rw  2 2
    /dev/da0s1g     /var/spool      ufs rw  2 2
    procfs  /proc   procfs rw       0 0

which is pretty much what /etc/fstab had before i commented
the entries out so i could go multi

    #/dev/da0s1a     /               ufs     rw     1       1
    #/dev/da0s1e     /root           ufs     rw     2       2
    #/dev/da0s1h     /usr            ufs     rw     2       2
    #/dev/da0s1f     /var            ufs     rw     2       2
    #/dev/da0s1g     /var/spool      ufs     rw     2       2

randy



More information about the freebsd-current mailing list