]> git.pld-linux.org Git - packages/util-linux.git/blob - util-linux-fdisk-b-4096.patch
- AC-branch only,
[packages/util-linux.git] / util-linux-fdisk-b-4096.patch
1
2  The "-b" option allows to manually define size of sector size. We need to support
3  4096 bytes for really huge disks. [kzak 12/14/2006]
4  
5 --- util-linux-2.13-pre7/fdisk/fdisk.c.kzak     2006-12-14 10:21:57.000000000 +0100
6 +++ util-linux-2.13-pre7/fdisk/fdisk.c  2006-12-14 10:22:21.000000000 +0100
7 @@ -2491,7 +2491,7 @@
8                         */
9                         sector_size = atoi(optarg);
10                         if (sector_size != 512 && sector_size != 1024 &&
11 -                           sector_size != 2048)
12 +                           sector_size != 2048 && sector_size != 4096)
13                                 fatal(usage);
14                         sector_offset = 2;
15                         user_set_sector_size = 1;
This page took 0.022688 seconds and 3 git commands to generate.