Howto: Unmount a File System
There aren’t a lot of situations where you might want to manually unmount a file system, but sometimes memory sticks or CDRoms won’t unmount automatically for you, so you’ll need to do take care of that. To unmount a file system, you can identify it either by device name or mount point.
Consider a memory stick device called /dev/sda mounted on /media//usbstick. To unmount this stick, you can use either:
umount /dev/sda
or
umount /media/usbstick
Note that there is no ‘n’ in umount. Strange, but true.
You can also unmount all file systems of a specific type by using the -at switch:
umount -at msdos
will unmount all msdos file systems that you have the rights to unmount.
Related Stories
POSTED IN: How To
0 opinions for Howto: Unmount a File System
No one has left a comment yet. You know what this means, right? You could be first!
Have an opinion? Leave a comment: