Subject: CVS commit: basesrc/sbin/mount
To: None <source-changes@netbsd.org>
From: Nathan J Williams <nathanw@netbsd.org>
List: source-changes
Date: 05/22/2002 02:51:19
Module Name:	basesrc
Committed By:	nathanw
Date:		Tue May 21 23:51:19 UTC 2002

Modified Files:
	basesrc/sbin/mount: mount.c

Log Message:
When attempting to guess the filesystem type from the disklabel, don't
consider a out-of-range partition letter at the end of the special
device node to be a fatal error; just return NULL and let the caller
fall back to FFS.

This fixes the "mount -u /kern/rootdev /" done by the script installer.

XXX this is still gross, and breaks things like
"mount /my/strange/dev/path/b /mnt". Perhaps it should stat the node
and use the minor number as an index instead?


To generate a diff of this commit:
cvs rdiff -r1.58 -r1.59 basesrc/sbin/mount/mount.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.