devfs
[Top] [All Lists]

Re: dsvfs & ide-floppy ?

To: Martin Wilck <Martin.Wilck@xxxxxxxxxxxxxxxxxxx>
Subject: Re: dsvfs & ide-floppy ?
From: Richard Gooch <rgooch@xxxxxxxxxxxxxxx>
Date: Fri, 27 Jul 2001 11:30:41 -0400
Cc: devfs mailing list <devfs@xxxxxxxxxxx>
In-reply-to: <Pine.LNX.4.30.0107271717190.16993-100000@biker.pdb.fsc.net>
References: <200107271232.f6RCWSw02538@mobilix.ras.ucalgary.ca> <Pine.LNX.4.30.0107271717190.16993-100000@biker.pdb.fsc.net>
Sender: owner-devfs@xxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>