This example mounts the first partition of the first disk so it is available whenever you start your computer. Edgy does this by default but technique is useful for Dapper or Breezy or other distros.
sudo mkdir /media/hda1note that you can mount the device anywhere and call it whatever you want. It may be a good idea to stick with the conventional locations of either /mnt/ or /media/. The hda1 part means hard drive "a" partition "1"
sudo cp /etc/fstab /etc/fstab.bak
sudo kate /etc/fstab
sudo mount -ato refresh the fstab.