How to mount and unmount a drive in linux

Posted On Feb 27, 2008 at 5:01 am

How To Mount A Drive In Linux

mount /dev/partitionId /some/mounting/point

The mounting point path must already be created with proper permissions. So a more likely flow of commands would be

mkdir /some/mounting/point chmod 777 /some/mounting/point mount /dev/partitionId /some/mounting/point

How To Unmount A Drive In Linux

umount /dev/partitionId

This command is very easy to type wrong. It is NOT unmount. Take another closer look if thats what you saw at first. It is umount -- no n here!

This topic has the following tags: