Re: plug in and out USB card reader several times, ran out of /dev/sd*
From: Alexander Clouter (alex_at_digriz.junk-this.org.uk)
Date: 07/23/05
- Previous message: Dances With Crows: "Re: plug in and out USB card reader several times, ran out of /dev/sd*"
- In reply to: Dan Jacobson: "plug in and out USB card reader several times, ran out of /dev/sd*"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 23 Jul 2005 10:36:01 -0000
Hi,
On 2005-07-22, Dan Jacobson <jidanni@jidanni.org> wrote:
> I notice when I plug a USB four in one flash card reader in and out
> several times, successively higher /dev files are assigned.
> sda sdb sdc sdd,
> sde sdf sdg sdh,...
> before long (sdh), I have exceeded the /dev/sd* files on the machine.
> That means I must reboot if I want to mount the device?
>
This really sounds like something is still mounted and you are effectively
ripping out the rug from under Linux's feet.
Before you unplug the USB device you should 'rmmod <driver>' for whatver
module it uses (look in 'lsmod' for a good guess).
Then unplug the device and see what happens. If it starts to behave, I think
you will find it will, then you can work out a more automagic approach.
Cheers
Alex
- Previous message: Dances With Crows: "Re: plug in and out USB card reader several times, ran out of /dev/sd*"
- In reply to: Dan Jacobson: "plug in and out USB card reader several times, ran out of /dev/sd*"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|