From owner-freebsd-current@FreeBSD.ORG Tue Jan 3 23:35:00 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6201F16A41F for ; Tue, 3 Jan 2006 23:35:00 +0000 (GMT) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 459A643D72 for ; Tue, 3 Jan 2006 23:34:59 +0000 (GMT) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.13.4/8.13.4) with ESMTP id k03NYw6x003884; Tue, 3 Jan 2006 15:34:58 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.13.4/8.13.1/Submit) id k03NYwx6003883; Tue, 3 Jan 2006 15:34:58 -0800 (PST) (envelope-from sgk) Date: Tue, 3 Jan 2006 15:34:58 -0800 From: Steve Kargl To: Randy Bush Message-ID: <20060103233458.GA3763@troutmask.apl.washington.edu> References: <17338.64976.685459.349707@roam.psg.com> <20060103225401.GA3009@troutmask.apl.washington.edu> <17339.1894.74343.72704@roam.psg.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <17339.1894.74343.72704@roam.psg.com> User-Agent: Mutt/1.4.2.1i Cc: FreeBSD Current Subject: Re: mount option is unknown X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jan 2006 23:35:00 -0000 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 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 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