From owner-freebsd-hackers Sat Mar 14 02:48:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA17993 for freebsd-hackers-outgoing; Sat, 14 Mar 1998 02:48:21 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA17986 for ; Sat, 14 Mar 1998 02:48:17 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.8.8/8.8.5) with ESMTP id CAA04242 for ; Sat, 14 Mar 1998 02:46:20 -0800 (PST) Message-Id: <199803141046.CAA04242@dingo.cdrom.com> X-Mailer: exmh version 2.0zeta 7/24/97 To: hackers@FreeBSD.ORG Subject: bogus printf in ffs_vfsops.c? Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 14 Mar 1998 02:46:20 -0800 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG While tracking another problem, I ran across this interesting 'feature': If you attempt to mount an unclean filesystem, the error message that the kernel prints: WARNING: R/W mount of %s denied. Filesystem is not clean - run fsck. prints the path on which the filesystem was *last* mounted, not where you are tring to mount it this time. Needless to say, for removable disks this can be, er, disconcerting. Should this be changed to print some more detail, eg. WARNING: R/W mount of %s on %s denied... The other case (where it prints a warning in the forced case) is more or less OK, although IMHO it should be printing the device, not the new target path... -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message