[parted-devel] [PATCH] update comment about number of addressable sectors

Olaf Hering olh at suse.de
Sat Apr 8 14:32:56 UTC 2006


PedSector has a signed type, it can only address half of the possible sectors.

---
 include/parted/device.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: parted-mainline/include/parted/device.h
===================================================================
--- parted-mainline.orig/include/parted/device.h
+++ parted-mainline/include/parted/device.h
@@ -29,7 +29,7 @@
 
 #include <parted/timer.h>
 
-/** We can address 2^64 sectors */
+/** We can address 2^63 sectors */
 typedef long long PedSector;
 
 /** \deprecated Removal from API planned */



More information about the parted-devel mailing list