summaryrefslogtreecommitdiff
path: root/sys/src/cmd/disk/prep/edit.h
AgeCommit message (Collapse)Author
2016-01-05fdisk: properly convert byte units K,M,G and T to cylinders/sectorscinap_lenrek
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.
2011-03-30Import sources from 2011-03-30 iso image - libTaru Karttunen
2011-03-30Import sources from 2011-03-30 iso imageTaru Karttunen