LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   automount (http://www.linuxquestions.org/questions/linux-general-1/automount-178786/)

thematrimix 05-06-2004 11:52 PM

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

shubb 05-07-2004 02:26 AM

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

motub 05-07-2004 03:16 AM

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.

thematrimix 05-07-2004 11:12 AM

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

motub 05-07-2004 11:45 AM

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).

thematrimix 05-07-2004 11:56 PM

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


All times are GMT -5. The time now is 05:31 AM.