LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   hOwtO autOmOunt (https://www.linuxquestions.org/questions/linux-newbie-8/howto-automount-51189/)

fadain 03-22-2003 12: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.
Fadain.

david_ross 03-22-2003 01: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 01:30 PM

That's not automount in the sense this person is speaking I believe. I think they want something more like this:
http://hints.linuxfromscratch.org/hints/automount.txt
or this:
http://hints.linuxfromscratch.org/hints/supermount.txt

;)

Cool

david_ross 03-22-2003 01: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 01:42 PM

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

MasterC 03-23-2003 01: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

Cool


All times are GMT -5. The time now is 10:29 PM.