"pelzflorian (Florian Pelz)" <[email protected]> writes:
> Fredrik Salomonsson <[email protected]> writes: > >> I don't mind updating the manual with that. Where you thinking in the >> 3.6.1.3 Disk Partitioning [0] section? >> >> [0] >> https://guix.gnu.org/manual/devel/en/html_node/Keyboard-Layout-and-Networking-and-Partitioning.html#Disk-Partitioning > > Good! The swapon command cannot be used on swap files when they are on > a Btrrfs. Oh right, there’s two places in the manual with swap space; > the swapon the end of `info "(guix)Keyboard Layout and Networking and > Partitioning"` (your [0]) and the maybe filefrag at the end of `info > "(guix)Swap Space"`, Ok, I'll see where this will fit. > or does it work when done right? If you use the `btrfs filesystem mkswapfile` to create the swap file, the swapon command should work properly. E.g. running `swapon` on my desktop right now gives me: NAME TYPE SIZE USED PRIO /swap/swapfile file 4G 0B -2 And it also worked as expected when installing my machines. > A patch is welcome. Alright, I'll start working on one next week. -- s/Fred[re]+i[ck]+/Fredrik/g
