Mauro Souza wrote:
Yes, there is...
This will create a 128MB swapfile:
cd /mnt
dd if=/dev/zero of=one.swp bs=1024 count=131072
mkswap -c /mnt/one.swp
swapon /mnt/one.swp
free -m
/mnt is for mounting filesystems that don't have a standard place.
Examples would be filesystems for other operating systems (including
other Linux).
I put my swap files in /var.
I also use bs=1m so that count= takes an intelligible number, but that
might not be sensible if 1m represents a significant percentage of your
real storage and you're distressed at the time.
--
Cheers
John
-- spambait
[EMAIL PROTECTED] [EMAIL PROTECTED]
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375
You cannot reply off-list:-)
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390