NetBSD-Bugs archive

[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



>Number:         39609
>Category:       kern
>Synopsis:       wapbl "replaying log to disk" message is potentially misleading
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 22 11:45:00 +0000 2008
>Originator:     Jared D. McNeill
>Release:        NetBSD 4.99.72
>Organization:
        
>Environment:
        
        
System: NetBSD black.invisible.ca 4.99.72 NetBSD 4.99.72 (GENERIC) #91: Sat Sep 
20 20:27:12 EDT 2008 
jmcneill%black.invisible.ca@localhost:/export/home/jmcneill/branches/HEAD/src/sys/arch/amd64/compile/GENERIC
 amd64
Architecture: x86_64
Machine: amd64
>Description:
        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.
>How-To-Repeat:
        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.
>Fix:
        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

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index