Swap for LFS LiveCD 6.1.1

Angel Tsankov fn42551 at fmi.uni-sofia.bg
Wed Jan 14 03:23:25 PST 2009


Rainer Peter Feller wrote:
> Hi,
> the dd if should be /dev/zero not /dev/null :-)
>
> dd if=/dev/zero of=/mnt/hda1/swapf count=512MB
>
> /dev/null is a nullbyte file
> /dev/zero is a file full of uncountable zeros
>
Thanks.  Now I'm swapping to a file.

By the way is there any difference between swapping to file and swapping to 
partition other then in the former case the partition containing the swap 
info can be used for other purposes besides swapping?

--Angel 




More information about the lfs-chat mailing list