Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 03-01-2002, 02:39 PM   #1
LQ Newbie
Registered: Jan 2002
Distribution: SuSE
Posts: 16

Rep: Reputation: 0
Advantages and Drawbacks of Different Partitioning Schemes

I understand that a denial of service attack can cause /tmp, /var, /usr/tmp, and /usr/var to "overflow" and fill up a hard drive. I've read that one way of dealing with this is to create separate /tmp and /var partitions, and then create ymbolic links for all the usr/tmp and usr/var directories to point to those.

Of course, being a newbie, I did not do this on my system.

1. To avoid needing to create partitions that limit the size of /tmp and /var, is there any way to simply set a limit on the size of all /tmp and /var partitions in the system?

2. If I install a new application, will it ever create a new /tmp or /var directory? The standards at seem to say that only creating a new user will create more /tmp and /var directories, but I want to make sure I understand that correctly.

3. Given that my system does not have separate /tmp and /var partitions, would it be easier to re-install it and specify those during the install, or to create those partitions, move all the files into them, and create the symbolic links? Which one is less likely to hose my system?

Thanks all for your help!


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 are the drawbacks of syscalls and context switches? shy Programming 7 11-25-2004 03:03 PM
Major Linux Drawbacks. rvijay Linux - General 57 10-03-2004 10:27 AM
Any Drawbacks for building Monolithic Kernel linuxboy69 Linux - Software 5 08-26-2004 03:41 PM
Security Drawbacks Obie Linux - Security 10 05-25-2004 11:26 AM
Partitioning schemes snocked Linux - General 1 02-01-2004 06:20 AM

All times are GMT -5. The time now is 09:49 AM.

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