Joel Granados wrote:
Hello list.

The question is: why does parted call renumber partition funcion every
time it removes/deletes a partition?
Hi Joel,

Perhaps it has something to do with MSDOS partition tables and logical partitions?

When a logical partition is deleted, it affects the partition numbers of each logical partition that follow in the chain.

For example, an extended partition contains four logical partitions A, B, C, and D. These logical partitions are accessed by the operating system as follows:

   *  Partition A as /dev/sda5.
   *  Partition B as /dev/sda6.
   *  Partition C as /dev/sda7.
   *  Partition D as /dev/sda8.

If partition B is deleted, then the remaining logical partitions will be accessed by the operating system as follows:

   *  Partition A as /dev/sda5.
   *  Partition C as /dev/sda6. Note the change in device name.
   *  Partition D as /dev/sda7. Note the change in device name.

This is just a guess since I haven't looked into the renumber partition function. :-)

Regards,
Curtis Gedak

_______________________________________________
parted-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/parted-devel

Reply via email to