[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /tmp in a small root partition (was: Bug#65511: realplayer won't install (no space left on device))



Stephan Niemz wrote:
>     IMHO it's a Good Thing to have a small root partition and a large /usr
> (and perhaps other large partitions for /var and/or /home).

Yes, certianly. But with too small a / , you do need to think about
allowing more space to /tmp.

> I could make
> /tmp a symlink to /usr/tmp or /var/tmp if I could be sure that nothing
> needs /tmp at boot time before the other partitions are mounted. Is there
> some kind of policy that assures this? (Cc'ing to debian-devel for this.)

I don't know of any policy, but I belive it will work. I have set up
/tmp as its own partition before, and it worked fine. Very little code
runs before the other partitions are mounted.

>     The spool directory is part of the /usr (or /var) filesystem, where the
> package gets installed anyway. So if there is not enough space to unpack
> the rpm, there is probably also not enough space to install the package
> itself.

/usr and /var need not be the same filesystem. It'd be legal to use
/var/tmp, but that doesn't help. I could use /usr/<something>, but that
violates at least the spirit of the FHS, and I can conceive of
failure cases that would leve junk in /usr if things went badly wrong.

>     I think I could agree if the error message would point out that it is
> /tmp where there is not enough space.

Unfortunatly, cpio generates the error.

-- 
see shy jo



Reply to: