Linux-Noob Forums
AutoMount second drive - Printable Version

+- Linux-Noob Forums (https://www.linux-noob.com/forums)
+-- Forum: Linux Noob (https://www.linux-noob.com/forums/forum-3.html)
+--- Forum: Tips and Tricks (https://www.linux-noob.com/forums/forum-59.html)
+---- Forum: Filesystem Management (https://www.linux-noob.com/forums/forum-26.html)
+---- Thread: AutoMount second drive (/thread-3475.html)



AutoMount second drive - enigma - 2004-04-10

Ok I formatted my second HD to ext3, now I have a few questions. When I goto locate the drive it tells me there is no viewer able to view it, now i know if i were to login root i prolly could but i would like to be able to view it with the normal user account, also i want to make the drive read and write, and the last thing is I would like some help on auto mounting the hard drive i know its somthing to do with vi /etc/fstab but not quite sure on how to edit it correctly... thnx guys



AutoMount second drive - TormentoR - 2004-04-12


Add the following line to /etc/fstab:

LABEL=yournewdrivelabel /mountpoint ext3 defaults 1 2

 

use 'e2label' to give your ext3 partition a label.

 

create the /mountpoint dir and chmod it so your user account has access, that way you can add/remove/view files as a user.

 

gl