unmount usb disk

Steven Stern subscribed-lists at sterndata.com
Wed Dec 26 15:42:49 UTC 2012


On 12/26/2012 09:29 AM, Maurizio Marini wrote:
> This is a fedora 17 x64.1  
> 
> I have attached my backup usb disk and now I would unmount it.
> I am unable to unmount it as some processes lock it.
> 
> 
> f17 16:19:37 root at tikal: / # lsof /mnt/
> COMMAND     PID   USER   FD   TYPE DEVICE SIZE/OFF    NODE NAME
> nepomukse 26624 maumar   15r   DIR   8,17    16384 4276225 /mnt/etc
> nepomukse 26624 maumar   16r   DIR   8,17     4096 4276258 /mnt/etc/avahi
> nepomukse 26624 maumar   28r   DIR   8,17     4096       2 /mnt
> 
> f17 16:22:11 root at tikal: / # fuser /mnt/
> /mnt:                26
> 
> 
> What it the safe way to umount it?
> I am tempted to pull usb cable and disconnect it, but i feel that some process
> will reclaim the device complaing until i reboot the notebook.
> 
> please advice
> 
> many thnx
> 
> -m
> 
> 
> 

Try "lsof /run/"

-- 
-- Steve


More information about the users mailing list