Comment 17 for bug 521045

Revision history for this message
Ralph Ulrich (eulenreich) wrote :

1MiB boundaries are optimal for they also align with 128KiB and 256KiB which could be used in solid disk hardware.

Now how to do this using fdisk:
My thought of using of 32 heads and 64 sectors per cylinder doesn't work for older fdisk versions (openSUSE11.2).
Let's try the other way round:
"fdisk -L -H 64 -S 32 /dev/sdb"
I did create an new empty DOS partition table with "o". And I started the first partition at cylinder 2
This looks like:
----------------------
root@maci:/etc# fdisk -L -l /dev/sdb
GNU Fdisk 1.2.4
....
Disk /dev/sdb: 4 GB, 4127195136 bytes
64 heads, 32 sectors/track, 3936 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes

   Device Boot Start End Blocks Id System
/dev/sdb1 2 935 957408 c FAT32 LBA
/dev/sdb2 * 936 3936 3072000 83 Linux
----------------------
Now showing with sector numbers:
----------------------
root@maci:/etc# fdisk -L -l -u /dev/sdb
GNU Fdisk 1.2.4
....
Disk /dev/sdb: 4 GB, 4127195136 bytes
64 heads, 32 sectors/track, 3936 cylinders, total 8060928 sectors
Units = sectors of 1 * 512 = 512 bytes

   Device Boot Start End Blocks Id System
/dev/sdb1 2048 1914879 957408 c FAT32 LBA
/dev/sdb2 * 1914880 8060927 3072000 83 Linux
----------------------
I think such a restriction when partitioning should be totally compatible with Vista/Win7 and should be performant using any of the solid state disks. ... But I don't know how to consider an offset of -1 of some of those disks :(