Tuesday, May 4, 2010

How to mount the HDD in Linux

Configuration
A single partition would be, edit /etc/fstab
/dev/sda1 /mnt/usbhd1 auto defaults 0 0

Having created the entry in /etc/fstab, you need to create matching mount point in the actual filesystem.
# mkdir /mnt/usbhd1

You should now be able to mount your USB HDD with a command like
# mount /mnt/usbhd1

No comments:

Post a Comment