[rhn-users] how to create a 1GB swap file

Fabian E. Barco febarco at colredes.com
Thu Mar 18 21:59:19 UTC 2004


Hi,
which is the right way to create 1 GB swap file?

dd if=/dev/zero of=swapfile01 bs=1024 count=1048576
or
dd if=/dev/zero of=swapfile01 bs=1048576 count=1024

1024x1024=1048576

thanks.
fb








More information about the rhn-users mailing list