[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Where do you put your swap partition?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 01/21/08 03:16, Thomas Flaig wrote:
> Am Samstag, 19. Januar 2008 03:30 schrieb Ron Johnson:
>> I think it's foolish to have a swap *partition* in the 21st century.
> It is not.
> If you mean that you should install enough RAM to avoid swapping, that's 
> ok.
> 
> But there are other reasons for a swap partition in the 21st century:

You miss the distinction between swap partition and swap *file*.

> * There are some Un*x-like operating system which are able to save system  
>   dumps on a swap partition for debuging after system crash. (At least if 
>   you use a kernel which enabels debuging).
>   I don't know if Linux is such an operating system.
> 
> * If you like to use hibernate/suspend to disk, you can build a kernel  
>   with something like
> 	CONFIG_PM=y
> 	CONFIG_SOFTWARE_SUSPEND=y
> 	CONFIG_PM_STD_PARTITION="/dev/sdaX"
>   so that the kernel can save your RAM on /dev/sdaX before going to sleep.  	
>   Afterwards it can resume/boot up with the parameter resume=/dev/sda5 or 
>   resume2=/dev/sda5 in your grub/lilo/.....-configuration very fast.
>   I think hibernate/suspend to disk does not work with a swap file.
>   
> Thomas


- --
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)

iD8DBQFHlLEcS9HxQb37XmcRAiRXAKCEpIRfkJd1+WFYbBFGUimcckygZgCeOy8A
Y+swDzQwf/MK/FNVafUoMDI=
=3fU2
-----END PGP SIGNATURE-----


Reply to: