Hi Sanjeev,
While the procedure and the principle for creating a swap file on a
filesystem is correct, I wouldn't really recommend it unless there's
no other option. Swap on filesystem tends to be terribly slow
compared to swap on a raw partition, and using it will make your
system quite sluggish.
Regards,
-- Raju
>>>>> "Sanjeev" == sanjeev V <[EMAIL PROTECTED]> writes:
Sanjeev> hi shaikh, There is a better way of increase the
Sanjeev> swapspace than partioning un partioned space ad adding it
Sanjeev> to swap. step 1) if U have enough space in the var file
Sanjeev> system or any ext2 partition for that matter create a
Sanjeev> file of the size of the swap U need. for example to
Sanjeev> create swap file u can just cat /dev/zero > .swap for a
Sanjeev> couple of seconds to get a large file or even cat
Sanjeev> /dev/hd* > .swap to create the file whare .swap is the
Sanjeev> file to be used as swap and /dev/hd* is UR swap
Sanjeev> partition.
Sanjeev> [snip]
-----------------------------------------------------------------------
LIH is all for free speech. But it was created for a purpose - to help
people discuss issues about installing and running Linux. If your
messages are counterproductive to this purpose, your privileges to
submit messages can and will be revoked.