Naming conventions for disk drives

Juergen Beisert jbe at pengutronix.de
Fri Nov 20 03:47:25 EST 2009


On Freitag, 20. November 2009, Jean-Christophe PLAGNIOL-VILLARD wrote:
> On 15:47 Wed 18 Nov     , Juergen Beisert wrote:
> > Hi,
> >
> > are there any preferences how to name a disk drive? Currently I'm
> > using "disk". So, it looks like this:
> >
> > uboot:/ devinfo
> >
> > devices:
> > |----serial_ns165500
> >
> > [...]
> >
> > |----disk0 (disk0, disk0.0, disk0.1, disk0.2, disk0.3, env0)
> >
> > "disk0" is the whole drive, "disk0.0"..."disk0.3" are the partitions.
> >
> > Any better ideas?
>
> why not keep the kernel convention?

'hdx' or 'sdx'? As long as I'm using the BIOS for the disk drive 
detection/access I cannot distinguish if it is a SCSI like or simple IDE disk 
drive.

jbe

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | Phone: +49-8766-939 228     |
Vertretung Sued/Muenchen, Germany             | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686              | http://www.pengutronix.de/  |




More information about the barebox mailing list