-   Linux - General (
-   -   If hda1 is (0,0), What Are hda2, hda5, and hda6? (

rrrssssss 01-21-2007 04:50 AM

If hda1 is (0,0), What Are hda2, hda5, and hda6?
Hello forum,

I have four partitions on my first hard drive and they are named hda1, hda2, hda5, and hda6. But I need to know how to name them using the alternative naming convention, such as (0,0) (0,1) (0,2), etc.

In other words, I am in the process of editing a file that requires the first partition of the first hard drive to be (0,0) instead of hda1 (and so on). If hda1 is the same as (0,0), what would hda2, hda5, and hda6 be called using this same naming convention?

Thanks much in adance,

varun_shrivastava 01-21-2007 05:07 AM

hda1 = (0,0) ie 0th harddisk , 1st partition
hda2 = (0,1) ie 0th harddisk , 2nd partition
hda3 = (0,2) ie 0th harddisk , 3rd partition
hda2 = (0,4) ie 0th harddisk , 4th partition

colucix 01-21-2007 05:51 AM

Think about this as a zero-based indexing: the first physical disk is the 0th, the second is 1st, and so on. The same for partitions.

All times are GMT -5. The time now is 09:43 PM.