[prev in list] [next in list] [prev in thread] [next in thread]
List: opensuse
Subject: Re: [opensuse] swapoff takes 7 minutes
From: Per Jessen <per () computer ! org>
Date: 2016-04-28 8:59:12
Message-ID: nfsjd0$dv5$1 () saturn ! local ! net
[Download RAW message or body]
Dave Howorth wrote:
> On 2016-04-28 09:22, Bjoern Voigt wrote:
>> Swapoff for swap partitions seems to be never used in system shutdown
>> scripts. I use Swapoff mostly for testing.
>
> But swapoff is called at shutdown for swap files (as opposed to swap
> partitions).
I looked it up - in systemd-210 in ./src/core/umount.c, swapoff() is
called, as far as I can tell regardless of whether it is a file or a
device. It's possible there is a check on file or partition somewhere
else, I could have missed it.
--
Per Jessen, Zürich (6.7 °C)
http://www.dns24.ch/ - free dynamic DNS, made in Switzerland.
--
To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org
To contact the owner, e-mail: opensuse+owner@opensuse.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic