LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 11-02-2012, 02:28 PM   #31
qweasd
Member
 
Registered: May 2010
Posts: 436

Rep: Reputation: Disabled

To add to it, this is probably one of the safest ways to clean your /tmp (if you so desire) on every shutdown. One alternative is rm -rf in a root-level script somewhere, and god help you if you make a typoi, or mount something under /tmp by mistake, or have /tmp missing and your script still doing something dumb anyway.

Last edited by qweasd; 11-02-2012 at 02:51 PM.
 
Old 11-02-2012, 03:59 PM   #32
Sli
LQ Newbie
 
Registered: Nov 2012
Posts: 17

Original Poster
Rep: Reputation: Disabled
Okay so based on all of these suggestions (and trying to come to some happy medium where there were some conflicting suggestions), would this be an appropriate partition scheme for a 116 GB hard drive for a desktop environment(in this order)?

Swap (6 GB)
/ (10 GB - ext3)
/var (10 GB - ext3)
/usr (25 GB - ext3)
/tmp (tmpfs)
/home (rest, ~65 GB - ext3)

The only real question I have is with /tmp. When partitioning with fdisk, should I be making a separate partition if I plan to use tmpfs or is this something that is prepared automatically or later in the installation? Is it not easier just to partition 5 GB as ext3 for /tmp (based on GazL's previous post it doesn't seem like tmpfs results in a significant performance boost)?

Last edited by Sli; 11-02-2012 at 04:29 PM.
 
Old 11-02-2012, 04:05 PM   #33
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,517
Blog Entries: 2

Rep: Reputation: 4018Reputation: 4018Reputation: 4018Reputation: 4018Reputation: 4018Reputation: 4018Reputation: 4018Reputation: 4018Reputation: 4018Reputation: 4018Reputation: 4018
If you want to use tmpfs for /tmp you just add later the entry given by GazL in post #28 to your /etc/fstab. You don't do anything about /tmp in fdisk in that case.
Ig you don't want to use tmpfs just make / a bit larger, IMHO a separate /tmp is not necessary in that case.
 
Old 11-02-2012, 04:39 PM   #34
Sli
LQ Newbie
 
Registered: Nov 2012
Posts: 17

Original Poster
Rep: Reputation: Disabled
Ok, then I am quite happy with the following and have marked the thread solved. I believe I could always change this later on if my needs evolve.

Swap (6 GB)
/ (15 GB - ext3)
/var (10 GB - ext3)
/usr (25 GB - ext3)
/home (rest, ~65 GB - ext3)

I will see if I add a /etc/fstab line for tmpfs later on after doing a bit more reading on the subject.

Thanks for everyone's helpful suggestions and commentary.

Last edited by Sli; 11-02-2012 at 04:48 PM.
 
Old 11-02-2012, 04:50 PM   #35
GazL
Senior Member
 
Registered: May 2008
Posts: 3,365

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
I think your earlier idea of /=30G /home=80G layout made more sense, but this conversation is in danger of becoming circular so i'll bow out at this point.
 
Old 11-02-2012, 04:55 PM   #36
Sli
LQ Newbie
 
Registered: Nov 2012
Posts: 17

Original Poster
Rep: Reputation: Disabled
Okay - well TobiSGD is also in favour of a simpler partition scheme. The only reason I made it a bit more complicated is because, from what I understood, compartmentalizing the system can limit damage if errors occur in one part of the system. If you don't think this is accurate, maybe it would just be best for me to stick to a simpler partition, especially since I clearly don't know entirely what I am doing and am mostly relying on the information from others....

Also, like I mentioned in an earlier post, the slackware site itself mentions swap, / , /home, and /usr as useful partitions. This is why I leaned towards including a separate /usr...

Last edited by Sli; 11-02-2012 at 06:44 PM.
 
Old 11-02-2012, 05:32 PM   #37
GazL
Senior Member
 
Registered: May 2008
Posts: 3,365

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Fair enough. If you want to do it that way then go for it. it's all a learning experience. The way I partition my systems has evolved over time as I've learnt what works for me and what doesn't and I have adapted it accordingly. Try your everything split up idea and see if it suits you, if it doesn't you can always re-install later with a different layout.
 
Old 11-02-2012, 06:44 PM   #38
Sli
LQ Newbie
 
Registered: Nov 2012
Posts: 17

Original Poster
Rep: Reputation: Disabled
I am tired of switching back and forth between partitioning ideas. I am just going to keep it simple and if I realize later that I need to switch it, I will. I think moving from a simpler to more complicated/specialized scheme is the more logical evolution anyways.

Thanks a lot for the help.

Swap (6 GB)
/ (30 GB)
/home (rest, ~80 GB).

Last edited by Sli; 11-02-2012 at 06:48 PM.
 
Old 11-02-2012, 09:04 PM   #39
jjthomas
Member
 
Registered: Jan 2004
Location: Tacoma, WA
Distribution: Slackware 14
Posts: 242
Blog Entries: 2

Rep: Reputation: 28
I can understand that. Simplicity is awesome. My laptop has
Code:
/XP       30G
/boot     256M
/         43G
swap      2G for 1.5 of RAM.
My Server is a lot more complicated:
Code:
/boot     256M  (SSD Drive)
/         25G   (SSD Drive)
/home     100G  (SSD Drive)
/tmp      3G    (SCSI Drive)
/mnt/SBo  4G    (SCSI Drive, files moved to storage once installed)
swap      1G    (SCSI Drive, RAM = 4G)
/mnt/Stor 212G  (Full ATA Drive)
/mnt/Cryp 1024G (Full ATA Drive)
/mnt/Back 1024G (Full External USB Drive)
I have a PATA drive with CentOS installed on it. (I forgot about that one)

I moved /temp and swap off the SSD drive to reduce wear.

-JJ

Last edited by jjthomas; 11-02-2012 at 09:05 PM. Reason: forgot code tags
 
  


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
installing slackware on external usb (GUID partition scheme) pindar Slackware - Installation 3 03-28-2012 12:31 PM
Slackware partition scheme help bigbooty Linux - Newbie 8 04-24-2011 02:53 PM
[SOLVED] slackware/multiB partition scheme suggestion (newbie here, just deleted M$ windows) Ubunoob001 Slackware 3 10-20-2010 08:31 AM
Not sure on this partition scheme ComputerMan Slackware 8 01-14-2007 04:25 PM
Partition Scheme Jaster Debian 6 11-13-2004 03:28 PM


All times are GMT -5. The time now is 05:04 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration