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

Re: unexpected changes - live-bottom/13swap running by default



On Sun, Aug 31, 2008 at 03:04:09PM -0400, Harold wrote:
> > Daniel Baumann wrote:
> >
> >> [ ] Use swap partitions automatically in all flavours (leave as is)
> >> [X] Don't use swap partitions automatically in all flavours
> >> [ ] Use swap partitions for standard and desktop flavours,
> >>     use noswap for rescue flavour.
> >
> > The "we do not touch filesystems by default" invariant is really
> > important.
> >
> > As long as one can pass "swap" at boot time to revert the behaviour, I
> > would
> > be in favour of the above change.
> >
> 
> I agree with Chris .. since 'hibernate' uses swap you could imagine some
> examples where linux1 hibernated and live-debian scrambled it and linux1
> got confused on restart .. or worst .. if live-debian hibernated and the
> boot media was removed and linux1 restarted and thought it could restore
> from swap .. more confusion. .. but you need to be able to pass 'swap' at
> boot to handle 'older' low memory machines that really need swap.

To quote Daniel from up the thread:

| I don't remember who and when did enabled that (or if it even came from
| ubuntu), it's quite some time ago. Anyway, at the time, this was done on
| purpose. The code works more or less like this:
| 
|       *If* a usable (unencrypted) linux swap partition is found
|       *and* that swap partition does not contain a suspended system
|       *then* it is enabled to use automatically
|       *unless* noswap is given as a boot parameter.

So it won't touch a hibernating Linux "swap" partition.

Using swap from the installed system has been quite useful over here.

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen@xorcom.com
+972-50-7952406           mailto:tzafrir.cohen@xorcom.com
http://www.xorcom.com  iax:guest@local.xorcom.com/tzafrir


Reply to: