On Friday 30 November 2001 21:04, you wrote:
> On ���, 2001-11-30 at 19:16, RA wrote:
> > Your mentioned patch is probably
> > linux-2.4.10-ac10-ide-floppy-devfs.patch, isn't it?
> > I'm not a C programmer or kernel expert, but after boot devfs only knows,
> > that there is a drive (without partitioning info).
> > The problem is, that mount does not trigger a new lookup for the drive
> > partitioning.
>
> When new device is registered, it is marked as removable and directory
> (/dev/ide/.../lun0/) holds removables count registered under it. In this
> case it is .../disc. When you lookup .../part4 and it is not found and
> directory has non-zero removables count it initiates rescan for parition
> information. That is theory :-)
>
> The bug in ide-floppy was that with empty drive *nothing* ever was
> registered, and for this reason lookup of .../part4 never triggered
> partition revalidation.
>
> The person who reported this bug also reported that it was fixed by
> above mentioned patch. I do not have any ide-floppy devices to test it
> now.
>
> You may want to look on lkml (about two days ago) for a ide-floppy patch
> from driver maintainer. It does it slightly differently. May be it works
> better. Or I can send it to you (I guess I have not yet deleted it :-)

I found the patch and will give it a try. Thanx!

>
> -andrej
>
> In theory praxis and theory are the same. In praxis they are different.

Reply via email to