From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcda7,d4c1f7c0fe672a4 X-Google-Attributes: gidfcda7,public X-Google-Thread: 1020c6,d4c1f7c0fe672a4 X-Google-Attributes: gid1020c6,public X-Google-Thread: 1164f8,d4c1f7c0fe672a4 X-Google-Attributes: gid1164f8,public X-Google-Thread: 111731,d4c1f7c0fe672a4 X-Google-Attributes: gid111731,public X-Google-Thread: 10872d,d4c1f7c0fe672a4 X-Google-Attributes: gid10872d,public X-Google-Thread: 1070f0,d4c1f7c0fe672a4 X-Google-Attributes: gid1070f0,public From: kwthomas@wizard.nssl.noaa.gov (Kevin W. Thomas) Subject: Re: Different UNIX pro's and con's. Date: 1998/09/16 Message-ID: <6tp3ig$10s$1@enterprise.nssl.noaa.gov>#1/1 X-Deja-AN: 391803006 References: <35F71814.1E0B911C@iakom.com> <35FF02B1.D5890477@home.com> <6tovb9$rs4$1@enterprise.nssl.noaa.gov> Organization: National Severe Storms Laboratory Newsgroups: comp.unix.advocacy,comp.unix.admin,comp.sys.hp.hpux,comp.sys.sgi.admin,comp.sys.sun.admin,comp.sys.dec In article , Matt Knecht wrote: >Kevin W. Thomas wrote: >>If "/tmp" fills up, write a cron job that cleans out files older than a >>certain date. Rebooting because /tmp fills up is an indication of either >>a lack of knowledge of UNIX, or just plain laziness! > >Laziness? HA! Laziness is a virtue. Rebooting to clean out /tmp is >not the lazy person's method of clearing /tmp. The lazy person's method >is to fire off the script that gets called to clean out /tmp on a >reboot. Why go through all the trouble of a reboot when you can just >/etc/rc2.d/S05RMTMPFILES (On Solaris 2.6, anyway. The moral equivalent >shiuld be easy enough to find elsewhere). > >The truly lazy will add this to cron. > >-- >Matt Knecht - Matt... /etc/rc2.d/S05RMTMPFILES doesn't do anything useful if /tmp is a mount point. I'd also hate to run the command, even if it worked. Blindly removing files (at least recently dated files) isn't really a good idea. If /tmp gets full on my workstation, I manually remove all the large unused files. Kevin W. Thomas Sun System Administrator & Meteorologist National Severe Storms Laboratory Norman, Oklahoma Email: kwthomas@wizard.nssl.noaa.gov