LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-18-2012, 04:06 PM   #1
dave1234567
LQ Newbie
 
Registered: Dec 2012
Posts: 3

Rep: Reputation: Disabled
two questions about swap space


Is swap necessary for today's linux. I asked because it is not being used at least on my system. My second question is should swap be encrypted along with the root and home partition. Openbsd encrypts the swap space by default.

Last edited by dave1234567; 12-18-2012 at 04:08 PM.
 
Old 12-18-2012, 04:10 PM   #2
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 4,044

Rep: Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108
1. Swap is optional, not required. Your typical RAM usage is a good guideline for whether or not you'll benefit from swap.

2. I personally encrypt my swap, your mileage may vary.

Last edited by snowpine; 12-18-2012 at 04:11 PM.
 
Old 12-18-2012, 04:16 PM   #3
dave1234567
LQ Newbie
 
Registered: Dec 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
Just curious but why do some people encrypt swap since it it rarely used? Is there stray data that we don't see or something?
 
Old 12-18-2012, 04:22 PM   #4
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 4,044

Rep: Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108
Whether swap is used rarely or frequently is completely dependent on the user, the operating system, the hardware, and the task.

Since swap (if it is used) can contain sensitive data, it is only logical to encrypt it.
 
Old 12-18-2012, 04:28 PM   #5
dave1234567
LQ Newbie
 
Registered: Dec 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thank you snowpine
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What if tmpfs space is full? Written to swap space? pstein Linux - Newbie 8 11-18-2012 07:51 AM
how to reduce swap space and reclaim the space grantm Linux - Newbie 7 08-16-2012 08:05 AM
[SOLVED] what the difference swap space and swap file dundu Linux - Newbie 4 07-29-2012 01:03 PM
how much swap space is needed; how to increase swap space? johnpaulodonnell Linux - Newbie 5 03-23-2007 04:20 AM
How to unmount actual swap and mount a new(bigger) swap space? isaac Linux - Newbie 1 06-06-2004 02:23 AM


All times are GMT -5. The time now is 02:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration