* [gentoo-user] sharing portage directories when dual booting x86 and amd64
@ 2007-05-24 21:42 Allan Gottlieb
2007-05-24 21:51 ` Mark Shields
` (2 more replies)
0 siblings, 3 replies; 12+ messages in thread
From: Allan Gottlieb @ 2007-05-24 21:42 UTC (permalink / raw
To: gentoo-user
I have a core 2 duo (dell 6400), which is currently running x86.
I am thinking of setting up another partition and dual booting amd64.
My question concerns sharing some directories between the two
(naturally only one is active at a time).
In particular can I share
* distfiles (DISTDIR)
* logs (PORT_LOGDIR)
* tmp (PORTAGE_TMPDIR)
Thanks,
allan
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] sharing portage directories when dual booting x86 and amd64
2007-05-24 21:42 [gentoo-user] sharing portage directories when dual booting x86 and amd64 Allan Gottlieb
@ 2007-05-24 21:51 ` Mark Shields
2007-05-24 23:46 ` Neil Bothwick
2007-05-25 0:12 ` Will Briggs
2007-05-25 9:32 ` Bo Ørsted Andresen
2 siblings, 1 reply; 12+ messages in thread
From: Mark Shields @ 2007-05-24 21:51 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 819 bytes --]
On 5/24/07, Allan Gottlieb <gottlieb@nyu.edu> wrote:
>
> I have a core 2 duo (dell 6400), which is currently running x86.
> I am thinking of setting up another partition and dual booting amd64.
>
> My question concerns sharing some directories between the two
> (naturally only one is active at a time).
>
> In particular can I share
>
> * distfiles (DISTDIR)
> * logs (PORT_LOGDIR)
> * tmp (PORTAGE_TMPDIR)
>
> Thanks,
> allan
> --
> gentoo-user@gentoo.org mailing list
>
>
You can probably share all of them, but just realize the distfiles for x86
won't be usable for amd64 and vice-versa (unless you're going to use an x86
distfile on the amd64 because there isn't an amd64 version available). But
let me ask you this: are you really that strapped for space to have to
share these directories?
--
- Mark Shields
[-- Attachment #2: Type: text/html, Size: 1196 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] sharing portage directories when dual booting x86 and amd64
2007-05-24 21:51 ` Mark Shields
@ 2007-05-24 23:46 ` Neil Bothwick
2007-05-25 3:09 ` Mark Shields
0 siblings, 1 reply; 12+ messages in thread
From: Neil Bothwick @ 2007-05-24 23:46 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 709 bytes --]
On Thu, 24 May 2007 17:51:09 -0400, Mark Shields wrote:
> You can probably share all of them, but just realize the distfiles for
> x86 won't be usable for amd64 and vice-versa (unless you're going to
> use an x86 distfile on the amd64 because there isn't an amd64 version
> available).
Of course they will, because they contains source code. Of course,
sometimes there will be different versions of a package marked stable in
x86 and amd64, and some patch files are arch-specific, but generally most
packages use the same source files whatever the architecture. I use a
shared $DISTDIR for x86, ~x86, ~amd64 and ~ppc systems.
--
Neil Bothwick
Do hungry crows have ravenous appetites?
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] sharing portage directories when dual booting x86 and amd64
2007-05-24 21:42 [gentoo-user] sharing portage directories when dual booting x86 and amd64 Allan Gottlieb
2007-05-24 21:51 ` Mark Shields
@ 2007-05-25 0:12 ` Will Briggs
2007-05-25 5:28 ` Roman Zimmermann
2007-05-25 9:32 ` Bo Ørsted Andresen
2 siblings, 1 reply; 12+ messages in thread
From: Will Briggs @ 2007-05-25 0:12 UTC (permalink / raw
To: gentoo-user
Allan Gottlieb wrote:
> I have a core 2 duo (dell 6400), which is currently running x86.
> I am thinking of setting up another partition and dual booting amd64.
I assume you've checked whether it is 64-bit compatible. Not all Core 2
Duo's in 6400's are. I have a T2400 processor in my 6400 which is not
em64t enabled. Not that I mind - plenty quick enough in 32-bit mode.
cat /proc/cpuinfo look for em64t in flags to make sure.
>
> My question concerns sharing some directories between the two
> (naturally only one is active at a time).
>
> In particular can I share
>
> * distfiles (DISTDIR)
definitely - it's source code after all.
Not sure about the others - logs is an output so should be safe, tmp may
have some portage state stuff in it but I know nothing...
W.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] sharing portage directories when dual booting x86 and amd64
2007-05-24 23:46 ` Neil Bothwick
@ 2007-05-25 3:09 ` Mark Shields
0 siblings, 0 replies; 12+ messages in thread
From: Mark Shields @ 2007-05-25 3:09 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 930 bytes --]
On 5/24/07, Neil Bothwick <neil@digimed.co.uk> wrote:
>
> On Thu, 24 May 2007 17:51:09 -0400, Mark Shields wrote:
>
> > You can probably share all of them, but just realize the distfiles for
> > x86 won't be usable for amd64 and vice-versa (unless you're going to
> > use an x86 distfile on the amd64 because there isn't an amd64 version
> > available).
>
> Of course they will, because they contains source code. Of course,
> sometimes there will be different versions of a package marked stable in
> x86 and amd64, and some patch files are arch-specific, but generally most
> packages use the same source files whatever the architecture. I use a
> shared $DISTDIR for x86, ~x86, ~amd64 and ~ppc systems.
>
>
> --
> Neil Bothwick
>
> Do hungry crows have ravenous appetites?
>
>
Yeah, you're right. Now that I re-read it, I realized I was thinking, for
some odd reason, that he was talking about the kernel.
--
- Mark Shields
[-- Attachment #2: Type: text/html, Size: 1277 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] sharing portage directories when dual booting x86 and amd64
2007-05-25 0:12 ` Will Briggs
@ 2007-05-25 5:28 ` Roman Zimmermann
2007-05-25 5:56 ` Allan Gottlieb
0 siblings, 1 reply; 12+ messages in thread
From: Roman Zimmermann @ 2007-05-25 5:28 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 557 bytes --]
Will Briggs wrote:
> Allan Gottlieb wrote:
> > I have a core 2 duo (dell 6400), which is currently running x86.
> > I am thinking of setting up another partition and dual booting amd64.
>
> .... Not all Core 2
> Duo's in 6400's are. I have a T2400 processor in my 6400 which is not
> em64t enabled. Not that I mind - plenty quick enough in 32-bit mode.
That's not entirely true: _All_ Core 2 Duo processors have the 64bit
instruction sets. Your T2400 is not a "Core 2 Duo", it's a "Core Duo".
(http://en.wikipedia.org/wiki/Core_2)
Roman
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] sharing portage directories when dual booting x86 and amd64
2007-05-25 5:28 ` Roman Zimmermann
@ 2007-05-25 5:56 ` Allan Gottlieb
0 siblings, 0 replies; 12+ messages in thread
From: Allan Gottlieb @ 2007-05-25 5:56 UTC (permalink / raw
To: gentoo-user
At Fri, 25 May 2007 07:28:31 +0200 Roman Zimmermann <mereandor@gmail.com> wrote:
> Will Briggs wrote:
>> Allan Gottlieb wrote:
>> > I have a core 2 duo (dell 6400), which is currently running x86.
>> > I am thinking of setting up another partition and dual booting amd64.
>>
>> .... Not all Core 2
>> Duo's in 6400's are. I have a T2400 processor in my 6400 which is not
>> em64t enabled. Not that I mind - plenty quick enough in 32-bit mode.
>
> That's not entirely true: _All_ Core 2 Duo processors have the 64bit
> instruction sets. Your T2400 is not a "Core 2 Duo", it's a "Core Duo".
> (http://en.wikipedia.org/wiki/Core_2)
Correct. I specifically purchased a core 2 duo, which I know is
64-bit capable.
allan
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] sharing portage directories when dual booting x86 and amd64
2007-05-24 21:42 [gentoo-user] sharing portage directories when dual booting x86 and amd64 Allan Gottlieb
2007-05-24 21:51 ` Mark Shields
2007-05-25 0:12 ` Will Briggs
@ 2007-05-25 9:32 ` Bo Ørsted Andresen
2007-05-25 16:52 ` Allan Gottlieb
2 siblings, 1 reply; 12+ messages in thread
From: Bo Ørsted Andresen @ 2007-05-25 9:32 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 427 bytes --]
On Thursday 24 May 2007 23:42:11 Allan Gottlieb wrote:
> In particular can I share
>
> * distfiles (DISTDIR)
> * logs (PORT_LOGDIR)
Sure.
> * tmp (PORTAGE_TMPDIR)
If you ever compile the same package at the same time that may not be such a
good idea. Even if it works it may be confusing. Why not just make two
subdirs in the same place and use one as PORTAGE_TMPDIR for each system..?
--
Bo Andresen
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] sharing portage directories when dual booting x86 and amd64
2007-05-25 9:32 ` Bo Ørsted Andresen
@ 2007-05-25 16:52 ` Allan Gottlieb
2007-05-25 17:24 ` Roman Zimmermann
2007-05-27 14:13 ` Bo Ørsted Andresen
0 siblings, 2 replies; 12+ messages in thread
From: Allan Gottlieb @ 2007-05-25 16:52 UTC (permalink / raw
To: gentoo-user
At Fri, 25 May 2007 11:32:48 +0200 Bo Ørsted Andresen <bo.andresen@zlin.dk> wrote:
> On Thursday 24 May 2007 23:42:11 Allan Gottlieb wrote:
>> In particular can I share
>>
>> * tmp (PORTAGE_TMPDIR)
>
> If you ever compile the same package at the same time that may not be such a
> good idea. Even if it works it may be confusing. Why not just make two
> subdirs in the same place and use one as PORTAGE_TMPDIR for each system..?
How can that happen? As I mentioned, I would be dual booting into
*either* x86 or amd64. There is only one computer (my laptop)
involved; all filesystems are local.
Perhaps your suggestion of separate subdirs is better for clarity, but
I don't see how the problem you mentioned can occur in my situation.
thanks,
allan
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] sharing portage directories when dual booting x86 and amd64
2007-05-25 16:52 ` Allan Gottlieb
@ 2007-05-25 17:24 ` Roman Zimmermann
2007-05-25 18:08 ` Allan Gottlieb
2007-05-27 14:13 ` Bo Ørsted Andresen
1 sibling, 1 reply; 12+ messages in thread
From: Roman Zimmermann @ 2007-05-25 17:24 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 655 bytes --]
Am Freitag 25 Mai 2007 18:52 schrieb Allan Gottlieb wrote:
> As I mentioned, I would be dual booting into
> *either* x86 or amd64. There is only one computer (my laptop)
> involved; all filesystems are local.
Since the two systems can never be booted simultanously you can AFAIK share
all of those directories without problems. For DISTDIR this is especially
useful to save download time...
I'd recommend to use separate LOGDIR so you're able do distinguish what
happened in which system.
If you use ccache you'll probably want to separate those directories too,
since the cache for one arch won't be usefull on the other arch.
Roman
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] sharing portage directories when dual booting x86 and amd64
2007-05-25 17:24 ` Roman Zimmermann
@ 2007-05-25 18:08 ` Allan Gottlieb
0 siblings, 0 replies; 12+ messages in thread
From: Allan Gottlieb @ 2007-05-25 18:08 UTC (permalink / raw
To: gentoo-user
At Fri, 25 May 2007 19:24:41 +0200 Roman Zimmermann <mereandor@gmail.com> wrote:
> Am Freitag 25 Mai 2007 18:52 schrieb Allan Gottlieb wrote:
>> As I mentioned, I would be dual booting into
>> *either* x86 or amd64. There is only one computer (my laptop)
>> involved; all filesystems are local.
>
> Since the two systems can never be booted simultanously you can AFAIK share
> all of those directories without problems. For DISTDIR this is especially
> useful to save download time...
Right
> I'd recommend to use separate LOGDIR so you're able do distinguish
> what happened in which system.
Good point and since the log for each compilation is separate, no
extra space will be involved.
thanks,
allan
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] sharing portage directories when dual booting x86 and amd64
2007-05-25 16:52 ` Allan Gottlieb
2007-05-25 17:24 ` Roman Zimmermann
@ 2007-05-27 14:13 ` Bo Ørsted Andresen
1 sibling, 0 replies; 12+ messages in thread
From: Bo Ørsted Andresen @ 2007-05-27 14:13 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 531 bytes --]
On Friday 25 May 2007 18:52:12 Allan Gottlieb wrote:
> >> In particular can I share
> >>
> >> * tmp (PORTAGE_TMPDIR)
> >
> > If you ever compile the same package at the same time that may not be
> > such a good idea. Even if it works it may be confusing. Why not just make
> > two subdirs in the same place and use one as PORTAGE_TMPDIR for each
> > system..?
>
> How can that happen? As I mentioned, I would be dual booting into
> *either* x86 or amd64.
I missed that part. You're right then.
--
Bo Andresen
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2007-05-27 14:18 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-24 21:42 [gentoo-user] sharing portage directories when dual booting x86 and amd64 Allan Gottlieb
2007-05-24 21:51 ` Mark Shields
2007-05-24 23:46 ` Neil Bothwick
2007-05-25 3:09 ` Mark Shields
2007-05-25 0:12 ` Will Briggs
2007-05-25 5:28 ` Roman Zimmermann
2007-05-25 5:56 ` Allan Gottlieb
2007-05-25 9:32 ` Bo Ørsted Andresen
2007-05-25 16:52 ` Allan Gottlieb
2007-05-25 17:24 ` Roman Zimmermann
2007-05-25 18:08 ` Allan Gottlieb
2007-05-27 14:13 ` Bo Ørsted Andresen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox