LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-22-2003, 01:39 PM   #1
fadain
LQ Newbie
 
Registered: Mar 2003
Location: Pakistan
Distribution: Redhat
Posts: 6

Rep: Reputation: 0
Question 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.
 
Old 03-22-2003, 02:05 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
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.

Last edited by david_ross; 03-22-2003 at 02:14 PM.
 
Old 03-22-2003, 02:30 PM   #3
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
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
 
Old 03-22-2003, 02:37 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
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
 
Old 03-22-2003, 02:42 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
nah, no automount, just wants to be told what fstab is.... peasy!
 
Old 03-23-2003, 02:56 AM   #6
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
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

Cool
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Howto disable automount feature in Mandrake 10.1 MJatIFAD Linux - General 6 09-27-2005 04:26 AM
to automount or not.. byte.chaser Debian 8 06-27-2005 04:42 PM
Howto set permissions and automount for new drive? andymadigan Debian 4 08-02-2004 11:17 PM
automount spank Linux - Newbie 1 09-02-2003 04:43 PM
Howto update KDE and howto switch off kdm/gdm Canaris Linux - Software 1 06-15-2003 09:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration