Help!

Temporary files directory

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Laptop RSS
Next:  linux-2.6_2.6.22-2_m68k.changes ACCEPTED  
Author Message
daniele pendenza
External


Since: Jun 21, 2007
Posts: 3



PostPosted: Tue Jul 24, 2007 11:10 am    Post subject: Temporary files directory
Archived from groups: linux>debian>laptop (more info?)

Hi all,

currently I have a system-wide tmp directory, that has its own partition
- let's name it K - on the disk.
The K size is 1.5 GB. Unfortunately I found that it is too small for my
purposes because it is used as a working directory of many programs
-including the file roller.
- What size do you recommend for a desktop system ?
- Is it possible to redirect the actual temporary directory to another
directory ? I mean tell the system to use another temporary directory -
not the /tmp ?

cheers,

daniele



--
To UNSUBSCRIBE, email to debian-laptop-REQUEST DeleteThis @lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster DeleteThis @lists.debian.org
Back to top
Michael Wagner
External


Since: Jul 24, 2007
Posts: 1



PostPosted: Tue Jul 24, 2007 11:30 am    Post subject: Re: Temporary files directory [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Tue, Jul 24, 2007 at 11:06:13AM +0200, daniele pendenza wrote:

> - Is it possible to redirect the actual temporary directory to another
> directory ? I mean tell the system to use another temporary directory - not
> the /tmp ?

Hello Daniele,

look at "man bash" and search for TMPDIR. When you set this variable it
does what you want.

Bye Michael


--
To UNSUBSCRIBE, email to debian-laptop-REQUEST.DeleteThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.DeleteThis@lists.debian.org
Back to top
Basile STARYNKEVITCH
External


Since: Jul 24, 2007
Posts: 1



PostPosted: Tue Jul 24, 2007 11:30 am    Post subject: Re: Temporary files directory [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

daniele pendenza wrote:
> Hi all,
>
> currently I have a system-wide tmp directory, that has its own partition
> - let's name it K - on the disk.
> The K size is 1.5 GB. Unfortunately I found that it is too small for my
> purposes because it is used as a working directory of many programs
> -including the file roller.
> - What size do you recommend for a desktop system ?
It really depends of your usage. I recommend not having /tmp in a separate partition
(but share space with / & /var) on a desktop or a laptop.
Otherwise, spoil a lot of space for /tmp (eg 5 to 10Gb).

> - Is it possible to redirect the actual temporary directory to another
> directory ? I mean tell the system to use another temporary directory -
> not the /tmp ?

tempnam(3) and other programs uses the TMPDIR environment variable.
But some functions/programs don't use it.


--
Basile STARYNKEVITCH http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net | mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mine, sont seulement les miennes} ***


--
To UNSUBSCRIBE, email to debian-laptop-REQUEST.DeleteThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.DeleteThis@lists.debian.org
Back to top
andy
External


Since: Oct 27, 2006
Posts: 8



PostPosted: Tue Jul 24, 2007 8:00 pm    Post subject: Re: Temporary files directory [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Tue, Jul 24, 2007 at 11:29:08AM +0200, Michael Wagner wrote:
> On Tue, Jul 24, 2007 at 11:06:13AM +0200, daniele pendenza wrote:
>
> > - Is it possible to redirect the actual temporary directory to another
> > directory ? I mean tell the system to use another temporary directory - not
> > the /tmp ?
>
> Hello Daniele,
>
> look at "man bash" and search for TMPDIR. When you set this variable it
> does what you want.

as a note, the TMPDIR variable can be set automatically with the
libpam-tmpdir package:
ii libpam-tmpdir 0.07-1 automatic per-user temporary directories

andy


--
To UNSUBSCRIBE, email to debian-laptop-REQUEST RemoveThis @lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster RemoveThis @lists.debian.org
Back to top
Stefan Monnier
External


Since: Mar 31, 2005
Posts: 79



PostPosted: Wed Jul 25, 2007 8:50 am    Post subject: Re: Temporary files directory [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

> currently I have a system-wide tmp directory, that has its own partition -
> let's name it K - on the disk.
> The K size is 1.5 GB. Unfortunately I found that it is too small for my
> purposes because it is used as a working directory of many
> programs -including the file roller.

Then you should report a bug to the file-roller developers.


Stefan


--
To UNSUBSCRIBE, email to debian-laptop-REQUEST RemoveThis @lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster RemoveThis @lists.debian.org
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Laptop All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum