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

Re: unchecked 31 times



Greg Folkert said on Tue, Dec 02, 2003 at 06:07:41PM -0500:
> On Tue, 2003-12-02 at 17:20, Mark Ferlatte wrote:
> > Paul Morgan said on Tue, Dec 02, 2003 at 03:49:52PM -0500:
> > Right... so, again with the "why put /usr on a seperate partition from /"?
> > Making / large enough to hold /usr certainly fulfills the req of the
> > contents of the root filesystem being adequate to boot, restore, recover
> > and repair the system.
> 
> /usr should NOT be needed to repair, recover, maintain, restore or boot.  It
> goes against everything I have ever known about UNIX/Linux/*BSD.
 
That's not what I suggested.  I agree: the contents of /usr should not be
needed to recover.

However, just because it's not needed doesn't mean it couldn't be there, fairly
safely from what I can tell.  That's all I am trying to establish.

> > > /tmp and /var/tmp have different purposes.  Check FHS again.  Actually, I
> > > have both /tmp and /var/tmp on their own logical volumes.
> > 
> > Okay, so neither your /tmp or /var/tmp volumes are available at boot time.
> > So, why have a seperate /tmp and /var/tmp?
> 
> Because it allows you to keep systems over runs from disabling the machine.
> Ever tried to access a machine with a FULL / and/or /var?
 
Yes.  It is unpleasant.  I think there is a misunderstanding here, though: I'm
not suggesting that /var/tmp or /tmp couldn't or shouldn't be a seperate
partition.  I am questioning the need for two seperate yet nearly identical
temporary file locations that appear to have nearly identical semantics.

I believe that Karsten's email points out some subtle differences between them,
though.

> > According to the FHS 2.2, the only difference between /tmp and /var/tmp is
> > that data in /var/tmp be "more persistant" than data in /tmp, but the only
> > restriction on /tmp is that programs not assume that data in /tmp persists
> > between invocations of a program.
> > 
> > In other words, /var/tmp appears to completely fulfill the requirements of
> > /tmp, which makes me wonder why they are seperate.
> 
> Because they are treated differently in practice... which allows something to
> store a map of stuff, or a session cache in /var/tmp and to use /tmp as a
> spillover area for temp data to be worked on.

This is fair, although there is no real reason for the app to care that /tmp
and /var/tmp are the same, provided there is sufficient space in the tmp
partition.

M

Attachment: pgp2tY9lqpp4i.pgp
Description: PGP signature


Reply to: