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

Bug#236958: should swapon before formatting other filesystems, for lowmem support



On  8.III.2004 at 20:14 Joey Hess wrote:
> 
> If partman had a special case to format and swapon swap
> partitions before formatting anything else, that would let the installer
> run on systems with about 2 mb less memory than it currently supports.

It is not possible to swapon in some script in commit.d, because if
some other script from commit.d fails then we will be returned to the
main menu of partman with swap turned on.  

However swap can be turned on in the scripts that do mkfs and turned
off back in them.  I am going to do this.

Anton Zinoviev

P.S. You added the command "swapon" to partman-basicfilesystems/mount.d/basic.\
I don't know how the swap is supposed to be used on systems with small
RAM, but I think that then we must do swapoff in init.d (look at
partman/init.d/umount_target). 



Reply to: