Gentoo Archives: gentoo-user

From: Volker Armin Hemmann <volkerarmin@××××××××××.com>
To: gentoo-user@l.g.o
Cc: Neil Bothwick <neil@××××××××××.uk>
Subject: Re: [gentoo-user] aligning SSD partitions
Date: Tue, 04 Sep 2012 20:42:15
Message-Id: 12606297.kP9TK3ELV4@energy
In Reply to: Re: [gentoo-user] aligning SSD partitions by Neil Bothwick
1 Am Dienstag, 4. September 2012, 08:47:12 schrieb Neil Bothwick:
2 > On Tue, 4 Sep 2012 03:20:03 -0400, Philip Webb wrote:
3 > > I plan to partition + format the SSD in my new machine very soon.
4 > > The Arch wiki has an article on the subject, which says
5 > > that recent versions of Fdisk will safely align SSD partitions.
6 > >
7 > > Is this correct ?
8 >
9 > Yes, but all of this was covered in some detail a few days ago.
10 >
11 > > My partition scheme is
12 > >
13 > > 1 boot 0,6 0,06 /boot
14 > > 2 root 30 3,55 / including opt usr var
15 > > 3 swap 4 -- swap
16 > > 5 home 30 3,3 /home
17 > > 6 portage 15 3,43 /usr/portage (distfiles 2,3)
18 > > 7 z 41 1,5 /z
19 > >
20 > > total 121 19,45
21 >
22 > If it's a new machine, use a GPT rather than DOS partition table.
23 >
24 > I prefer to use a small ext2 filesystem for PORTDIR for speed and set
25 > DISTDIR somewhere else (a directory in /z would make sense on your system
26 > as the contents of DISTDIR are fairly temporary)
27 >
28 > > I use /z/tmp/ for Portage's temporary disk space.
29 > > Other items, eg /usr/local/ /usr/src/ wb on the HDD.
30 > >
31 > > I plan to put /tmp/ on a ram disk.
32 >
33 > If you have enough RAM, use tmpfs for /tmp and set PORTAGE_TMPDIR=/tmp.
34
35 hell no!
36
37 don't do that!
38
39 tmpfs for /tmp is fine
40 and
41 tmpfs for PORTAGE_TMPDIR is fine too. Like /var/tmp/portage.
42
43 But don't put PORTAGE_TMPDIR into /tmp. Not good. Bad idea. Really.
44
45 IF PORTAGE_TMPDIR fills up - no biggy, emerge dies, that's it. But /tmp filled
46 up? Suddenly you will have lots of strange problems... don't do it. Spare
47 yourself some headaches.
48
49 --
50 #163933

Replies

Subject Author
Re: [gentoo-user] aligning SSD partitions Neil Bothwick <neil@××××××××××.uk>
Re: [gentoo-user] aligning SSD partitions Neil Bothwick <neil@××××××××××.uk>