Re: Windows swap use

From: Michele Andreoli (m.andreoli@tin.it)
Date: Sat Nov 11 2000 - 00:08:42 CET


On Fri, Nov 10, 2000 at 10:32:52PM +0100, Ondrej Kavka nicely wrote:
> I have been experimenting with using of the windows win386.swp as a swap
> file and have these experiences: whenever i create a small script containing
> just these lines:
> mkswap /DOS/win386.swp
> swapon /DOS/win386.swp
> swapon fails with 'swap-file signature' error. Whenever I write these lines
> on the command line, evrything works usually fine. Sometimes not, and I have
> to run the second command several times until it gets convinced. Anyone has
> better experiences? I would love to put the commands into startup scripts
> and not to have to type them all the time..

It is better to blank the file with dd if=/dev/zero; a "sync" before
swapon should be also nice.

Michele

-- 
"I'd like to conclude with a positive statement, but I can't remember any.
Would two negative ones do?"			-- Woody Allen
---------------------------------------------------------------------
To unsubscribe, e-mail: mulinux-unsubscribe@sunsite.auc.dk
For additional commands, e-mail: mulinux-help@sunsite.auc.dk


This archive was generated by hypermail 2.1.6 : Sat Feb 08 2003 - 15:27:16 CET