Andrew Lunn wrote: > Hi Folks > > A while back Frank Pagliughi provided a patch for the IDE driver which > amongst other things renamed the disk drives. The change would be > > /dev/hda -> /dev/disk0 > /dev/hdb -> /dev/disk1 > etc > > This makes the IDE driver consistent with the FATFS packages which > also uses the same naming convention. The "Elatec v850 development > board disk driver" also uses this naming scheme. However the MMC disk, > synthetic disk and fileio package documentation use the /dev/hd > scheme. > > Overall we are not consistent. We could: > > 1) leave it all as it is. > 2) make it consistent, changing to: > a) /dev/hd? > or > b) /dev/disk?
> Changing will probably lead to some short term breakage as with any > renaming of objects, but in the long term consistency is always good. > > I would suggest making the change to /dev/disk everywhere, but what do > others think? I think the best situation is to have each name for each device driver class be unique, otherwise by default they can't co-exist. So maybe you could say /dev/hda should be /dev/idedisk0 or something like that (just /dev/ide0 could refer to a bus instance, rather than disk). Although I think possibly these days it's well enough accepted that /dev/hda refers to an IDE disk (like /dev/sda refers to a SCSI disk) that it could probably be left as-is. The other disks should probably be renamed to something unique though IMHO, e.g. /dev/synthdisk0, /dev/mmcspi0 Jifl -- eCosCentric Limited http://www.eCosCentric.com/ The eCos experts Barnwell House, Barnwell Drive, Cambridge, UK. Tel: +44 1223 245571 Registered in England and Wales: Reg No 4422071. ------["Si fractum non sit, noli id reficere"]------ Opinions==mine -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
