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

Re: Installers, fstab and swap.



Neither option is without negative consequences.

If you format the swap then the other distros on the machine that use
UUIDs to find their swap partitions will lose them.

If you don't format the swap then you are sharing the swap partition
with the other distros on the machine. This is likely to cause data
loss if one distribution is hibernated and the user starts another
distro.

I think the only proper solution is to create a new swap partition for
each distro installed. You could also ask the user if they prefer data
loss or killing the swap on their other installed distros.

Formatting the swap gives the least bad consequences so that is
probably why it is used.

If there is a way for the kernel/initrd to check if a particular swap
partition has valid hibernation data on it, then not formatting the
swap might be a good idea.

-- 
bye,
pabs

http://wiki.debian.org/PaulWise


Reply to: