Comment 5 for bug 48517

Revision history for this message
In , Petter Reinholdtsen (pere-hungry) wrote : Re: /etc/init.d/umountfs: swapoff should be called before unmounting localfs and not after?

I believe the swapoff/umount order was changed to solve bug #84782,
making sure tmpfs file systems are umounted before swap is turned off
and thus improving the chance of not running out of memory for
low-memory machines.

I'm not sure how to modify umountfs to solve both problems.

I agree that it should be possible to use swap files without having to
run fsck at every boot, and that it should be possible to use tmpfs on
some filesystems with fairly large data sets without having problems
shutting down.