Groups | Search | Server Info | Login | Register


Groups > comp.os.linux.security > #95

Re: tmps and swap

From Günther Schwarz <strap@gmx.de>
Newsgroups comp.os.linux.security
Subject Re: tmps and swap
Date 2012-02-07 23:01 +0000
Message-ID <9pdopqF5ksU3@mid.individual.net> (permalink)
References <9pdh5dF5ksU1@mid.individual.net> <gwgYq.199$hJ4.174@newsfe20.iad>

Show all headers | View raw


Lew Pitcher wrote:

> On Tuesday 07 February 2012 15:50, in comp.os.linux.security,
> strap@gmx.de wrote:
> 
>> Any hints on how to prevent a tmpfs file system to be written to the
>> swap partition? Other than omitting a swap partition completely, of
>> course. I do not want some files to end up on the hard disk.
> 
> I'm afraid that you can't do that.
> 
> To quote /usr/src/linux/Documentation/filesystems/tmpfs.txt
>   "Since tmpfs lives completely in the page cache and on swap, all tmpfs
>    pages currently in memory will show up as cached."

Thanks a lot for the clarification. So this is how I did suspect it to 
be. I will have to live with a small risk. No risk, no fun.  
 
Günther

Back to comp.os.linux.security | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

tmps and swap Günther Schwarz <strap@gmx.de> - 2012-02-07 20:50 +0000
  Re: tmps and swap Lew Pitcher <lpitcher@teksavvy.com> - 2012-02-07 16:15 -0500
    Re: tmps and swap Günther Schwarz <strap@gmx.de> - 2012-02-07 23:01 +0000
      Re: tmps and swap Alexander Schreiber <als@usenet.thangorodrim.de> - 2012-05-31 21:52 +0200
  Re: tmps and swap Richard Kettlewell <rjk@greenend.org.uk> - 2012-02-07 22:40 +0000
    Re: tmps and swap Günther Schwarz <strap@gmx.de> - 2012-02-07 23:01 +0000
      Re: tmps and swap "Stachu 'Dozzie' K." <dozzie@go.eat.some.screws.spammer.invalid> - 2012-02-08 09:18 +0000
        Re: tmps and swap Günther Schwarz <strap@gmx.de> - 2012-02-09 21:51 +0000
  Re: tmps and swap Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2012-02-08 00:34 +0100
    Re: tmps and swap Günther Schwarz <strap@gmx.de> - 2012-02-09 21:51 +0000

csiph-web