On Sun, 9 Jan 2011 19:19:44 +0100
Diego Calleja dieg...@gmail.com wrote:
Hello,
AFAIK swapfiles are not supported, at least for now.
At the moment I use FreeBSD with zfs (two disks in mirror) and plan to return
back to (Arch)linux. Considering that with zfs I've everything in one (z)pool -
it seems to me that the swap file interface doesn't make sense; to
eliminate the middleman and provide a direct swap tree type would be
the way to go, so a btrfs can hold swapped pages. Doing this would
AIUI require:
1) direct interface to btrfs trees, not via file-system interface
2) modifying
Hi,
I have just recently installed Debian squeeze with a root filesystem
on btrfs [1]. I have noticed however that I cannot set up a swap file
stored on the btrfs volume:
dd if=/dev/zero of=/var/swap bs=16M count=4
mkswap /var/swap
chmod 0 /var/swap
swapon /var/swap
[ 01751.879759] swapon: