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:41:15 -0400
Cc: devfs mailing list <devfs@xxxxxxxxxxx>
In-reply-to: <Pine.LNX.4.30.0107271730480.16993-100000@biker.pdb.fsc.net>
References: <Pine.LNX.4.30.0107271717190.16993-100000@biker.pdb.fsc.net> <Pine.LNX.4.30.0107271730480.16993-100000@biker.pdb.fsc.net>
Sender: owner-devfs@xxxxxxxxxxx
Martin Wilck writes:
> 
> I just found out that it bis probably not a devfs problem at all: If
> I use ide-scsi rather than ide-floppy, the device is correctly
> detected as a removable device, and a node is created.

I know it's not a problem with the devfs core (i.e. the filesystem),
it's a problem with the driver not advertising itself as a removable
device properly.

> Remains to find out what ide-scsi does ...

Well, ide-disc and sd set the GENHD_FL_REMOVABLE flag, which
fs/partitions/check.c convert to DEVFS_FL_REMOVABLE. I note that
ide-floppy also sets GENHD_FL_REMOVABLE, but for some reason it
doesn't make it to devfs_register(). You're going to need to do some
tracing to figure this out. Make sure that devfs_register() is indeed
getting the DEVFS_FL_REMOVABLE flag (shove in a printk).

                                Regards,

                                        Richard....
Permanent: rgooch@xxxxxxxxxxxxx
Current:   rgooch@xxxxxxxxxxxxxxx

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