Re: ide-floppy & devfs - /dev entry not created if drive is empty

Kevin P. Fleming (kpfleming@cox.net)
Mon, 19 Aug 2002 17:04:25 -0700


There are patches at http://members.cox.net/kpfleming/ide-floppy to
resolve this.

Stanislav Brabec wrote:
> Hallo Paul Bristow,
>
> I have tested ide-floppy on my Linux 2.4.19 with ATAPI ZIP 100. I am
> using devfs.
>
> I found following problem:
>
> If module ide-floppy is loaded and no disc is present in the drive,
> /dev/ide/host0/bus1/target1/lun0/disc entry is not created. Later
> inserted media cannot be checked in any way, because no /dev entry
> exists.
>
> Older kernels have also this behavior.
>
> Fix: Create .../disc entry in all cases, even if no disc is present.
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/