The man pages suggests that running sfdisk with -uC will cause it to display partition size in cylinders -- but this is not what happens: : /home/jsn/sandbox/oqo !057 17:15 :; sfdisk -uC -s /dev/sda 1007615 : /home/jsn/sandbox/oqo !058 17:15 :; sfdisk -uC -l /dev/sda Disk /dev/sda: 1015 cylinders, 32 heads, 62 sectors/track Units = cylinders of 1015808 bytes, blocks of 1024 bytes, counting from 0 Device Boot Start End #cyls #blocks Id System /dev/sda1 * 0+ 1014 1015- 1006879+ 83 Linux /dev/sda2 0 - 0 0 0 Empty /dev/sda3 0 - 0 0 0 Empty /dev/sda4 0 - 0 0 0 Empty Reproducible: Always Steps to Reproduce: 1. Use sfdisk with an option that specifies units. 2. 3. Actual Results: Default units -- apparently megabytes. Expected Results: Units as specified by the command line option. I'm using UTF-8 pervasively on my system -- but of course that should not effect the letters C, S, B and M...
*** Bug 208792 has been marked as a duplicate of this bug. ***
the -s option takes no arguments as the man page indicates: sfdisk [options] device sfdisk -s [partition] the -u[SBCM] options work otherwise (for example with -l)