mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* loop.o device busy after umount
@ 2002-07-24 18:59 Kareem Dana
  2002-07-24 19:19 ` Andrew Rodland
  2002-07-24 19:20 ` Richard B. Johnson
  0 siblings, 2 replies; 10+ messages in thread
From: Kareem Dana @ 2002-07-24 18:59 UTC (permalink / raw)
  To: linux-kernel

Hello,

I've noticed in kernel 2.4.18 that my loop module remains busy after I umount the device using it. For example

mount -t iso9660 -o loop file.iso /mnt
* loop module gets loaded
* lsmod shows "loop                    7952   1 (autoclean)"
* ps ax shows [loop0] process

then
umount /mnt
lsmod shows the same thing - specifically the use of loop as 1 and the [loop0] process remains open. Trying to rmmod loop gives me a device or resource busy error.

lsof gives the following output:

loop0     3765 root  cwd    DIR        8,1    4096         2 /
loop0     3765 root  rtd    DIR        8,1    4096         2 /

So I'm wondering why the loop module still remains in use after I umount the file that required it? Should it stay in use? Is there a way to change that behavoir or be able to rmmod the module without a reboot?

(Please CC replies to me personally)

Thank You
Kareem


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2002-07-25 11:09 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-24 18:59 loop.o device busy after umount Kareem Dana
2002-07-24 19:19 ` Andrew Rodland
2002-07-24 19:33   ` Kareem Dana
2002-07-24 19:36     ` Andrew Rodland
2002-07-24 19:41     ` Andries Brouwer
2002-07-24 20:03       ` Richard B. Johnson
2002-07-24 21:25         ` Andries Brouwer
2002-07-25 11:14           ` Richard B. Johnson
2002-07-24 20:15       ` Kareem Dana
2002-07-24 19:20 ` Richard B. Johnson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®