Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Mar 1998 02:46:20 -0800
From:      Mike Smith <mike@smith.net.au>
To:        hackers@FreeBSD.ORG
Subject:   bogus printf in ffs_vfsops.c?
Message-ID:  <199803141046.CAA04242@dingo.cdrom.com>

next in thread | raw e-mail | index | archive | help

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



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