On 2/25/25 09:35, Matt Jolly wrote:
Hi,
That's an option. It means I'd have to dedicate an entire volume to
that, but it's doable.
A bind mount will not require this.
> Bind mount operation
> Remount part of the file hierarchy somewhere else. The call is:
> mount --bind olddir newdir
> . . .
> After this call the same contents are accessible in two places.
> -- `man 8 mount`
Ah! Excellent idea! Thank you!
But if the unpack phase insists on doing a "mkdir /var/tmp/portage",
would that work with a mounted drive?
It seems to be `/usr/bin install`, fwiw. A full build log would make
troubleshooting anything more than a stab in the dark.
Let's find out. Maybe it doesn't like the symlink?
In fact, it's hard for me to image that the unpack phase would fail on
that, it's just a first guess. I just want to understand what's going
on and be sure I'm not making some mistake that'll bite me later.
I don't know off the top of my head. If you really want to understand
what's going on you'll need to read the Portage sources.
Regards,
Matt
I think I'll try the really fitting idea from Viorel: PORTAGE_TMPDIR.
I'm still curious about what the problem with the symlink is, in this
case, but I can't get to it right now.
Thanks, all!