On 2007-01-11 16:57, Randall R Schulz wrote:
On Thursday 11 January 2007 14:42, Darryl Gregorash wrote:
...
dd if=/dev/zero of=/extra-swap bs=1K count=1K
The following byte/count specifications will all create the 2G file you desire:
bs=2G count=1 (though this will probably hardly be practical) bs=2M count=1K bs=2K count=1M
(Note that kB, MB and GB all refer to powers of 1000, not 1024. This is standard SI nomenclature.)
Actually, for dd the units are CS (1024, 1024 * 1024, 1024 * 1024 * 1024, resp.).
Oh, good grief, Randall, please read the damn manpage: " BLOCKS and BYTES may be followed by the following multiplicative suffixes: xM M, c 1, w 2, b 512, kB 1000, K 1024, MB 1000*1000, M 1024*1024, GB 1000*1000*1000, G 1024*1024*1024, and so on for T, P, E, Z, Y." -- The best way to accelerate a computer running Windows is at 9.81 m/s² -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org