ce6563fae4
- Add libparted function to query maximum partition length and start addresses for a given disk (#533417) - Add per disk flags functions from upstream, this is the way upstream has implemented the disable cylinder alignment functionality - Add --align cmdline option to specify how to align new partitions see the parted man page for details (#361951) - Make the default alignment for new partitions optimal (#361951) - When cylinder alignment is disabled, allow use of the last (incomplete) cylinder of the disk (#533328) - Don't crash when printing partition tables in Russian (#543029) - Make parted work correctly with new lvm (#525095)
12 lines
479 B
Diff
12 lines
479 B
Diff
--- parted-1.9.0/parted/parted.c~ 2009-12-15 18:44:00.000000000 +0100
|
|
+++ parted-1.9.0/parted/parted.c 2009-12-15 19:20:14.000000000 +0100
|
|
@@ -133,7 +133,7 @@ int pretend_input_tty = 0;
|
|
int opt_machine_mode = 0;
|
|
int disk_is_modified = 0;
|
|
int is_toggle_mode = 0;
|
|
-int alignment = ALIGNMENT_CYLINDER;
|
|
+int alignment = ALIGNMENT_OPTIMAL;
|
|
|
|
static const char* number_msg = N_(
|
|
"NUMBER is the partition number used by Linux. On MS-DOS disk labels, the "
|