[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Blocks verses Bytes,Mbytes etc




Harry Putnam wrote:
Something I've wondered each time I fire up fdisk for some reason:

Is there an even handed way to convert BLOCKS into Bytes?

Since noone else mentioned, and fdisk and sfdisk are in the same package. 'sfdisk -luM' will give you an extra column between "End" and "Blocks" labled "MB" that is the size in MiB (1024*1024 bytes).
sfdisk also tells you that block are units of 1024 bytes.


-Thomas





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]