[lug] /tmp size question...

Dale Harris rodmur at maybe.org
Wed Nov 17 19:02:23 MST 1999


On Tue, Nov 16, 1999 at 01:19:19PM -0700, Harris, James A (Jim) elucidated:
> Hi all -
> 
> I've got an odd question.  Would I cause problems for my system if I mounted
> /tmp to a different physical disk or partition than /?  When I rebuilt my
> machine recently I gave / about 100MB.  During my normal daily operation
> this is more than plenty for the system to run, however, I forgot that many
> larger programs like to use a lot of /tmp when they're installing.  (Suck as
> VMWare and StarOffice.)  Because of the smaller size of /, I've been filling
> this partition and have been unable to get these two running because of the
> lack of usable /tmp space.
> 
> I just wanted to make sure I wouldn't freak the system out before doing
> this.  Any opinions would be appreciated.
> 


There's no problem in doing that.  So long as you have space available on
your disk, if you are going fdisk the thing.  Basically there are two 
ways to handle this.  You could sym. link /tmp to another partition.  Or
you could create a partition for /tmp with fdisk.  If you have already 
allocated all your disk space in partitions, then you'll have to destroy
a partition before you can create another.  For example this is how 
I partitioned by disk:

Disk /dev/sda: 255 heads, 63 sectors, 553 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sda1   *         1        64    514048+  83  Linux native
/dev/sda2            65        77    104422+  82  Linux swap
/dev/sda3            78       167    722925   83  Linux native
/dev/sda4           168       553   3100545    5  Extended
/dev/sda5           168       187    160618+  83  Linux native
/dev/sda6           188       442   2048256   83  Linux native
/dev/sda7           443       553    891576   83  Linux native

Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/sda1               481602    356229     99671  78% /
/dev/sda3               677178    527313    113719  82% /usr
/dev/sda5               140457     26747    105680  20% /tmp
/dev/sda6              1981000   1200546    678042  64% /stuff
/dev/sda7               835004    292921    497505  37% /home


Personally I think it is good idea to have /tmp on a separate partition, just
because it is isolated from any other partition and won't cause those 
partitions to fill up, which can cause a lot of problems if it is your /
partition.  


--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dale Harris  <rodmur at maybe.org>   GPG key: 372FBD57    http://www.maybe.org/
                  Maybe is an Altruistic Yet Bohemian Enigma

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://lists.lug.boulder.co.us/pipermail/lug/attachments/19991117/da1e1746/attachment.pgp>


More information about the LUG mailing list