Automount partition at boot
I'm sure this question has been asked (and answered) a thousand times before, but my searches come up nil. I need my storage partition to be mounted at boot, with user read/write permissions. The storage partition is hda5.
# Pluggable devices are handled by uDev, they are not in fstab
/dev/hda1 / ext3 defaults,noatime 1 1
/dev/hda6 swap swap sw,pri=1 0 0
proc /proc proc defaults 0 0
devpts /dev/pts devpts mode=0622 0 0
# Dynamic entries below
/dev/hda5 /mnt/hda5 ntfs-3g noauto,users,gid=users,dmask=002,fmask=113,relatime 0 0
/dev/cdrom /media/cdrom udf,iso9660 noauto,users,exec,ro 0 0
/dev/hdb /media/cdrom udf,iso9660 noauto,users,exec,ro 0 0
The /mnt/hda5 directory also has to exist, it will not be created dynamically. And I normally have my line setup as such:
Thanks, I new it would end up being something stupid and intuitive.
|All times are GMT -5. The time now is 05:06 PM.|