Hi,

shouldn't parted print "SEC;" as the first line instead of "BYT;"
when the selected unit is sectors?

Regards,
  Arvin

-- 
Arvin Schnell, <aschn...@suse.de>
Senior Software Engineer, Research & Development
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
diff --git a/gnulib b/gnulib
index e9e556f..5016c20 160000
--- a/gnulib
+++ b/gnulib
@@ -1 +1 @@
-Subproject commit e9e556f53c74014cb122e8c7fd0405f40f7c9acb
+Subproject commit 5016c2066bfca00f5a24e0d2abaca25f0fce75fb
diff --git a/parted/parted.c b/parted/parted.c
index 265282a..4ee88b8 100644
--- a/parted/parted.c
+++ b/parted/parted.c
@@ -1492,6 +1492,8 @@ do_print (PedDevice** dev)
                                         break;
                 case PED_UNIT_CYLINDER: puts ("CYL;");
                                         break;
+		case PED_UNIT_SECTOR:   puts ("SEC;");
+                                        break;
                 default:                puts ("BYT;");
                                         break;
 
_______________________________________________
parted-devel mailing list
parted-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/parted-devel

Reply via email to