Re: at halt/reboot: umount: device /dev/hda5 busy (=/usr)

Matthias Urlichs (smurf@noris.de)
7 Mar 1997 08:05:12 +0100


Eirik Fuller wrote:
:
: I recently made an interesting discovery. I was trying to umount /usr
: from a rescue disk, and got the same error (device busy). I was able to
: get past that with "LD_LIBRARY_PATH=/lib umount /usr", i.e. telling the
: dynamic linker to ignore /usr prevented /usr from being busy during the
: umount. Later, I noticed that I was able to umount /usr even without
: specifying LD_LIBRARY_PATH, after running ldconfig with /usr unmounted.
:
Obviously, something loaded a library from /usr. You can do "ldd /bin/umount"
to check which libraries are loaded from where.

Myself, I got tired about all this nonsense. I just put "umount -o remount
-r /usr" after the "umount -a" line; that has stopped all the nonsense.

-- 
"(Humanity) is the measure of all things."
	-- Protagoras
-- 
Matthias Urlichs         \  noris network GmbH  /  Xlink-POP Nürnberg 
Schleiermacherstraße 12   \   Linux+Internet   /   EMail: urlichs@noris.de
90491 Nürnberg (Germany)   \    Consulting+Programming+Networking+etc'ing
   PGP: 1024/4F578875   1B 89 E2 1C 43 EA 80 44  15 D2 29 CF C6 C7 E0 DE
       Click <A HREF="http://info.noris.de/~smurf/finger">here</A>.    42