Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Feb 2005 12:02:11 +0100
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Robert Watson <rwatson@freebsd.org>
Cc:        Niclas Zeising <lothrandil@n00b.apagnu.se>
Subject:   Re: unmount of /dev failed 
Message-ID:  <34029.1107342131@critter.freebsd.dk>
In-Reply-To: Your message of "Wed, 02 Feb 2005 10:12:25 GMT." <Pine.NEB.3.96L.1050202100610.68249C-100000@fledge.watson.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <Pine.NEB.3.96L.1050202100610.68249C-100000@fledge.watson.org>, Robert Watson writes:
>On Wed, 2 Feb 2005, Niclas Zeising wrote:
>
>> I am using current as of yesterday (20050201) morning CET (around 0800 i
>> think). When I shutdown or reboot my system (shutdown -[h,r] now) it
>> runs through the shut down sequence as usual, but right before it is
>> rebooting or the message about the shutdown complete comes up, when
>> unmouning dev, it complains about "unmount of /dev failed (BUSY)" before
>> shutting down as usual.  Is this a bug, and if so, common or known? Or
>> am I just being stupid somewhere and all is my fault? Just let me know
>> if I need to provide more information. 
>
>I'm guessing this started occuring because phk changed devfs not to permit
>forceable unmount due to some nasty issues involved (devfs_vfsops.c:1.41).
>And, for some reason, we presumably have a lingering reference to devfs --
>perhaps the root file system mounted from a devfs vnode, another feature
>introduced recently?  It's probably non-harmful, but probably also should
>be fixed by properly unwinding and unmounting devfs at the right moment in
>the shutdown to reflect changes in the boot order.

It's on my list, but since it doesn't hurt the on-disk filesystems it is
not a high priority.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



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