LinuxQuestions.org
Review your favorite Linux distribution.
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 01-29-2009, 03:23 AM   #1
rohit_k
LQ Newbie
 
Registered: Oct 2007
Location: Pune
Distribution: RHEL, SOLARIS, SUSE
Posts: 20

Rep: Reputation: 1
need automount help


Hi,

I want configure automount such that i could use 2 pen drives or 2 usb-floppy drives or 1 pen + 1 usb-floppy drive simultaneously.

I configured /etc/permanent.devices files as follows :

Code:
usbstore-0        -fstype=auto,fmask=0000,dmask=0000      :/dev/sda1
usbstore-1        -fstype=auto,fmask=0000,dmask=0000      :/dev/sdb1
usbfloppydrive-0        -fstype=auto,fmask=0000,dmask=0000      :/dev/sda
usbfloppydrive-1        -fstype=auto,fmask=0000,dmask=0000      :/dev/sdb
and automounted it during boot time as :

Code:
/usb/sbin/automount --timeout 5 /auto file /etc/permanent.devices
Now whenever i insert 2 pen drives they are readily available for use. Similarly whenever i insert 2 usb-floppy drives they are available for use.

But when i insert 1 pen drive and 1 floppy drive, second device is not accessible ( either pen drive or floppy ).

Can someone figure out why ?

Thanks,
Rohit
 
Old 01-29-2009, 04:41 AM   #2
wet-willy
Member
 
Registered: Dec 2008
Posts: 44

Rep: Reputation: 17
I don't use the distributions listed in your profile, but do use Debian and Mandriva, Ubuntu, sometimes Fedora (hate that one as it's a hog). I never go through all the hassel you went through, I just plug them in (pen drive, usb floppy) whenever and in whatever order, as many as I want (got 3 pen drives), and they are always readily accessible soon after plugging them in.
Maybe your problem is you never tried the same before playing with configuration to see if it would work like in my case.
And the best way to get smarter will always be accomplished by reading in an environment that allows you to comprehend what you read, not by playing.

Oh!
And don't be reading comics or fictitious crap and/or brainstorming novels, that can actually make a serial killer out of you. Read the facts.
Playing is akin to two stags butting heads...just honing masculinity, trying to impress the opposite sex.

Last edited by wet-willy; 01-29-2009 at 04:56 AM.
 
Old 01-29-2009, 04:56 AM   #3
rohit_k
LQ Newbie
 
Registered: Oct 2007
Location: Pune
Distribution: RHEL, SOLARIS, SUSE
Posts: 20

Original Poster
Rep: Reputation: 1
I'm trying to fix this in some different customized OS.

Ok..pls me know why usb-floppy is referred as /dev/sda or /dev/sdb.
I can mount it by doing
# mount /dev/sda /mnt

Should'nt it be sda[1-9] ?
# mount /dev/sda[1-9] /mnt
 
  


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
Unable to Automount ISO image unless automount is running in foreground! swests Linux - General 4 05-22-2009 12:47 AM
CentOS 5.2 Automount isos in fstab \other methods that work?automount iso Frankly3D Linux - General 6 07-13-2008 12:34 PM
Automount RySk8er30 Mandriva 13 08-22-2005 06:22 AM
automount ptawe Debian 1 07-31-2005 01:09 PM
Help with automount please jihadcman Fedora 2 06-06-2004 06:32 PM

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

All times are GMT -5. The time now is 05:53 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