Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 02-14-2008, 08:08 AM   #1
LQ Newbie
Registered: Jan 2008
Location: Kolkata India
Distribution: fedora 6
Posts: 21

Rep: Reputation: 15
Unhappy Shud I mount my pen drive each time I log in Linux?

I have Fedora 6 installed in my pc. I can use my pen drive without manually mounting it. But in college, we have redhat ent 3/4 probably where we mount it manually each time we plug our pen drive in. The command we use is
mount /dev/sda1 /mnt/pdrive
Can we do something so that we dont need to mount it each time we plug it in? Can a change in /etc/fstab can do that? If it can, please tell me the command.
Old 02-14-2008, 08:15 AM   #2
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 360Reputation: 360Reputation: 360Reputation: 360
Modern distributions are shipping with udev/HAL, which makes automatic mounting of removable devices possible. Early distributions used a hodge-podge of different pieces of software to accomplish the same thing (to varying degrees of success), so it isn't surprising that the older Red Hat version doesn't automount.

To handle automatic mounting on a system that old, you will need to use autofs. autofs isn't exactly user-friendly, you will need to configure and run a daemon for it to work. If that is possible within the confines of your classes/school, then you should be fine.


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
How to mount the pen drive in linux machine sarathius Linux - Software 3 02-06-2008 07:01 AM
mount usb pen drive prashsharma Linux - Server 2 07-21-2007 11:49 PM
Mount pen drive at grub nitinbaldi Linux - General 1 03-18-2007 03:19 AM
can't mount usb pen drive with hotplug dori Slackware 8 03-02-2007 02:22 AM
How to mount the Pen drive Peter_APIIT Mandriva 4 02-20-2007 10:03 PM > Forums > Linux Forums > Linux - Newbie

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

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