Russell Coker writes:
> When I insert a pcmcia IDE device it becomes /dev/discs/disc1 (disc0 is the
> internal hard drive).
>
> Then I remove it and re-insert it and it becomes /dev/discs/disc2!
That's not supposed to be happening! Can you verify that:
- devfs_(de)alloc_unique_number() is being called upon removal/insert
- the right numbers are being passed in to these calls.
> If the disc gets the first available number assigned to it then that
> would be OK. If /dev/ide/host2/bus0/target0/lun0 gets permanently
> assigned to be /dev/discs/disc2 (until the next reboot) then that
> would also be OK.
>
> But having it just get an incrementally higher number on each
> insertion is IMHO a bug. It's also really annoying when I have
> several flash-cards to read and I have to type a different mount
> command every time instead of "!mount".
It's broken somehow. Odd, since this has been tested. Grrrr.
> This is in devfsd 1.3.25.
It's not the fault of devfsd. This is handled by the kernel. Which
kernel version is it?
Regards,
Richard....
Permanent: rgooch@xxxxxxxxxxxxx
Current: rgooch@xxxxxxxxxxxxxxx
|