[Pkg-sysvinit-devel] Bug#501336: Will now activate swapfile swap...done, but there never was one

Sven Joachim svenjoac at gmx.de
Mon Oct 6 17:03:34 UTC 2008


On 2008-10-06 18:25 +0200, jidanni at jidanni.org wrote:

> Package: initscripts
> Version: 2.86.ds1-61
> Severity: wishlist
> File: /etc/init.d/mountall.sh
>
> At log_daemon_msg "Will now activate swapfile swap":
> One could have never established a swap area on a partition
> and in fstab and the messages will look totally the same as if one did,
> straight thru to the "done" message.

Yes.  So what?

> (swapon -a -e -v also gives the same null output when no fstab entries
> mention swap, so can't be relied on to give you an error message
> here.)
>
> Also do you really want to say "swapfile swap" instead of "swap area"?
> Does it really have a file name?

Yes, that is correct.  Swap partitions are activated in checkroot.sh, so
that they can be used by fsck.  However, swap files can only be
activated later, after all the local filesystems have been mounted.

Sven





More information about the Pkg-sysvinit-devel mailing list