View Full Version : [SOLVED] How to umount?

August 4th, 2012, 10:49 AM

I do a
sudo fdisk -l

And can see my USB drive:

Disk /dev/sdb: 2063 MB, 2063597568 bytes
64 heads, 62 sectors/track, 1015 cylinders, total 4030464 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
/dev/sdb1 * 62 4027519 2013729 c W95 FAT32 (LBA)

Now I try to unmount it:

umount -f /dev/sdb1

But the disk is still there. Nothing happens.

What am I missing?

August 4th, 2012, 11:34 AM
It won't unmount if it is in use and fdisk is not the way to check whether the device is mounted. Try the mount command:
$ sudo mount

August 4th, 2012, 11:59 AM
You need to unmount it from the location it is mounted to, rather than the device itself.

ie. umount /mnt

If the filesystem is busy and you want to force it to umount:

umount -l /mnt