devfs
[Top] [All Lists]

Re: dsvfs & ide-floppy ?

To: Richard Gooch <rgooch@xxxxxxxxxxxxxxx>
Subject: Re: dsvfs & ide-floppy ?
From: Martin Wilck <Martin.Wilck@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 27 Jul 2001 17:23:15 +0200 (CEST)
Cc: Martin Wilck <Martin.Wilck@xxxxxxxxxxxxxxxxxxx>, devfs mailing list <devfs@xxxxxxxxxxx>
In-reply-to: <200107271232.f6RCWSw02538@mobilix.ras.ucalgary.ca>
Sender: owner-devfs@xxxxxxxxxxx
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.

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

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.

Cheers, Martin

-- 
Martin Wilck     <Martin.Wilck@xxxxxxxxxxxxxxxxxxx>
FSC EP PS DS1, Paderborn      Tel. +49 5251 8 15113




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