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

Re: Installers, fstab and swap.



On Wed, 13 Apr 2011, Paul Wise wrote:
> 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.

This is orthogonal to the problem.

Formatting or not formatting the swap partition at install time doesn't
change anything wrt the problem you mention.

Anthony, you should discuss this on debian-boot@lists.debian.org
with the debian-installer developers. And I would find it much more
elegant to fix the various installers to not reformat the swap partition
rather than to go update all the other /etc/fstab.

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

Obviously the kernel does... the boot command-line is the same when you
boot after hibernation than for a normal boot IIRC.

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Follow my Debian News ▶ http://RaphaelHertzog.com (English)
                      ▶ http://RaphaelHertzog.fr (Français)


Reply to: