LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-25-2005, 07:42 PM   #1
mazzo
Member
 
Registered: Jun 2003
Location: Thames Valley, UK
Distribution: RedHat from 5 -9, Fedora, Ubuntu, Centos 3 - 7, Puppy Linux
Posts: 140

Rep: Reputation: 15
USB Multicard reader problem


Hi

I have added a usb multicard reader to my system. I have set up /etc/fstab to allow users to mount different flash cards.

All works perfectly well - with a right click in gnome I see the list of mounts and can mount them. However when I unmount a drive and then change the card for a different one, if I try to mount the new card, it is not the same /dev/sd?? reference. I can manually mount it through a bit of trial and error and get to the fight letter.

In other words what was /dev/sdd1 goes to /dev/sdh1. Why? And is there a way I can reset it so that the refs in fstab are right and it can be mounted using right click in gnome?

I am using Fedora Core 1 with up to date kernel.

Thanks
 
Old 02-26-2005, 06:27 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
it's not the same as there's no persistent data about that configuration. the best way to sort this out is to use udev to assign device entries. you'll never stop /dev/sd?? being unreliable depending on which card you insert first etc... BUT it's even better as you CAN guarentee that /dev/mmc_card and /dev/sd_card and /dev/xd_card WILL be relaible, and they have nice clever names to work with it. these will actaully be symlinks back to /dev/sd?? but created by dynamic rules, so you can ignore the /dev/sd?? entries for ever...

this site should help you

http://www.reactivated.net/udevrules.php

BUT.. not using udev? not aware of a nicer way around it really... if this is on the rh73 system (and rh9 too i think) then unless you want to install a newer kernel and use udev instead of devfs (or maybe even a flat /dev/ system on a real old machine i don't believe you'll have an option that will really do what you want. remember these cheap , disposable devices just didn't exist a few years back, so there wasn't any need to be able to hanle them.
 
  


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
USB Card Reader problem DoddyUK Linux - Hardware 8 10-10-2010 07:05 PM
multicard reader problem in Slack 10.2 surfer63 Slackware 4 10-31-2005 12:31 PM
Sandisk multicard reader won't read xD cards skubik Linux - Hardware 1 09-13-2005 11:42 AM
MUlticard reader not correctly detected leodp Linux - Hardware 2 09-05-2005 06:26 AM
Interting Problem with USB card Reader acidraven Slackware 0 06-18-2004 04:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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