>>>>> "permondes" == permondes <- sagen <sa...@permondes.de>> writes:
permondes> Oh Sh.... Swap files are not allowed on btrfs permondes> manpages say: You can use a loop device though. So something like touch /swap.out chattr +C /swap.out #disable copy on write dd if=/dev/zero bs=1024k count=size_in_mb of=/swap.out # allocate space losetup --show --direct-io=on -f /swap.out # prints loop device mkswap /dev/loopnnn swapon /dev/loopnnn This will introduce a performance penalty through the loop driver, but will avoid the issues the btrfs man page is talking about. It's almost certainly faster than zram. _______________________________________________ Freedombox-discuss mailing list Freedombox-discuss@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/freedombox-discuss