Tuesday, March 16, 2010

Making permanent mounts in Ubuntu 9.10

sudo gedit /etc/fstab
Add at the end of the file:
/dev/sda7 /media/work ext4 rw,user,auto 0 0
Number "/dev/sda7" can be found with df -h or in system monitor.
"/media/work" is the name of the folder that will be associated with device.
Other options are self-explaining.

P.S. Notice, that folder "/media/work" must exist and permission have to be set to allow appropriate actions for user. Otherwise, only "root" will be able to change something on the hdd.

No comments:

Post a Comment