-   Linux - Newbie (
-   -   hOwtO autOmOunt (

fadain 03-22-2003 01:39 PM

hOwtO autOmOunt
i am using rh 8.0, i know that there are somethings called autofs and automount which can automatically mount something. I dont know how to use them. Please dont go into detail, just tell me all the commands to mount my hda1 into /mnt/windows automatically. Because everytime i boot with rh 8.0, i have to goto terminal, and as root have to type mount -t vfat /dev/hda1 /mnt/windows.

david_ross 03-22-2003 02:05 PM

Put an entry in /etc/fstab like:
/dev/hda1 /mnt/windows vfat defaults 0 0

assuming "/mnt/windows" exists just reboot and that's it.

Type "man fstab" for full usage instructions.

MasterC 03-22-2003 02:30 PM

That's not automount in the sense this person is speaking I believe. I think they want something more like this:
or this:



david_ross 03-22-2003 02:37 PM

I don't think they want automount - I would be surprised if the windows partition was on removable media - I think they just want the partition to be visible on boot.

Then again - I could be wrong for a second time :o

acid_kewpie 03-22-2003 02:42 PM

nah, no automount, just wants to be told what fstab is.... peasy!

MasterC 03-23-2003 02:56 AM

Main reason I was/am thinking they wanted more on automount specifically is because they should easily enough be able to search the site on this, and should have somewhat of an idea if they are already command line mounting the drive. ;) However, re-reading (and this time completely ;) ) their original post, I now see you were definitely correct :D


All times are GMT -5. The time now is 04:58 AM.