David Given dg at
Thu Sep 14 07:15:03 EDT 2000

>Done. (I've also integrated the devfs changes.) I'm not sure that this is the 
>right way to test to see if a device exists, though.

It's not. Don't touch that patch with a barge-pole, I forgot to 
put_mtd_device() after probing for each device.

The new patch fixes that and also fixes the device numbering; you now get 
/dev/mtd/{0,0ro,1,1ro,...} for the read-only devices. Suggestions on naming, 

David Given
dg at
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch
Type: application/octet-stream
Size: 1561 bytes
Desc: patch
Url : 

More information about the linux-mtd mailing list