LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Mount a second Hard drive (https://www.linuxquestions.org/questions/linux-hardware-18/mount-a-second-hard-drive-158754/)

darazman 03-16-2004 10:15 PM

Mount a second Hard drive
 
Hello,
I can mount a second drive with "mount /dev/hdb1 /path" but when i reboot i have to manually go run that command again. Now i only reboot the box about once every 3 weeks cuz of changing hardware but I'd like to know what to edit to not have to do this everytime,
Thanks people :)

njbrain 03-16-2004 10:50 PM

You can add a hard drive device to your desktop.
Noah

synaptical 03-16-2004 10:56 PM

Re: Mount a second Hard drive
 
edit /etc/fstab:

/dev/hdb1 /path ext3 auto,user,umask=022 0 0


replace ext3 with filesystem type. man fstab to see other options. :)

nrunge 03-16-2004 10:58 PM

making a hard drive device icon will make mounting "easier" by allowing you to right click and then choose mount but if you want it to happen every time you boot up just add it to /etc/fstab.

darazman 03-17-2004 06:50 AM

Thanks People! +)


All times are GMT -5. The time now is 03:02 AM.