Re: Where do you put your swap partition?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 01/20/08 18:49, Andres Migliazzo wrote:
> Hello,
>
> To answer the original question, I use to put my swap file in /boot file
> system:
>
> #dd if=/dev/zero of=/boot/swap bs=512k count=1024
> #mkswap /boot/swap
> #swapon /boot/swap
>
> Then I edit /etc/fstab and add the following entry:
> /boot/swap none swap defaults 0 0
That's exactly what I did, except I followed the "man mkswap"
recommendation of a 1KB blocksize. And a count of 2^20 blocks.
$ ls -l /swap/
total 3148812
- -rw------- 1 root root 1073741824 Oct 15 2005 swap001.swap
- -rw------- 1 root root 1073741824 Oct 15 2005 swap002.swap
- -rw------- 1 root root 1073741824 Jun 18 2007 swap003.swap
$ grep swap /etc/fstab
/swap/swap001.swap none swap sw 0 0
/swap/swap002.swap none swap sw 0 0
/swap/swap003.swap none swap sw 0 0
> Sometimes you have to make it work on a shoe string, and replacing the
> hardware is not an option, I have been there... many times.
>
> Regards...
> Andrew
>
>
> On Jan 20, 2008 7:54 PM, Ron Johnson <ron.l.johnson@cox.net
> <mailto:ron.l.johnson@cox.net>> wrote:
>
> On 01/20/08 15:28, Brendan wrote:
>> On Sunday 20 January 2008, Ron Johnson wrote:
>>> Move to civilization?
>>> Jefferson LA USA
>
>> I would say the same to you...
>
> We've had broadband for 8 years, and all the only important store
> that's not pissing distance is Frys.
- --
Ron Johnson, Jr.
Jefferson LA USA
"I'm not a vegetarian because I love animals, I'm a vegetarian
because I hate vegetables!"
unknown
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHk/UPS9HxQb37XmcRAp6+AJ0dRz3X8yF5CHEqeStCj71zqt8FqACfcVFV
Z/u6b5ne/55bCrvH45w4EZg=
=Mxys
-----END PGP SIGNATURE-----
Reply to: