On Fri, 10 May 2002 00:45, Richard Gooch wrote:
> 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.
I'll have to do that later, I don't have much spare time at the moment.
> > 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?
2.4.18.
--
If you send email to me or to a mailing list that I use which has >4 lines
of legalistic junk at the end then you are specifically authorizing me to do
whatever I wish with the message and all other messages from your domain, by
posting the message you agree that your long legalistic sig is void.
|