Gentoo Archives: gentoo-user

From: Iain Buchanan <iaindb@××××××××××××.au>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] partition sizes and home directories
Date: Wed, 26 Oct 2005 07:14:00
Message-Id: 1130284499.12215.15.camel@orpheus
In Reply to: [gentoo-user] partition sizes and home directories by sean
1 On Tue, 2005-10-25 at 09:44 +0000, sean wrote:
2 > I know this can be a tough call on how to partition a drive, but I am
3 > looking for some input.
4 >
5 > My system will be used as for my own personal use, no server for
6 > outside, though I may run a web server for private in home use, some
7 > games, whatever I wish to play and experiment.
8
9 The most simple and effective partition setup for a basic install is
10 just boot-root-swap! ie, a /boot partition, a / and some swapspace.
11 Everything else can hang off there.
12
13 If however, you're like me and you have lots of user downloaded stuff, I
14 would consider either an extra /home partition, or an ftp shared
15 directory where all your vids / music / games / bug stuff can go.
16
17 > Users, mainly just me, and perhaps a family member or three.
18 > Here is what I quickly setup.
19 >
20 > $ df -h
21 > Filesystem Size Used Avail Use% Mounted on
22 > /dev/hda3 471M 271M 176M 61% /
23 > udev 1004M 208K 1004M 1% /dev
24 > /dev/hda1 38M 2.6M 34M 8% /boot
25 > /dev/hda5 4.6G 185M 4.2G 5% /var
26 > /dev/hda6 31G 2.3G 27G 8% /usr
27 > shm 1004M 0 1004M 0% /dev/shm
28
29 personally I wouldn't bother with usr and var, but many people will
30 disagree.
31
32 > What caught me off guard was that fact that /home is located under / and
33 > that is where my user profiles are being set, instead of /usr/home like
34 > it is on my freebsd system.
35 > When I copied over my personal files, it quickly filled up the /
36 > partition, which I have since deleted.
37
38 *lol* You've since deleted the / partition? How is that working for
39 you?!!
40
41 > Now I noticed that there is a /usr/home, what exactly is that used for,
42 > since users are not there by default?
43
44 you probably made it by mistake when copying stuff from your freebsd
45 machine.
46
47 > I would figure /boot does not really change much in size, leave as is,
48 > maybe shrink a few mb.
49
50 I couldn't see a /boot in your `df -h` list, probably because it wasn't
51 mounted. I've never needed a /boot larger than 100Mb, and I'm
52 constantly recompiling kernels, with a few old versions lying around
53 in /boot just in case.
54
55 > /var, up and down, perhaps bring it down a gig, gig and a half.
56 > /usr, would grow depending on software installs, much as possible. I
57 > have not installed much currently.
58
59 remember /usr/portage. This can potentially hog a lot of space. I have
60 a final partition (ok I lied about only having boot-root-swap :) mounted
61 as /home/ftp/pub/gentoo, which is mounted again as /usr/portage. This
62 lets me share my distfiles with others, as well as keeping the size
63 of /usr down.
64
65 > If /home was on its own, I am guessing that the current / allocation
66 > would be fine?
67 > Anyone confirm?
68
69 If you want to keep / small, then don't forget about /opt. Quite a few
70 (but getting fewer and fewer) large apps install themselves there.
71
72 ATM in /opt I have enemy-territory, quake 3, blackdown jdk and jre,
73 vmware, and acrobat 7, as well as some others, totalling 1.1Gb!!
74
75 > Now I just have to figure what I want /home to be, or perhaps could the
76 > default setup for users be located in /usr/home?
77 > Would this cause problems?
78
79 possibly
80
81 > Is it non standard?
82
83 What standard? The everybody-else-does-it standard, or the LFS
84 standard??!!
85 --
86 Iain Buchanan <iaindb@××××××××××××.au>
87
88 --
89 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] partition sizes and home directories "A. Khattri" <ajai@××××.net>