On Tuesday 16 August 2005 3:12 pm, Shriramana Sharma wrote:
When I installed SuSE 9.3, I created a swap partition /dev/sda7. When I installed Fedora Core 4, I created a swap partition /dev/sda12.
Is it okay if I edit fstab in both SuSE and FC4 to load both these partitions as swap? (Currently IIRC SuSE uses only /dev/sda7 and FC4 uses only /dev/sda12.)
The contents of a swap partition are emptied at shutdown, right? So when I startup another OS which can use the same partition for swap it will not cause any problems, right?
If the contents of a swap partition are emptied at bootup instead, then even if the previous shutdown was faulty (power off without unmount or something like that) then the swap partition can still be accessed.
You should have no problems using both swap partitions in your dual boot
scenario.
The contents of the swap file are essentially cleared during the initial
boot into multi-user mode. Any leftover garbage from a previous session is
ignored. Essentially, swap space is used for virtual memory pages that have
been evicted from physical memory.
--
Jerry Feldman