On Tue, 22 Feb 2005 23:23:05 +0800, JM Ibanez <[EMAIL PROTECTED]> wrote:

> On a similar light, when I start my box[1] on runlevel 1, and 
> I try unmounting /usr, umount(8) complains that /usr is busy, 
> even if there are no processes (other than the shell). My 
> /etc/fstab has /usr partition mounted with defaults,ro,norecover; 
> the partition is XFS.

you might have some programs (e.g., the shell) that loads libraries
that are in /usr/lib or somewhere else in /usr/  maybe even in
/usr/local

to see what programs are reading what files, use lsof (you have
to be root to see everything).

grep for what you're looking for.

lsof | grep /usb 

> What can be the problem in this case? (I've had to resort 
> to booting with 'init=/bin/sh' just so my /usr doesn't get 
> mounted, and so I can do some maintenance work on /usr).

you can also boot into a liveCD (mandrake rescue is what i
use, but knoppix and other rescue CDs are fine too) and do
the maintenance from there.

tiger

-- 
Gerald Timothy Quimpo http://bopolissimus.blogspot.com
[EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]
Public Key: "gpg --keyserver pgp.mit.edu --recv-keys 672F4C78"
                         Mene sakhet ur-seveh
--
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to