Quantcast
Channel: Bert blogt » fedora
Viewing all articles
Browse latest Browse all 10

how to unmount busy devices

$
0
0

this is one I always forget. So I’ll write it down for myself :-)

There are 2 ways to unmount a device when it’s busy.

1. the clean way:

# fuser -m /media/attached
/media/attached/:        1249c

ps auxw | grep 1249
bert      1249  0.2  0.3 1052124 30760 ?       Sl   Sep18   2:19 python /usr/bin/revelation

revelation is what is keeping you away from unmounting the drive. just kill it :-)

2. the not so clean way

there is another easier way, which basicly just ditches the drive and then takes care of the problems afterwards.

umount -l /dev/sdc1

cheers


Viewing all articles
Browse latest Browse all 10

Trending Articles