* [gentoo-user] cleaning disfiles
@ 2009-03-24 21:37 laurent
2009-03-24 21:47 ` Dale
2009-03-25 6:59 ` Alan McKinnon
0 siblings, 2 replies; 16+ messages in thread
From: laurent @ 2009-03-24 21:37 UTC (permalink / raw
To: gentoo-user
Hi,
I need to clean disfiles or move it to /home/var/ftp/disfiles.
For first is there a tool to emerge that will manage the distfiles.
If not I was thinking copy to my home folder and symlink
/var/ftp/distfiles to it.
Is the second safe with just a symlink or should I change a PATH somewhere?
I should do both solution.
thank you
Laurent
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] cleaning disfiles
2009-03-24 21:37 [gentoo-user] cleaning disfiles laurent
@ 2009-03-24 21:47 ` Dale
2009-03-24 21:59 ` laurent
2009-03-25 6:59 ` Alan McKinnon
1 sibling, 1 reply; 16+ messages in thread
From: Dale @ 2009-03-24 21:47 UTC (permalink / raw
To: gentoo-user
laurent wrote:
> Hi,
>
> I need to clean disfiles or move it to /home/var/ftp/disfiles.
>
> For first is there a tool to emerge that will manage the distfiles.
>
> If not I was thinking copy to my home folder and symlink
> /var/ftp/distfiles to it.
>
> Is the second safe with just a symlink or should I change a PATH
> somewhere?
>
> I should do both solution.
>
> thank you
> Laurent
>
>
If you need to clean out unneeded tarballs in distfiles, you can use
eclean. It's part of gentoolkit. eclean-dist is the command you are
looking for. eclean-dist -h for more info.
If you want to move the distfiles directory, you can change the path in
make.conf and tell it where the new location is. You will have to copy
the files from the old location to the new location tho.
Hope that helps.
Dale
:-) :-)
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] cleaning disfiles
2009-03-24 21:47 ` Dale
@ 2009-03-24 21:59 ` laurent
2009-03-24 22:11 ` darren kirby
2009-03-24 23:04 ` Neil Bothwick
0 siblings, 2 replies; 16+ messages in thread
From: laurent @ 2009-03-24 21:59 UTC (permalink / raw
To: gentoo-user
Dale a écrit :
> laurent wrote:
>
>> Hi,
>>
>> I need to clean disfiles or move it to /home/var/ftp/disfiles.
>>
>> For first is there a tool to emerge that will manage the distfiles.
>>
>> If not I was thinking copy to my home folder and symlink
>> /var/ftp/distfiles to it.
>>
>> Is the second safe with just a symlink or should I change a PATH
>> somewhere?
>>
>> I should do both solution.
>>
>> thank you
>> Laurent
>>
>>
>>
>
>
> If you need to clean out unneeded tarballs in distfiles, you can use
> eclean. It's part of gentoolkit. eclean-dist is the command you are
> looking for. eclean-dist -h for more info.
>
> If you want to move the distfiles directory, you can change the path in
> make.conf and tell it where the new location is. You will have to copy
> the files from the old location to the new location tho.
>
> Hope that helps.
>
> Dale
>
> :-) :-)
>
>
>
>
Yes it help, got 50 M clean with eclean.
I looked in make.conf but did not see any 'DISTFILES_PATH'. What should
I add?
my make.conf:
# These settings were set by the catalyst build script that
automatically built$
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-O2 -pipe -march=k8"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/
ftp://mirror.ovh.net/ge$
USE="-X mmx multilib netboot sse sse2 -gtk -sdl apache2 mysql pam ssl
sasl xml $
FEATURES="-sandbox collision-protect ccache parallel-fetch"
PORTDIR_OVERLAY="/usr/local/portage"
source /home/portage/local/layman/make.conf
PORTAGE_TMPDIR=/home/portage
Thanks ;)
Laurent
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] cleaning disfiles
2009-03-24 21:59 ` laurent
@ 2009-03-24 22:11 ` darren kirby
2009-03-24 23:04 ` Neil Bothwick
1 sibling, 0 replies; 16+ messages in thread
From: darren kirby @ 2009-03-24 22:11 UTC (permalink / raw
To: gentoo-user
quoth the laurent:
>I looked in make.conf but did not see any 'DISTFILES_PATH'. What should
>I add?
> Thanks ;)
> Laurent
DISTDIR=/where/you/want/them
see 'man make.conf' for explanation and more...
-d
--
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
"...the number of UNIX installations has grown to 10, with more expected..."
- Dennis Ritchie and Ken Thompson, June 1972
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] cleaning disfiles
2009-03-24 21:59 ` laurent
2009-03-24 22:11 ` darren kirby
@ 2009-03-24 23:04 ` Neil Bothwick
1 sibling, 0 replies; 16+ messages in thread
From: Neil Bothwick @ 2009-03-24 23:04 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 286 bytes --]
On Tue, 24 Mar 2009 22:59:30 +0100, laurent wrote:
> I looked in make.conf but did not see any 'DISTFILES_PATH'. What should
> I add?
DISTDIR - it's described in the make.conf man page.
--
Neil Bothwick
Hyperbole is absolutely the worst mistake you can possibly make
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] cleaning disfiles
2009-03-24 21:37 [gentoo-user] cleaning disfiles laurent
2009-03-24 21:47 ` Dale
@ 2009-03-25 6:59 ` Alan McKinnon
2009-03-25 8:31 ` Dale
2009-03-25 12:03 ` laurent
1 sibling, 2 replies; 16+ messages in thread
From: Alan McKinnon @ 2009-03-25 6:59 UTC (permalink / raw
To: gentoo-user
On Tuesday 24 March 2009 23:37:50 laurent wrote:
> Hi,
>
> I need to clean disfiles or move it to /home/var/ftp/disfiles.
>
> For first is there a tool to emerge that will manage the distfiles.
eclean - part of app-portage/gentoolkit
> If not I was thinking copy to my home folder and symlink
> /var/ftp/distfiles to it.
>
> Is the second safe with just a symlink or should I change a PATH somewhere?
Change DISTDIR in /etc/make.conf to point to the new location
But this is not a good idea, as distfiles will be owned by root or portage and
it's in your home directory owned by you.
Rather leave distfiles where it is, and create a symlink in ~ that points to
distfiles. I can't imagine how your scheme would benefit you in any way.
> I should do both solution.
>
> thank you
> Laurent
--
alan dot mckinnon at gmail dot com
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] cleaning disfiles
2009-03-25 6:59 ` Alan McKinnon
@ 2009-03-25 8:31 ` Dale
2009-03-25 12:00 ` laurent
2009-03-25 12:03 ` laurent
1 sibling, 1 reply; 16+ messages in thread
From: Dale @ 2009-03-25 8:31 UTC (permalink / raw
To: gentoo-user
Alan McKinnon wrote:
> On Tuesday 24 March 2009 23:37:50 laurent wrote:
>
>> Hi,
>>
>> I need to clean disfiles or move it to /home/var/ftp/disfiles.
>>
>> For first is there a tool to emerge that will manage the distfiles.
>>
>
> eclean - part of app-portage/gentoolkit
>
>
>> If not I was thinking copy to my home folder and symlink
>> /var/ftp/distfiles to it.
>>
>> Is the second safe with just a symlink or should I change a PATH somewhere?
>>
>
> Change DISTDIR in /etc/make.conf to point to the new location
>
> But this is not a good idea, as distfiles will be owned by root or portage and
> it's in your home directory owned by you.
>
> Rather leave distfiles where it is, and create a symlink in ~ that points to
> distfiles. I can't imagine how your scheme would benefit you in any way.
>
>
>> I should do both solution.
>>
>> thank you
>> Laurent
>>
>
>
I think he is running our of disk space and trying to move it to a
partition that has more space. He didn't say that but I think that is
the issue at hand.
I do suspect that this could cause . . . . issues in the long run.
Permissions is a good one to mention.
Dale
:-) :-)
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] cleaning disfiles
2009-03-25 8:31 ` Dale
@ 2009-03-25 12:00 ` laurent
2009-03-25 12:05 ` Neil Bothwick
2009-03-25 18:10 ` Mike Kazantsev
0 siblings, 2 replies; 16+ messages in thread
From: laurent @ 2009-03-25 12:00 UTC (permalink / raw
To: gentoo-user
Dale a écrit :
> Alan McKinnon wrote:
>
>> On Tuesday 24 March 2009 23:37:50 laurent wrote:
>>
>>
>>> Hi,
>>>
>>> I need to clean disfiles or move it to /home/var/ftp/disfiles.
>>>
>>> For first is there a tool to emerge that will manage the distfiles.
>>>
>>>
>> eclean - part of app-portage/gentoolkit
>>
>>
>>
>>> If not I was thinking copy to my home folder and symlink
>>> /var/ftp/distfiles to it.
>>>
>>> Is the second safe with just a symlink or should I change a PATH somewhere?
>>>
>>>
>> Change DISTDIR in /etc/make.conf to point to the new location
>>
>> But this is not a good idea, as distfiles will be owned by root or portage and
>> it's in your home directory owned by you.
>>
>> Rather leave distfiles where it is, and create a symlink in ~ that points to
>> distfiles. I can't imagine how your scheme would benefit you in any way.
>>
>>
>>
>>> I should do both solution.
>>>
>>> thank you
>>> Laurent
>>>
>>>
>>
>>
>
> I think he is running our of disk space and trying to move it to a
> partition that has more space. He didn't say that but I think that is
> the issue at hand.
>
> I do suspect that this could cause . . . . issues in the long run.
> Permissions is a good one to mention.
>
> Dale
>
> :-) :-)
>
>
>
>
yes it's exactly that, I did not choose the install partitionning. So I
moved portage, www and now disfiles from /var to /home/var.
For the other ones I did add a symlink also. Should I do that for
disfiles? What do you mean by permissions issues ??
Another question about emerge -v world, I go a empty manifest on layman.
What should I do to fix that ?
Thanks!
Laurent
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] cleaning disfiles
2009-03-25 6:59 ` Alan McKinnon
2009-03-25 8:31 ` Dale
@ 2009-03-25 12:03 ` laurent
2009-03-25 12:22 ` Alan McKinnon
1 sibling, 1 reply; 16+ messages in thread
From: laurent @ 2009-03-25 12:03 UTC (permalink / raw
To: gentoo-user
Alan McKinnon a écrit :
> On Tuesday 24 March 2009 23:37:50 laurent wrote:
>
>> Hi,
>>
>> I need to clean disfiles or move it to /home/var/ftp/disfiles.
>>
>> For first is there a tool to emerge that will manage the distfiles.
>>
>
> eclean - part of app-portage/gentoolkit
>
>
>> If not I was thinking copy to my home folder and symlink
>> /var/ftp/distfiles to it.
>>
>> Is the second safe with just a symlink or should I change a PATH somewhere?
>>
>
> Change DISTDIR in /etc/make.conf to point to the new location
>
> But this is not a good idea, as distfiles will be owned by root or portage and
> it's in your home directory owned by you.
>
drwxr-xr-x 14 root root 4096 mar 24 20:19 home
looks owned by root.
> Rather leave distfiles where it is, and create a symlink in ~ that points to
> distfiles. I can't imagine how your scheme would benefit you in any way.
>
>
>> I should do both solution.
>>
>> thank you
>> Laurent
>>
>
>
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] cleaning disfiles
2009-03-25 12:00 ` laurent
@ 2009-03-25 12:05 ` Neil Bothwick
2009-03-25 18:10 ` Mike Kazantsev
1 sibling, 0 replies; 16+ messages in thread
From: Neil Bothwick @ 2009-03-25 12:05 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 686 bytes --]
On Wed, 25 Mar 2009 13:00:15 +0100, laurent wrote:
> yes it's exactly that, I did not choose the install partitionning. So I
> moved portage, www and now disfiles from /var to /home/var.
> For the other ones I did add a symlink also. Should I do that for
> disfiles? What do you mean by permissions issues ??
So you're putting it on the /home partition but not in your home
directory? In that case, permissions are not a problem as the directory
will only be used by portage, just set DISTDIR="/home/distfiles" in
make.conf, no need to mess around with symlinks.
--
Neil Bothwick
Sex is hereditary. If your parents never had it, chances are you wont
either. -
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] cleaning disfiles
2009-03-25 12:03 ` laurent
@ 2009-03-25 12:22 ` Alan McKinnon
2009-03-25 12:33 ` laurent
0 siblings, 1 reply; 16+ messages in thread
From: Alan McKinnon @ 2009-03-25 12:22 UTC (permalink / raw
To: gentoo-user
On Wednesday 25 March 2009 14:03:34 laurent wrote:
> > But this is not a good idea, as distfiles will be owned by root or
> > portage and it's in your home directory owned by you.
> >
>
> drwxr-xr-x 14 root root 4096 mar 24 20:19 home
>
> looks owned by root.
/home is not your home directory.
Out of the box emerge runs as the portage user, which will not have write
permission to your home directory unless you modify the ownership/permissions.
But your real problem is a stupid original disk layout. Why don;t you decide
to fix that instead of getting into cute tricks with symlinks?
--
alan dot mckinnon at gmail dot com
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] cleaning disfiles
2009-03-25 12:22 ` Alan McKinnon
@ 2009-03-25 12:33 ` laurent
2009-03-25 18:17 ` Mike Kazantsev
0 siblings, 1 reply; 16+ messages in thread
From: laurent @ 2009-03-25 12:33 UTC (permalink / raw
To: gentoo-user
Alan McKinnon a écrit :
> On Wednesday 25 March 2009 14:03:34 laurent wrote:
>
>>> But this is not a good idea, as distfiles will be owned by root or
>>> portage and it's in your home directory owned by you.
>>>
>>>
>> drwxr-xr-x 14 root root 4096 mar 24 20:19 home
>>
>> looks owned by root.
>>
>
> /home is not your home directory.
>
> Out of the box emerge runs as the portage user, which will not have write
> permission to your home directory unless you modify the ownership/permissions.
>
> But your real problem is a stupid original disk layout. Why don;t you decide
> to fix that instead of getting into cute tricks with symlinks?
>
>
Because I let my server host install it with their default disk layout.
When I realise it looks pretty un-servish I had already installed http
server with client website on it.
The simplest for me was to move folders because I did not find any 'how
to' that say it would be simple de repartition with keeping your data on.
Laurent
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] cleaning disfiles
2009-03-25 12:00 ` laurent
2009-03-25 12:05 ` Neil Bothwick
@ 2009-03-25 18:10 ` Mike Kazantsev
1 sibling, 0 replies; 16+ messages in thread
From: Mike Kazantsev @ 2009-03-25 18:10 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 310 bytes --]
On Wed, 25 Mar 2009 13:00:15 +0100
laurent <laurent@logiquefloue.org> wrote:
> Another question about emerge -v world, I go a empty manifest on layman.
> What should I do to fix that ?
cd /usr/local/portage/layman/someoverlay/some/package && \
repoman manifest
--
Mike Kazantsev // fraggod.net
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] cleaning disfiles
2009-03-25 12:33 ` laurent
@ 2009-03-25 18:17 ` Mike Kazantsev
2009-03-26 15:36 ` laurent
0 siblings, 1 reply; 16+ messages in thread
From: Mike Kazantsev @ 2009-03-25 18:17 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 968 bytes --]
On Wed, 25 Mar 2009 13:33:58 +0100
laurent <laurent@logiquefloue.org> wrote:
> > But your real problem is a stupid original disk layout. Why don;t you decide
> > to fix that instead of getting into cute tricks with symlinks?
> >
> Because I let my server host install it with their default disk layout.
> When I realise it looks pretty un-servish I had already installed http
> server with client website on it.
> The simplest for me was to move folders because I did not find any 'how
> to' that say it would be simple de repartition with keeping your data on.
It should be pretty easy to rsync /home to some other (temporary)
place, 'pvcreate /dev/home-whatever' and lvcreate, say, a
separate vol for portage (with it's ever-growing tree/distfiles) and
for /home, leaving plenty of space to play with, should you need it
either on these partitions or to create others.
Well, LVM is just what I mean ;)
--
Mike Kazantsev // fraggod.net
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] cleaning disfiles
2009-03-25 18:17 ` Mike Kazantsev
@ 2009-03-26 15:36 ` laurent
2009-03-26 18:24 ` Neil Bothwick
0 siblings, 1 reply; 16+ messages in thread
From: laurent @ 2009-03-26 15:36 UTC (permalink / raw
To: gentoo-user
Mike Kazantsev a écrit :
> On Wed, 25 Mar 2009 13:33:58 +0100
> laurent <laurent@logiquefloue.org> wrote:
>
>
>>> But your real problem is a stupid original disk layout. Why don;t you decide
>>> to fix that instead of getting into cute tricks with symlinks?
>>>
>>>
>> Because I let my server host install it with their default disk layout.
>> When I realise it looks pretty un-servish I had already installed http
>> server with client website on it.
>> The simplest for me was to move folders because I did not find any 'how
>> to' that say it would be simple de repartition with keeping your data on.
>>
>
> It should be pretty easy to rsync /home to some other (temporary)
> place, 'pvcreate /dev/home-whatever' and lvcreate, say, a
> separate vol for portage (with it's ever-growing tree/distfiles) and
> for /home, leaving plenty of space to play with, should you need it
> either on these partitions or to create others.
>
> Well, LVM is just what I mean ;)
>
>
LVM...hm nice new word to me. And rsync too, looks good. Ok I will have
a look when I'm safer.
Got that emerge -v world to finish ;)
I read about a tool to color the etc-update difference, can't find it
again, if you know about it ;)
thx
Laurent.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] cleaning disfiles
2009-03-26 15:36 ` laurent
@ 2009-03-26 18:24 ` Neil Bothwick
0 siblings, 0 replies; 16+ messages in thread
From: Neil Bothwick @ 2009-03-26 18:24 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 267 bytes --]
On Thu, 26 Mar 2009 16:36:41 +0100, laurent wrote:
> I read about a tool to color the etc-update difference, can't find it
> again, if you know about it ;)
colordiff, it's in portage.
--
Neil Bothwick
0 and 1. Now what could be so hard about that?
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2009-03-26 18:24 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-24 21:37 [gentoo-user] cleaning disfiles laurent
2009-03-24 21:47 ` Dale
2009-03-24 21:59 ` laurent
2009-03-24 22:11 ` darren kirby
2009-03-24 23:04 ` Neil Bothwick
2009-03-25 6:59 ` Alan McKinnon
2009-03-25 8:31 ` Dale
2009-03-25 12:00 ` laurent
2009-03-25 12:05 ` Neil Bothwick
2009-03-25 18:10 ` Mike Kazantsev
2009-03-25 12:03 ` laurent
2009-03-25 12:22 ` Alan McKinnon
2009-03-25 12:33 ` laurent
2009-03-25 18:17 ` Mike Kazantsev
2009-03-26 15:36 ` laurent
2009-03-26 18:24 ` Neil Bothwick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox