Bug#236958: should swapon before formatting other filesystems, for lowmem support
On 9.III.2004 at 13:35 Joey Hess wrote:
> Anton Zinoviev wrote:
> > > What about doing something with the mount.d script output? It seems
> > > that is designed to allow undoing of mount.d changes, but currently
> > > it's thrown away and we have this more hardcoded umount_target
> > > instead.
> >
> > This was designed to work for filesystems like UMSDOS that can not be
> > directly mounted and unmounted.
>
> Hmm, don't follow. It seemed it would work for any fs, and even for
> swap.
When the root file system is umsdos, then the base system must be
installed in /linux rather than in / (because at boot time the kernel
swaps / and /linux and this can not be achieved later by any mount
option). Because of that the mount.d script for umsdos has to mount
to /target2, remove /target and create symlink /target ->
/target2/linux.
I commited the changes for enabling swap during file system creation.
Anton Zinoviev
Reply to: