]> git.pld-linux.org Git - packages/util-linux.git/blobdiff - util-linux-fdisk-b-4096.patch
- patches from fedora (details in patches if not obvious)
[packages/util-linux.git] / util-linux-fdisk-b-4096.patch
diff --git a/util-linux-fdisk-b-4096.patch b/util-linux-fdisk-b-4096.patch
new file mode 100644 (file)
index 0000000..b2dde20
--- /dev/null
@@ -0,0 +1,15 @@
+
+ The "-b" option allows to manually define size of sector size. We need to support
+ 4096 bytes for really huge disks. [kzak 12/14/2006]
+--- util-linux-2.13-pre7/fdisk/fdisk.c.kzak    2006-12-14 10:21:57.000000000 +0100
++++ util-linux-2.13-pre7/fdisk/fdisk.c 2006-12-14 10:22:21.000000000 +0100
+@@ -2491,7 +2491,7 @@
+                       */
+                       sector_size = atoi(optarg);
+                       if (sector_size != 512 && sector_size != 1024 &&
+-                          sector_size != 2048)
++                          sector_size != 2048 && sector_size != 4096)
+                               fatal(usage);
+                       sector_offset = 2;
+                       user_set_sector_size = 1;
This page took 0.066745 seconds and 4 git commands to generate.