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
|