[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/39609: wapbl "replaying log to disk" message is potentially misleading
>Synopsis: wapbl "replaying log to disk" message is potentially misleading
>Arrival-Date: Mon Sep 22 11:45:00 +0000 2008
>Originator: Jared D. McNeill
>Release: NetBSD 4.99.72
System: NetBSD black.invisible.ca 4.99.72 NetBSD 4.99.72 (GENERIC) #91: Sat Sep
20 20:27:12 EDT 2008
The wapbl "replaying log to disk" message uses the last mount point
instead of the current mount point in its printf, which scared
the heck out of me when mounting a removable drive that was the
root filesystem of another machine on my laptop.
Take the root filesystem from another drive and mount it on /mnt:
# mount /dev/ld0a /mnt
/: replaying log to disk
The printf in ffs_vfsops.c uses fs_fsmnt, but this is the
last mounted point, not the current mount point.
Any of the following messages would be much more informative (and
a lot less scary).
/dev/ld0a (last mounted on /): replaying log to disk
/dev/ld0a: replaying log to disk
/mnt: replaying log to disk
Main Index |
Thread Index |