Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jan 2006 13:23:18 -1000
From:      Randy Bush <randy@psg.com>
To:        Steve Kargl <sgk@troutmask.apl.washington.edu>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: mount option <rw> is unknown
Message-ID:  <17339.1894.74343.72704@roam.psg.com>
References:  <17338.64976.685459.349707@roam.psg.com> <20060103225401.GA3009@troutmask.apl.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
>> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?17339.1894.74343.72704>