Naming conventions for disk drives
Jean-Christophe PLAGNIOL-VILLARD
plagnioj at jcrosoft.com
Fri Nov 20 04:31:56 EST 2009
On 09:47 Fri 20 Nov , Juergen Beisert wrote:
> 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.
I think sdx will the best as it's now use for usb, scsi, sata etc...
hdx is IMHO historical for IDE
Best Regards,
J.
More information about the barebox
mailing list