Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Zombie loop devices
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
orionbelt
Apprentice
Apprentice


Joined: 05 Apr 2006
Posts: 179

PostPosted: Wed Jul 28, 2010 10:33 am    Post subject: Zombie loop devices Reply with quote

Hello savvies,

Upon noticing this on my system:
Code:
% losetup -f
/dev/loop/3

I wondered who owns loops 0, 1 and 2:
Code:
% losetup -a
% ps x | grep loop
22381 ?        S<     0:00 [loop0]
22408 ?        S<     0:00 [loop1]
22565 ?        S<     0:00 [loop2]
% lsof -R |grep loop
loop0     22381     2       root  cwd       DIR                8,3      4096          2 /
loop0     22381     2       root  rtd       DIR                8,3      4096          2 /
loop0     22381     2       root  txt   unknown                                         /proc/22381/exe
loop1     22408     2       root  cwd       DIR                8,3      4096          2 /
loop1     22408     2       root  rtd       DIR                8,3      4096          2 /
loop1     22408     2       root  txt   unknown                                         /proc/22408/exe
loop2     22565     2       root  cwd       DIR                8,3      4096          2 /
loop2     22565     2       root  rtd       DIR                8,3      4096          2 /
loop2     22565     2       root  txt   unknown                                         /proc/22565/exe

All commands were executed as root.

Any idea who owns loops 0-2 and/or how i may get them back?

Thanks! :)

EDIT:

And also:
Code:
% losetup -d /dev/loop/0 /dev/loop/1 /dev/loop/2
loop: can't delete device /dev/loop/0: No such file or directory
loop: can't delete device /dev/loop/1: No such file or directory
loop: can't delete device /dev/loop/2: No such file or directory
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum