LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices



Reply
 
Search this Thread
Old 08-18-2006, 12:04 AM   #1
sylye
Member
 
Registered: Feb 2003
Location: Malaysia
Distribution: Mandrake 9.1, Debian 3.1,Slackware 13.37
Posts: 47

Rep: Reputation: 0
clearing /tmp at reboot


Hi,

Do you guys know that in Debian where is the script that control the behaviour to actually delete all files in /tmp during reboot ? I would like to do some adjustment on it.

I did search through the /etc/rc1.d , /etc/rc2.d,... but have no luck on that. I also have searched through the forum here, and found nobody talking about that in detail.

Thanks for pointing me the light.
 
Old 08-18-2006, 08:30 AM   #2
Phiebie
Member
 
Registered: Oct 2004
Location: Austria
Distribution: Debian testing
Posts: 102

Rep: Reputation: 17
/etc/init.d/mountall-bootclean.sh as the starting-point.

Last edited by Phiebie; 08-18-2006 at 08:45 AM.
 
Old 08-26-2006, 05:42 AM   #3
sylye
Member
 
Registered: Feb 2003
Location: Malaysia
Distribution: Mandrake 9.1, Debian 3.1,Slackware 13.37
Posts: 47

Original Poster
Rep: Reputation: 0
thanks pal, I think the bootclean script is called in mountall and mountnfs, so there is the place where the /tmp is clean off.

thanks for giving me the clue.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
kde, /tmp, /var/tmp and all that garba Linux - Software 4 06-17-2005 01:31 PM
Create file using 'touch ./tmp.$$', file tmp.3941 is created, why? huangyanfeng Linux - General 1 04-13-2004 04:36 AM
"/tmp/sv001.tmp/setup.bin" error while installing OO1.1.0 Choey Linux - Software 0 09-16-2003 05:52 PM
Numerous scb_*.tmp files in /tmp dburk Programming 3 08-18-2003 05:28 PM
Newbie question - /tmp /var/tmp Mr happy Linux - Security 3 01-27-2003 02:03 PM


All times are GMT -5. The time now is 01:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration