From: Pacho Ramos <pacho@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] About suggesting to create a separate partition for portage tree in handbook
Date: Fri, 30 Mar 2012 10:06:18 +0200 [thread overview]
Message-ID: <1333094778.1407.9.camel@belkin4> (raw)
In-Reply-To: <20120327200532.GA15040@thinkpad.rutgers.edu>
[-- Attachment #1: Type: text/plain, Size: 3409 bytes --]
El mar, 27-03-2012 a las 16:05 -0400, Alec Moskvin escribió:
> On Tuesday 27 March 2012 14:34:03, Alexandre Rostovtsev wrote:
> > On Tue, 2012-03-27 at 20:01 +0200, Sven Vermeulen wrote:
> > > On Tue, Mar 27, 2012 at 07:49:00PM +0200, Pacho Ramos wrote:
> > > > I am a bit surprised handbook still doesn't suggest people to create a
> > > > separate partition for /usr/portage tree. I remember my first Gentoo
> > > > systems had it inside / and that lead to a lot of fragmentation, much
> > > > slower "emerge -pvuDN world" (I benchmarked it when I changed my
> > > > partitioning scheme to put /usr/portage) separate and a lot of disk
> > > > space lost (I remember portage tree reached around 3 GB of disk space
> > > > while I am now running with 300MB)
> > > >
> > > > Could handbook suggest people to put /usr/portage on a different
> > > > partition then? The only doubt I have is what filesystem would be better
> > > > for it, in my case I am using reiserfs with tail enabled, but maybe you
> > > > have other different setups.
> > >
> > > To be honest, I don't think it is wise to describe it in the Gentoo Handbook
> > > just yet. I don't mind having it documented elsewhere, but the separate
> > > partition is not mandatory for getting Gentoo up and running. The
> > > instructions currently also just give an example partition layout and tell
> > > users that different layouts are perfectly possible.
> > >
> > > We need to take into consideration what is needed (must) for a Gentoo
> > > installation, what is seriously recommended (should), what is nice to have
> > > (could), etc. And for me, having a separate /usr/portage is a nice-to-have
> > > imo.
> >
> > The partitioning scheme is something that the user needs to decide on
> > *before* getting Gentoo up and running. After the user had finished
> > installing the operating system, it's too late to inform him about the
> > advantages of a separate /usr/portage.
>
> It does not have to be a separate *physical* partition. It could be set
> up as a loop device without any real downsides:
>
> /usr/portage/tree.ext4 /usr/portage/tree ext4 loop,noatime 0 0
>
> An advantage is that it can be easily resized if necessary.
>
> > IMHO, chapter 4 of the handbook needs the following changes:
> >
> > 1. ext4, not ext3, needs to be recommended as the default filesystem. We
> > have kernel 3.2 marked stable, there is no need to keep talking about
> > ext4 as if it's something experimental.
> >
> > 2. The handbook should mention that a separate small /usr/portage
> > partition can noticeably improve performance for users with a rotational
> > hard drive, and that it's not needed for solid-state drives. It should
> > also mention that using Gentoo with a separate /usr/portage partition
> > will require some additional configuration (such as changing DISTDIR and
> > PKGDIR to avoid running out of space).
> >
> > -Alexandre.
> >
> >
>
>
(I think this last reply can complete my replies to this thread for
now :))
Looks then that there are several alternatives for portage tree, then,
maybe the option would be to add a note to Gentoo Handbook explaining
the cons of having portage tree on a standard partition and, then, put a
link to a wiki page (for example) where all this alternatives are
explained.
What do you think about this approach?
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2012-03-30 8:07 UTC|newest]
Thread overview: 54+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20337.28987.736877.961717@a1i15.kph.uni-mainz.de>
[not found] ` <20120327154239.GA17394@gentoo.org>
2012-03-27 17:49 ` [gentoo-dev] About suggesting to create a separate partition for portage tree in handbook Pacho Ramos
2012-03-27 18:01 ` Sven Vermeulen
2012-03-27 18:21 ` Aaron W. Swenson
2012-03-27 18:34 ` Alexandre Rostovtsev
2012-03-27 18:47 ` Rich Freeman
2012-03-27 18:53 ` Ian Stakenvicius
2012-03-27 19:02 ` vivo75
2012-03-27 19:04 ` Aaron W. Swenson
2012-03-27 19:13 ` Ian Stakenvicius
2012-03-27 19:31 ` Aaron W. Swenson
2012-03-27 19:16 ` Kent Fredric
2012-03-30 8:00 ` Pacho Ramos
2012-03-27 19:15 ` Sven Vermeulen
2012-03-27 19:20 ` Kent Fredric
2012-03-27 19:29 ` William Hubbs
2012-03-27 19:40 ` Sven Vermeulen
2012-03-27 19:57 ` Richard Yao
2012-03-27 20:15 ` Kent Fredric
2012-03-27 20:05 ` Alec Moskvin
2012-03-30 8:06 ` Pacho Ramos [this message]
2012-03-31 8:44 ` Sven Vermeulen
2012-03-31 9:35 ` Brian Harring
2012-03-31 13:36 ` Pacho Ramos
2012-03-31 13:34 ` Pacho Ramos
2012-03-31 17:42 ` Zac Medico
2012-03-31 23:25 ` Walter Dnes
2012-04-01 0:33 ` Zac Medico
2013-07-21 11:42 ` Pacho Ramos
2013-07-21 11:57 ` Michał Górny
2013-07-21 12:06 ` Pacho Ramos
2013-07-21 12:15 ` Michał Górny
2013-07-21 18:00 ` Zac Medico
2013-07-21 18:55 ` Michał Górny
2013-07-21 14:26 ` Michael Weber
2013-07-21 14:46 ` justin
2013-07-21 17:01 ` Pacho Ramos
2012-04-01 8:06 ` Pacho Ramos
2012-04-01 15:28 ` [gentoo-dev] " Steven J Long
2012-04-02 4:41 ` Walter Dnes
2012-03-30 7:57 ` [gentoo-dev] " Pacho Ramos
2012-03-30 7:57 ` Pacho Ramos
2012-03-27 18:16 ` Ciaran McCreesh
2012-03-28 7:16 ` Brian Dolbec
2012-03-28 10:35 ` Rich Freeman
2012-03-28 14:53 ` Kent Fredric
2012-03-28 14:59 ` Richard Yao
2012-03-28 15:27 ` Matt Turner
2012-03-28 15:37 ` Rich Freeman
2012-03-28 18:56 ` Brian Dolbec
2012-03-28 17:41 ` Joshua Kinard
2012-03-28 22:27 ` Joshua Saddler
2012-03-29 0:35 ` Dale
2012-03-29 2:21 ` [gentoo-dev] " Duncan
2012-03-29 3:11 ` Dale
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1333094778.1407.9.camel@belkin4 \
--to=pacho@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox