Swapping to a large sparse file

jd1008 jd1008 at gmail.com
Sun Jan 18 01:11:56 UTC 2015


On 01/17/2015 06:02 PM, Chris Murphy wrote:
> https://wiki.archlinux.org/index.php/Uswsusp
>
> It looks like it support swapfiles. I still don't think a sparse file
> backing a loop device as a swap device will work for suspend to disk,
> but it may just be a matter of creativity. If this is a laptop I think
> you're better off with swap on the internal drive and just make up the
> space you've lost some other way. If you ever have to grab it and go
> you don't want an object attached that can get caught on something and
> snapped off. If the laptop has an optical drive, remove it and put in
> a hard drive to supplement the SSD.
The nand flash sinks completely into the multi-flash
reader/writer, nothing to protrude. So I think this
is a good solution for my situation. I really do not
want to back up 2TB drive, repartition it to create
a 16GB swap partition and restore the rest.
Too gosh darned time consuming.



More information about the users mailing list