Martin Wilck writes:
> On Fri, 27 Jul 2001, Richard Gooch wrote:
>
> > Someone needs to write a patch to do this. Perhaps that can be you?
> I am trying to ...
>
> > BTW: if you load the driver with the floppy in, what device nodes are
> > created?
>
> A "disc" node in the respective controller/bus/target directory,
> and a /dev/hdX link.
OK. Does it appear in /dev/discs ?
> For some floppies, partition nodes are also created, but I doubt
> these are real (I see 2 partitions on a standard MS-DOS floppy ?).
I don't know. I don't have a LS120 to test with.
> I found that ide-probe.c fails to set the "removable" flag of the
> device, and hoped that fixing this would solve the
> problem. Unfortunately that's not the case.
Can you send a patch so I can see exactly what you did?
> It would be easier for me to create a patch if I knew what happens
> if "ide-cd" is loaded - in that case, devfs creates a node
> unconditionally even if no CD is inserted.
CD-ROMs don't have partitions. They are handled by the generic CD-ROM
driver and not the gendisk driver. So for a CD-ROM you just get the
device entry.
Regards,
Richard....
Permanent: rgooch@xxxxxxxxxxxxx
Current: rgooch@xxxxxxxxxxxxxxx
|