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

Re: [debian-knoppix] Swapoff -a?



On Thu, May 09, 2002 at 07:11:58PM +0200, Andreas Fuchs wrote:
> On 2002-05-08, Klaus Knopper <knopper@linuxtag.org> wrote:
> > Should the default behaviour nor be to use swap when present, and
> > disable it when it needs to be disabled? Most users boot straight to
> > KDE, and Ram is critical there.
> > 
> > Those using Knoppix as rescue system should usually know how to
> > disable swap when they are modifying partitions manually.
> 
> One problem that I see is that those starting a rescue system sometimes
> have a fscked up partition table (no pun intended). Thus, when knoppix
> notices a type 82 partition, it might not necessarily contain a swap
> partition. I haven't yet tried Linux's robustness when it comes to bad
> swap partitions, but I guess that knoppix's should provide an ability to
> have it not activate swap on boot - maybe the non-graphical boot path
> should have this as default?

This is usually not a problem. When swapon does not find a valid swap
signature (generated with mkswap), it does not use this partition or
file for swapping.

We did have ONE case where someone had formatted a type 82 partition
with xfs, and forgot to change the type to 83. xfs does not seem to
delete the swap signature, so there WAS a problem. I would count
this case as a selfmade problem though.

Regards
-Klaus
--
Klaus Knopper                  LinuxTag 2002 - Europes largest Linux Expo
Technical Solutions                                 Where .com meets .org
knopper@linuxtag.de                               http://www.linuxtag.de/
Phone +49-(0)180-5-546898                         Fax +49-(0)180-5-546893
_______________________________________________
debian-knoppix mailing list
debian-knoppix@linuxtag.org
http://mailman.linuxtag.org/mailman/listinfo/debian-knoppix


Reply to: