how big does /tmp need to be?

Karl Larsen k5di at zianet.com
Thu Aug 14 19:35:44 UTC 2008


Brian McKee wrote:
> On Thu, Aug 14, 2008 at 10:08 AM, Rashkae <ubuntu at tigershaunt.com> wrote:
>   
>> The only reason I can think of to use a separate partition for anything,
>> be it /var or /home, is to preserve that data when something else is
>> being destroyed/overwritten.
>>     
>
> People create partitions for other reasons too.
>
> One is some kind of performance/disk size issues - e.g. /tmp is on a
> separate faster drive, or it's local when all your other partitions
> are NFS mounted.
>
> Another reason I can think of is keeping the system up when you run
> out of space.
> For instance, if you have /var/log on a separate partition, and
> something runs wild with logging filling that partition, the system
> stays up and running.  If it's all in one partition then you're hosed.
>  I could see that argument for having /tmp on it's own.
>
> Lastly if you like playing with file system types - e.g. you use ext3
> for / and xfs for /tmp because you know you do transcoding projects in
> /tmp all the time and muck with big files.
>
> I suppose the note I should add to my original +1 comment is use LVM
> and then it's easy to change later.
>
> Brian
>
>   
    I have a good example of a useful partition and that is /home. I 
have two versions of Ubuntu on this computer and when I change I see no 
change of any major sort when I look at the Desktop because it IS the 
same. You just load the partition in /etc/fstab in both versions.

Karl


-- 

	Karl F. Larsen, AKA K5DI
	Linux User
	#450462   http://counter.li.org.
   PGP 4208 4D6E 595F 22B9 FF1C  ECB6 4A3C 2C54 FE23 53A7





More information about the ubuntu-users mailing list