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

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jan 03, 2006 at 01:23:18PM -1000, Randy Bush wrote:
> >> 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
> 

The first URL notes the same problem with "mount option <rw> is unknown".
The second URL points to the CVS repository for sbin/mount/mount.c.  It
should have read "rev. 1.77".  In particular,

   Revision 1.77 / (download) - annotate - [select for diffs], Sat Dec 3
   01:57:58 2005 UTC (4 weeks, 3 days ago) by rodrigc
   Branch: MAIN
   Changes since 1.76: +1 -1 lines
   Diff to previous 1.76 (colored)

   Simplify parsing of mount options by passing
   "rw" option down to kernel, since vfs_donmount() can now parse it.

"Simplify" is a misspelling of "Break possibility of using older
kernels with newer sbin/mount command".  This, of course, makes 
panic recovery more difficult.

I don't recall what the outcome of using a newer kernel with an
old sbin/mount is.
-- 
Steve



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