On Thu, Oct 31, 2013 at 05:22:03PM +0100, Jan Janssen wrote: > Suspend to disk works for swap files too (even if it is located > on an ecrypted file system): > https://www.kernel.org/doc/Documentation/power/swsusp-and-swap-files.txt > --- > src/shared/sleep-config.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/shared/sleep-config.c b/src/shared/sleep-config.c > index d068bfc..2bb0493 100644 > --- a/src/shared/sleep-config.c > +++ b/src/shared/sleep-config.c > @@ -206,7 +206,7 @@ static int hibernation_partition_size(size_t *size, > size_t *used) { > if (!d) > return -ENOMEM; > > - if (!streq(type, "partition")) { > + if (!streq(type, "partition") && !streq(type, "file")) { > log_debug("Partition %s has type %s, ignoring.", d, > type); > continue; > } Nice, applied.
Zbyszek _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel