1 |
On Saturday 27 January 2007 18:40, Vlad Dogaru wrote: |
2 |
> One question though: is there a reason why PORTAGE_TMPDIR does not |
3 |
> default to /tmp? |
4 |
|
5 |
The real nature of /tmp isn't adequate for portage, that's why it uses a |
6 |
different one. If memory serves, the FHS defines /tmp as a temporary |
7 |
place to store files, and the continued existence of the file after a |
8 |
process has finished is not guaranteed. In other words, if there are no |
9 |
existing locks on a file, it's up for summary deletion. This could be |
10 |
fatal in a big compile - imagine if some cleaner process nuked a binary |
11 |
compiled 4 hours ago in an openoffice compile.... |
12 |
|
13 |
But the best reason is that some compiles are HUGE. Openoffice can take |
14 |
up all of 5G with everything enabled, and as /tmp is often a tmpfs, |
15 |
it's highly unlikely most users will have enough space on /tmp to |
16 |
emerge it. |
17 |
|
18 |
alan |
19 |
-- |
20 |
gentoo-user@g.o mailing list |