Skip to contentSkip to conversation

cfdisk trips on out of order logical partitions

DISCUSSION Phillip Susi 2 participants 3 messages Nov 14, 2013 – Feb 6, 2014 Util-Linux package

lore
Share & tools
lore
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

cfdisk's partition parsing logic is flawed in that it assumes they are in order, so if you have out of order partitions it complains that they overlap.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJShRpCAAoJEJrBOlT6nu75jiYIAJJrq7QAm0uvYUqXlrH9PaD4 EKNdda9uoDdQ77ZbT69X3/53SLq/pG3MPrnKvrJvZ3O1xELNoxiqddxDYoYc+gR1 09EKiFoF+3ifMoK+h3DrRVBGyBsoJoKD47EwSBK6CehVdvfUZJifkq3Shs6YhURT PukmY3r5jfWGWi/5FRNXu75zR8IJHlgH1Y9MIk7RsIO2rt8WMWAblSxu5W1SLH6G 9ChxK7hiEebxLtimIACzcie7CmE5ZdwDKo8bM2OLeAxt4XCqgzDM59p0wJX0v/h1 oIGM7EASTFFB/iabZZSoBlNblHnS5Mx6hA7+WcZ6VNmccX72fU8hqStBL90USSE= =ZNSa
-----END PGP SIGNATURE-----

maintainer
#1 lore raw
Quoted 6 lines · Phillip Susi

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

cfdisk's partition parsing logic is flawed in that it assumes they are in order, so if you have out of order partitions it complains that they overlap.

I currently don't plan to fix anything in cfdisk and sfdisk. I'd like to rewrite the code to use libfdisk to share code between all the fdisks.

Karel

Signature · 2 lines
 Karel Zak  <[email protected]>
 http://karelzak.blogspot.com
maintainer
#2 lore raw
In reply to Phillip Susi
Quoted 3 lines · Phillip Susi

cfdisk's partition parsing logic is flawed in that it assumes they are in order, so if you have out of order partitions it complains that they overlap.

Note that I'm working on new cfdisk version and out-of-order partition will be definitely supported.

Karel

Signature · 2 lines
 Karel Zak  <[email protected]>
 http://karelzak.blogspot.com