devfs
[Top] [All Lists]

Re: Removable media (ZIP drive)

To: "Borsenkow Andrej" <Andrej.Borsenkow@xxxxxxxxxxxxxx>
Subject: Re: Removable media (ZIP drive)
From: "Kevin P. Fleming" <kevin@xxxxxxxxxxxxx>
Date: Fri, 12 Apr 2002 10:02:27 -0700
Cc: "Dragan Stanojevic - Nevidljivi" <invisible@xxxxxxxxxxxxxxx>, "devfs mailing list" <devfs@xxxxxxxxxxx>
Organization: LSG, Inc.
References: <3CB620FE.5020301@xxxxxxxxxxxxxxx> <002401c1e194$554d1910$6caaa8c0@KPFW2K> <1018630726.3081.6.camel@xxxxxxxxxxxxxxxxxxxxx>
Sender: owner-devfs@xxxxxxxxxxx
Actually, that patch is long gone. After working with Richard, the proper
solution to this problem (and others was found). If you take a look at the
patches on http://members.cox.net/kpfleming/ide-floppy, I think you'll find
that things are being done properly now.

----- Original Message -----
From: "Borsenkow Andrej" <Andrej.Borsenkow@xxxxxxxxxxxxxx>
To: "Kevin P. Fleming" <kevin@xxxxxxxxxxxxx>
Cc: "Dragan Stanojevic - Nevidljivi" <invisible@xxxxxxxxxxxxxxx>; "devfs
mailing list" <devfs@xxxxxxxxxxx>
Sent: Friday, April 12, 2002 9:58 AM
Subject: Re: Removable media (ZIP drive)


В Птн, 12.04.2002, в 00:06, Kevin P. Fleming написал:
> I have patches against the latest 2.4.x kernel to support what you want (I
> have the same drive).


Your patche is broken w.r.t. current kernel. I have mailed you but never
got any reply.

Your patch registers .../disc inside of ide-floppy driver. Next, when
system checks for partitions (somewhere inside grok_partitions or in
function called thereof), it finds that .../disc already exists and
exits. It results in partitions not being properly registered with
devfs.

This was workaround that is not needed any more. Current kernel contains
fix from Richard that will always register .../disc for removable even
if media size is zero. So the only thing driver has to do is to pass
zero for media size that will result in .../disc being correctly
registered and will prevent other error messages skipping attempt to
read partition table.

-andrej





<Prev in Thread] Current Thread [Next in Thread>