On Sat, May 16, 2009 at 06:06:52PM +1000, Trent W. Buck wrote:
> > # The Unix classic for creating a file with all zeros
> > dd if=/dev/zero of=file bs=1k count=1024
> 
> In that case you might as well make it sparse:
> 
>     dd bs=1 count=0 seek=1M of=sparsefile

That's not portable. Multipliers only apply to bs=, cbs=, ibs= and
obs=, and only the only multipliers allowed are k and b (and general
multiplication using x).

        dd bs=1k count=0 seek=1024 of=sparsefile

would be more portable.

Ciao,
        Kili

-- 
Ja, ich habe schlecht geschlafen, nach muede kommt bei mir immer doof!
                -- Thorsten Guesen
_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users

Reply via email to