[lkml]   [1999]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Parition Slices
    Adam Sulmicki writes:
    > Richard Gooch writes:
    > ->> I did took there a brief look, and I see something like:
    > ->>
    > ->> | /dev/hda /dev/ide/hd/c0b0t0u0
    > ->> | /dev/hdb /dev/ide/hd/c0b0t1u0
    > ->>
    > ->> But I still don't see how does it make sure that it does the "Right Thing"
    > ->> and that the /dev/hdaX won't get renamed to some other id when there
    > ->> appears a new parition/slice.
    > ->
    > ->The intent with devfs is to append "s#" for BSD slice numbers to solve
    > ->this problem. The normal (primary&extended) partitions use "p#" (with
    > ->the existing partition number scheme). So in the end, you could have
    > ->"c#b#t#u#p#s#".
    > You seem to be suggesting to use the same ID for primary and extended
    > paritions.

    Erm, yes and no.

    > I'm kind of afraid that this approch could cause the "ID"s to jump if I
    > slightly modify layout of the disk, am I wrong?

    Well, yes, but not in the way you describe.

    > Say I have :
    > primary 1 p1
    > primary 2 p2
    > extended
    > ext 1 p4
    > ext 2 p5
    > primary 4 p3

    No, you have 4 main partitions, which may be either "primary" or
    "extended". They are numbered 1 to 4. Changing a primary to an
    extended does not change the partition numbers for the main

    The subpartitions within extended partitions are called logical
    partitions, and they start counting from 5. There is the potential for
    these to be renumbered, if you change a primary partition to an
    extended partition (where there is another extended partition after
    it). The logical partitions in the second extended partition will be

    So, the only problem you should have is if you create *two* extended
    partitions and populate them both. While this is a potential problem,
    I don't think it really matters because there isn't much point to
    having multiple extended partitions. A single extended partition can
    hold plenty of logical partitions.



    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:50    [W:0.024 / U:8.184 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site