On 11/07/2014, at 2:30 PM, Jeff Darcy wrote: >> 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. > > Does the BSD version also support status=none to make it work > silently instead of spewing block counts to stderr? If not, I might > suggest that we switch to using our own wrapper that detects the > platform to do the appropriate uppercase/lowercase and extra > arguments vs. shell redirection in each case. Maybe we should 2>/dev/null ? + Justin -- GlusterFS - http://www.gluster.org An open source, distributed file system scaling to several petabytes, and handling thousands of clients. My personal twitter: twitter.com/realjustinclift _______________________________________________ Gluster-devel mailing list Gluster-devel@xxxxxxxxxxx http://supercolony.gluster.org/mailman/listinfo/gluster-devel