7 Jan
2004
7 Jan
'04
14:21
On Wed, 2004-01-07 at 08:56, Sid Boyce wrote:
Arvid Johansson wrote:
Never mind. It was easier than I thought. I just created a file of zeros with dd and then ran mkswap on it afterwards.
Quite some time ago I installed on a laptop and forgot to add a swap partition, I created a swap file and did a "swapon /swapfile", but I couldn't get it to mount automatically, can't remember what I tried then, but I always had to do the swapon from the command line. Does changing the "swapon -a" in /etc/init.d/boot.localfs or /etc/init.d/boot.swap fix it? Regards Sid.
swap files are -not- mounted, they are used in the raw, so to speak. -- Ken Schneider unix user since 1989 linux user since 1994 SuSE user since 1998 (5.2)