This is a discussion on Change /tmp path on KDE as it is too small for KDE within the Ubuntu / Debian forums, part of the Linux Distribution category; Hi -- Recently I've started working with fairly large image files using Krita (it's the only app I've found that ...
|
|||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
|||
|
Hi --
Recently I've started working with fairly large image files using Krita (it's the only app I've found that will do 16-bit grayscale image . The problem with Krita is that you cannot tell it where to store temp files while you're working, and these files get quite large.I have two HDDs in this box; the boot disk is 80 mb and the slave is 160. Here's what df -h looks like: marc@machupo:~$ df -h Filesystem Size Used Avail Use% Mounted on /dev/sda1 259M 172M 73M 71% / tmpfs 1007M 0 1007M 0% /lib/init/rw udev 10M 112K 9.9M 2% /dev tmpfs 1007M 0 1007M 0% /dev/shm /dev/sda11 9.2G 596M 8.1G 7% /home /dev/sda9 33G 177M 31G 1% /opt /dev/sda8 373M 11M 343M 3% /tmp /dev/sda5 4.6G 2.8G 1.6G 65% /usr /dev/sda10 19G 186M 18G 2% /usr/local /dev/sda6 2.8G 315M 2.4G 12% /var /dev/hdb9 117G 12G 105G 10% /odisk/opt /dev/hdb7 953M 202M 752M 22% /odisk/home The slave disk currently is only mounted for the old /home (for stuff that hasn't yet been migrated) and for the /opt partition, which has a lot of stuff I want to keep. What I would like to do is take part of that old disk (from the /opt partition) and somehow convince this machine that it should use that as /tmp, at least for KDE sessions that I'm running. I've been poking around all over the place looking for an elegant and permanent way to do this, and haven't come across anything. I'm wondering whether any of you have any ideas. Thanks for any ideas! m |
| Sponsored Links | ||
|
|
|
||||
|
You can modify /etc/fstab file to point /tmp on /dev/sda9 and just create /opt on /. Make sure you comment out /tmp entry in a file and type the command mount -a
Another option is set following variables Code:
mkdir /opt/tmp export TMPDIR=/opt/tmp Code:
mkdir /opt/tmp export TMP=/opt/tmp
__________________
Rocky Jr. You may have my body & soul, but you will never touch my pride! If you have knowledge, let others light their candles at it. Certified to work on HP-UX / Sun Solaris / RedHat Last edited by rockdalinux; 05-26-2008 at 03:24 AM. |
|
|||
|
What I did was brutally simple; I just wasn't thinking.
I just changed fstab to point sda9 to /tmp and sda8 to /opt. I didn't have anything in the /opt partition on this box anyway (it's all in the /odisk/opt directory). That partition has 33gb on it, and that ought to be plenty... Thanks again. |
![]() |
| Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How can I set Path in bash shell | chanderbio | Shell scripting | 2 | 06-13-2008 10:38 AM |
| how to change root password | sandromax | Solaris/OpenSolaris | 4 | 10-11-2007 02:43 AM |
| Small handy one liners | digen | Getting started tutorials | 0 | 02-07-2007 03:40 PM |
| How to Change Password | puppen | Linux software | 6 | 06-06-2006 01:56 PM |
| linux setting system-wide path | Linux software | 1 | 01-28-2006 11:19 AM | |