[lug] /tmp size question...

Harris, James A (Jim) HarriJA at LOUISVILLE.STORTEK.COM
Thu Nov 18 13:43:42 MST 1999


Excellent, that's what I wanted to know.

Problem solved.  I grabbed an old 500MB SCSI drive I had laying around and
dumped it in my system, partitioned it and mounted /tmp to the new drive.

Problem solved.

Thanks again!

-----Original Message-----
From: Dale Harris [mailto:rodmur at maybe.org]
Sent: Wednesday, November 17, 1999 7:02 PM
To: lug at lug.boulder.co.us
Subject: Re: [lug] /tmp size question...


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
...SNIP

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





More information about the LUG mailing list