On Friday 12 January 2007 00:10, S Glasoe wrote:

> > Actually, for dd the units are CS (1024, 1024 * 1024, 1024 * 1024 *
> > 1024, resp.).
> >
> > To wit:
> >
> > % dd if=/dev/zero of=/dev/null bs=2K count=1M
> > 1048576+0 records in
> > 1048576+0 records out
> > 2147483648 bytes (2.1 GB) copied, 1.30146 seconds, 1.7 GB/s
> >
> > If you divide it out, you find that it's using power-of-two Ks, Ms and
> > Gs (except for the summary line--go figure).
> >
> > Also, for some reason 'm' is not allowed, only 'M', but either 'k'
> > or 'K' are allowed but both mean 1024 (I tried 'em both).

> And don't forget to swapon the file... man swapon for more info.

And don't forget to mkswap after dd before swapon. See man mkswap, too.

# dd ...
# mkswap ...
# swapon ...
(# $EDITOR /etc/fstab)

-- 
        Andreas
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to