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

From: Stanislav Brabec (
Date: Sun Aug 18 2002 - 13:56:20 EST

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

Older kernels have also this behavior.

Fix: Create .../disc entry in all cases, even if no disc is present.

Stanislav Brabec
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Fri Aug 23 2002 - 22:00:15 EST