LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-06-2004, 10:52 PM   #1
thematrimix
LQ Newbie
 
Registered: Apr 2004
Posts: 24

Rep: Reputation: 15
automount


can anyone give a good site that tells how to use automount i am tired of typing it in
"mount /dev/hda5 /mnt/storage" it gets old i wnet ot redhat since iam one fedora but it sucked did not help i looked on google and could not find a good one

thanks for any help
 
Old 05-07-2004, 01:26 AM   #2
shubb
Member
 
Registered: Oct 2003
Location: San Francisco
Distribution: Slackware 13.37
Posts: 150

Rep: Reputation: 16
If you want it to always mount at boot, you can add it into /etc/fstab. add the following line.

/dev/hda5 /mnt/storage ext3 defaults 1 2

Change the ext3 with whatever filesystem the partition is formatted with.

If you're looking for more info than that, check out http://www.itc.virginia.edu/desktop/linux/mount.html
 
Old 05-07-2004, 02:16 AM   #3
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
That's probably because you mean to be looking for "supermount" and not "automount".

It's very unlikely that there's a whole site about auto-mounting, since the whole process consists of adding the "auto" option to the line in /etc/fstab which mounts the CD-ROM, so that it mounts on boot. Other than that, if the CD has to be changed, the drive has to be unmounted and remounted manually. man mount and man fstab have the best information on mount options available.

On the other hand, supermount is a kernel function which allows you to mount the drive "transparently", so that it mounts automatically, and you can remove and change the media inside normally (meaning by using the eject button and simply changing the media), without having to unmount and remount the drive.

Some readme's and how-tos about this include:

http://www.capaman.8m.com/supermount.html

http://wiki.gentoo-portage.com/HOWTO_Supermount

http://reviewed.homelinux.org/howtos/supermount/

http://linux.about.com/library/bl/op...ewbie4.2.8.htm

http://www.geocities.com/SiliconVall...unt.README.txt

http://www.linuxgazette.com/node/view/8417

You might also be referring to autofs (but probably are not, as autofs is not recommended for removable media drives). Here's a page about that:

http://freespace.sourceforge.net/gui...to/autofs.html

Hope this helps answer your question.
 
Old 05-07-2004, 10:12 AM   #4
thematrimix
LQ Newbie
 
Registered: Apr 2004
Posts: 24

Original Poster
Rep: Reputation: 15
wholy molly that will do it

Quote:
Originally posted by motub
That's probably because you mean to be looking for "supermount" and not "automount".

It's very unlikely that there's a whole site about auto-mounting, since the whole process consists of adding the "auto" option to the line in /etc/fstab which mounts the CD-ROM, so that it mounts on boot. Other than that, if the CD has to be changed, the drive has to be unmounted and remounted manually. man mount and man fstab have the best information on mount options available.

On the other hand, supermount is a kernel function which allows you to mount the drive "transparently", so that it mounts automatically, and you can remove and change the media inside normally (meaning by using the eject button and simply changing the media), without having to unmount and remount the drive.

Some readme's and how-tos about this include:

http://www.capaman.8m.com/supermount.html

http://wiki.gentoo-portage.com/HOWTO_Supermount

http://reviewed.homelinux.org/howtos/supermount/

http://linux.about.com/library/bl/op...ewbie4.2.8.htm

http://www.geocities.com/SiliconVall...unt.README.txt

http://www.linuxgazette.com/node/view/8417

You might also be referring to autofs (but probably are not, as autofs is not recommended for removable media drives). Here's a page about that:

http://freespace.sourceforge.net/gui...to/autofs.html

Hope this helps answer your question.

That will most definatly help thanks a ton i will read up on this information
 
Old 05-07-2004, 10:45 AM   #5
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
Thanks for the enthusiastic response, but I must say that on re-reading this thread, I have no idea why I assumed that you were referring to a CD-ROM or other removable media device. Maybe because that's the only time one generally has to type in mount commands relatively often.

To mount a regular hard drive partition at boot, you should just change the line in /etc/fstab to use the auto option (if it says "noauto") or add the auto option if it is not there (and read man mount and man fstab; you can do a lot more with /etc/fstab than you might think).
 
Old 05-07-2004, 10:56 PM   #6
thematrimix
LQ Newbie
 
Registered: Apr 2004
Posts: 24

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by motub
Thanks for the enthusiastic response, but I must say that on re-reading this thread, I have no idea why I assumed that you were referring to a CD-ROM or other removable media device. Maybe because that's the only time one generally has to type in mount commands relatively often.

To mount a regular hard drive partition at boot, you should just change the line in /etc/fstab to use the auto option (if it says "noauto") or add the auto option if it is not there (and read man mount and man fstab; you can do a lot more with /etc/fstab than you might think).
I got a laugh out if this thanks but is ok that you told me that info too i will rake all info ont he subject or anysubject i am sure i will want to do my cd rom as well so thank you for the information
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Automount: no more in LE LinxNew Mandriva 2 05-07-2005 09:21 AM
Automount help short101 Linux - Newbie 2 07-17-2004 08:23 PM
Help with automount please jihadcman Fedora 2 06-06-2004 06:32 PM
automount alaios Linux - Hardware 1 11-16-2003 11:47 AM
Automount jailbait Linux - Software 2 07-16-2003 04:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:49 PM.

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
Open Source Consulting | Domain Registration