lkml.org 
[lkml]   [1997]   [Mar]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: at halt/reboot: umount: device /dev/hda5 busy (=/usr)
Date
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

\
 
 \ /
  Last update: 2005-03-22 13:39    [W:0.297 / U:0.380 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site