summaryrefslogtreecommitdiff
path: root/sys/src/9/pc64
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2016-01-05 03:57:50 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2016-01-05 03:57:50 +0100
commitdd8908cff003135095996d2b0b5ea250c615a0e2 (patch)
tree43116c12d2fed459913e988d44be898dd69bbdb5 /sys/src/9/pc64
parent5aeddd6788347f121f1c6739a9954fe176fe539e (diff)
fdisk: properly convert byte units K,M,G and T to cylinders/sectors
the shared command language assumed 512 byte sectors, which is not the case for fdisk as it uses cylinders for the block unit. so we introduce an extra argument in the Edit structure and parseexpr() function so byte sizes are properly converted to the block unit when the K,M,G and T postfixes are used.
Diffstat (limited to 'sys/src/9/pc64')
0 files changed, 0 insertions, 0 deletions