RE: [opensuse] Creating a swap file
On Thursday 11 January 2007 15:32, Darryl Gregorash wrote:
On 2007-01-11 16:57, Randall R Schulz wrote:
On Thursday 11 January 2007 14:42, Darryl Gregorash wrote:
...
(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."
Interestingly, # dd if=/dev/zero of=/extra-swap bs=2G count=1K dd: invalid number `2G' It doesn't like 'G'. ~James -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (1)
-
James D. Parra