fdisk cleanup
Garrett Kajmowicz
gkajmowi at tbaytel.net
Sat Feb 25 03:31:21 UTC 2006
Remove warning which is self-commented as being unneeded. Currently we throw
a warning if DOS partitions are not in disk order. This is unneeded. Let's
get rid of it. Also clarity ws addition.
- Garrett
--- fdisk.c.3 2006-02-24 22:12:06.000000000 -0500
+++ fdisk.c.4 2006-02-24 22:29:47.000000000 -0500
@@ -193,6 +193,7 @@ static int fd; /* the d
static int partitions = 4; /* maximum partition + 1 */
static uint display_in_cyl_units = 1;
static uint units_per_sector = 1;
+
#ifdef CONFIG_FEATURE_FDISK_WRITABLE
static char *line_ptr;
static void change_units(void);
@@ -4911,14 +4912,6 @@ list_table(int xtra)
check_consistency(p, i);
}
}
-
- /* Is partition table in disk order? It need not be, but... */
- /* partition table entries are not checked for correct order if this
- is a sgi, sun or aix labeled disk... */
- if (label_dos == current_label_type && wrong_p_order(NULL)) {
- /* FIXME */
- printf(_("\nPartition table entries are not in disk
order\n"));
- }
}
#ifdef CONFIG_FEATURE_FDISK_ADVANCED
More information about the busybox
mailing list