Re: Small note on 'dd' and cross platform block sizes

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

 



On Fri, Jul 11, 2014 at 11:48:18AM +0100, Justin Clift wrote:
> It turns out that with the 'dd' command, the block size parameter
> (bs=) needs a bit of special treatment to work cross-platform.
> 
> Instead of using the 'M' suffix (eg 1M for 1MB), it's better to
> use the k suffix.  eg 1024k for 1MB.

For the sake of completeness:
Linux uses M for megabyte, BSD(incorrecly) uses m
Both use k for kilobyte. This is why 1024k is better than 1M or 1m.
O
-- 
Emmanuel Dreyfus
manu@xxxxxxxxxx
_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-devel




[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux