LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   AutoMounting (https://www.linuxquestions.org/questions/linux-hardware-18/automounting-59570/)

dkc_ace 05-13-2003 10:28 AM

AutoMounting
 
How can i get RedHat9 to auto mount my 80GB hdd?

jtshaw 05-13-2003 12:59 PM

you need to edit your /etc/fstab file.

Say you have one partition on that disk that is FAT32 and you want to mount it at /windows you would add a line like this:

/dev/hdd1 /windows vfat defaults 0 0

For more information and a list of all the arguments do a man fstab.

masand 05-13-2003 01:57 PM

first make a folder somewhere, where u want to mount ur partition say
u want to mount ur hda5 in a dir. at /mnt/e
so create a dir in /mnt and name it 'e'
then in ur fstab add this line
/dev/hda5 /mnt/e auto defaults 0 0
after u reboot ur system u will find ur hda5 in /mnt/e


All times are GMT -5. The time now is 06:44 AM.