Wednesday, November 5, 2008

lazy unmount, even when device is busy !

I was reading a short article on usb disk unmount problem, someone in comments remind the idea of Lazy unmount option i.e.

if you see something like this:

# umount /media/usbdisk/
umount: /media/usbdisk: device is busy

do this:

# umount -l /media/usbdisk/

the trick is behind -l option , LAZY UNMOUNT !


No comments: