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

Andre Hedrick (andre@linux-ide.org)
Mon, 19 Aug 2002 17:45:22 -0700 (PDT)


Patch is welcome here.

Drop it on AC and myself please.

On Mon, 19 Aug 2002, Kevin P. Fleming wrote:

> 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/
>

Andre Hedrick
LAD Storage Consulting Group

-
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/