Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #174057

Re: new pc and swap

From Markus Grunwald <markus@the-grue.de>
Newsgroups linux.debian.user
Subject Re: new pc and swap
Date 2016-10-30 19:30 +0100
Message-ID <sy31L-8eB-3@gated-at.bofh.it> (permalink)
References <sxWWl-48W-1@gated-at.bofh.it> <sxYOt-5kT-3@gated-at.bofh.it> <sxZ7P-5Ll-1@gated-at.bofh.it> <sy0wW-6uk-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Servus Pascal,

> > I once read that it was possible to swap to a named file, rather than a
> > swap partition.
> > Is that possible with Jessie?

Creating (and using) a swapfile is easy, no problem in Jessie:

sudo mkswap /swap.0
sudo swapon /swap.0
grep swap /etc/fstab
/swap.0		swap    	swap    defaults        0

> Swap to a file is possible but IIRC hibernate to a file is not possible.

It is. In fact, I do it on my machine. Configuring it is not so easy,
but again: google is your friend.

Unfortunately, a few weeks ago, hibernating stopped working reliably
here. I wrote to this list a few days ago, without any response :(

So, hibernating to a swapfile (or a separate hibernation file) is
possible, but it doesn't seem to be a good idea. I would recommend a
swap partition. On my T61 with 4GB RAM and 128GB SSD, I have a 5GB
swapfile. As gparted works very reliably, misjudging the size of the
partition is only a small problem...

So I consider switching from swapfile to a swappartition.

cu
--
Markus Grunwald

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

new pc and swap Pol Hallen <deben@fuckaround.org> - 2016-10-30 13:00 +0100
  Re: new pc and swap Michael Milliman <michael.e.milliman@gmail.com> - 2016-10-30 14:20 +0100
  Re: new pc and swap Markus Grunwald <markus@the-grue.de> - 2016-10-30 15:00 +0100
    Re: new pc and swap Richard Owlett <rowlett@cloud85.net> - 2016-10-30 15:20 +0100
      Re: new pc and swap Pascal Hambourg <pascal@plouf.fr.eu.org> - 2016-10-30 16:50 +0100
        Re: new pc and swap Markus Grunwald <markus@the-grue.de> - 2016-10-30 19:30 +0100
      Re: new pc and swap Richard Owlett <rowlett@cloud85.net> - 2016-10-31 10:30 +0100
        Re: new pc and swap Stefan Monnier <monnier@iro.umontreal.ca> - 2016-10-31 15:00 +0100
          Re: new pc and swap Richard Owlett <rowlett@cloud85.net> - 2016-10-31 19:30 +0100
            Re: new pc and swap Greg Wooledge <wooledg@eeg.ccf.org> - 2016-10-31 19:50 +0100
              Re: new pc and swap Pascal Hambourg <pascal@plouf.fr.eu.org> - 2016-10-31 20:20 +0100
            Re: new pc and swap <tomas@tuxteam.de> - 2016-10-31 21:00 +0100
            Re: new pc and swap "John L. Ries" <jries@salford-systems.com> - 2016-10-31 22:40 +0100
          Re: new pc and swap Pascal Hambourg <pascal@plouf.fr.eu.org> - 2016-10-31 20:00 +0100
            Re: new pc and swap Mark Fletcher <mark27q1@gmail.com> - 2016-11-01 00:10 +0100
              Re: new pc and swap Johann Spies <johann.spies@gmail.com> - 2016-11-01 07:10 +0100
                Re: new pc and swap Richard Hector <richard@walnut.gen.nz> - 2016-11-01 09:30 +0100
                Re: new pc and swap Pascal Hambourg <pascal@plouf.fr.eu.org> - 2016-11-01 11:00 +0100
                Re: new pc and swap Richard Hector <richard@walnut.gen.nz> - 2016-11-02 01:50 +0100
                Re: new pc and swap Stefan Monnier <monnier@iro.umontreal.ca> - 2016-11-01 14:10 +0100
                Re: new pc and swap Pascal Hambourg <pascal@plouf.fr.eu.org> - 2016-11-01 15:00 +0100
                Re: new pc and swap Ben Caradoc-Davies <ben@transient.nz> - 2016-11-01 20:00 +0100
          Re: new pc and swap Mark Fletcher <mark27q1@gmail.com> - 2016-11-01 00:00 +0100
  Re: new pc and swap Ben Caradoc-Davies <ben@transient.nz> - 2016-10-30 17:50 +0100
    Re: new pc and swap Pascal Hambourg <pascal@plouf.fr.eu.org> - 2016-10-30 18:20 +0100
  Re: new pc and swap David Christensen <dpchrist@holgerdanske.com> - 2016-10-30 19:50 +0100

csiph-web