Re: tmp directory

2003-03-10 Thread parv
in message <[EMAIL PROTECTED]>,
wrote Dick Hoogendijk thusly...
>
> Debian linux cleans it's /tmp on every reboot (IF you reboot ;-)
> FreeBSD does not clean up. Lots of files stay in /tmp
> 
> Question: can I manually clean /tmp or is it better to leave things
> alone..??

In addition to previous reply, you can always mount (w/ proper
planning of ourse) /tmp as memory file system; see newfs(8) or
mount_mfs(8) (FreeBSD 4.7).


  - parv

-- 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: tmp directory

2003-03-10 Thread Jonathan Chen
On Mon, Mar 10, 2003 at 10:24:22PM +0100, Dick Hoogendijk wrote:
> Debian linux cleans it's /tmp on every reboot (IF you reboot ;-)
> FreeBSD does not clean up. Lots of files stay in /tmp
> 
> Question: can I manually clean /tmp or is it better to leave things
> alone..??

You can do a clean on reboot by adding in /etc/rc.conf:

clear_tmp_enable="YES"  # Clear /tmp at startup.

You can alternatively get your system to clear /tmp periodically by
adding into /etc/periodic.conf:

daily_clean_tmps_enable="YES"   # Delete stuff daily

Cheers.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
"If everything's under control, you're going too slow"
  - Mario Andretti

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: tmp directory

2003-03-10 Thread dick hoogendijk
On 10 Mar Peter Elsner wrote:
> You can manually clean it, but FreeBSD can be set to do so...
> man periodic.conf

Thanks. To the others too (the "rc.conf" answer)

-- 
dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.7 ++ Debian GNU/Linux (Woody)

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: tmp directory

2003-03-10 Thread Peter Elsner
You can manually clean it, but FreeBSD can be set to do so...

man periodic.conf

Peter

At 10:24 PM 3/10/2003 +0100, you wrote:
Debian linux cleans it's /tmp on every reboot (IF you reboot ;-)
FreeBSD does not clean up. Lots of files stay in /tmp
Question: can I manually clean /tmp or is it better to leave things
alone..??
--
dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.7 ++ Debian GNU/Linux (Woody)
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message
--
Peter Elsner <[EMAIL PROTECTED]>
Vice President Of Customer Service (And System Administrator)
1835 S. Carrier Parkway
Grand Prairie, Texas 75051
(972) 263-2080 - Voice
(972) 263-2082 - Fax
(972) 489-4838 - Cell Phone
(425) 988-8061 - eFax
I worry about my child and the Internet all the time, even though she's
too young to have logged on yet. Here's what I worry about. I worry
that 10 or 15 years from now, she will come to me and say "Daddy, where
were you when they took freedom of the press away from the Internet?"
-- Mike Godwin
Unix IS user friendly... It's just selective about who its friends are.
System Administration - It's a dirty job, but somebody said I had to do it.
If you receive something that says 'Send this to everyone you know,
pretend you don't know me.
Standard $500/message proofreading fee applies for UCE.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message