From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10872d,d4c1f7c0fe672a4 X-Google-Attributes: gid10872d,public X-Google-Thread: 1020c6,d4c1f7c0fe672a4 X-Google-Attributes: gid1020c6,public X-Google-Thread: 1070f0,d4c1f7c0fe672a4 X-Google-Attributes: gid1070f0,public X-Google-Thread: fcda7,d4c1f7c0fe672a4 X-Google-Attributes: gidfcda7,public X-Google-Thread: 111731,d4c1f7c0fe672a4 X-Google-Attributes: gid111731,public X-Google-Thread: 1164f8,d4c1f7c0fe672a4 X-Google-Attributes: gid1164f8,public From: "Rev. Don Kool" Subject: Re: Different UNIX pro's and con's. Date: 1998/09/18 Message-ID: <3601DF49.A71177B7@home.com>#1/1 X-Deja-AN: 392293217 Content-Transfer-Encoding: 7bit References: <35F71814.1E0B911C@iakom.com> <35FF02B1.D5890477@home.com> <6tovb9$rs4$1@enterprise.nssl.noaa.gov> <6tp3ig$10s$1@enterprise.nssl.noaa.gov> Content-Type: text/plain; charset=us-ascii Organization: Jack Daniel's Field Testing Services, Inc. MIME-Version: 1.0 NNTP-Posting-Date: Thu, 17 Sep 1998 21:19:22 PDT Newsgroups: comp.unix.advocacy,comp.unix.admin,comp.sys.hp.hpux,comp.sys.sgi.admin,comp.sys.sun.admin,comp.sys.dec Kevin W. Thomas wrote: > > 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. I usually run a "find" and have it remove everything with an "atime" over 7 days. If that doesn't clear enough, I increase the size of "/tmp". (Ooops... that's right... can't do that on a SUN while it's running. Thanks SUN!) Don -- ********************** You a bounty hunter? * Rev. Don McDonald * Man's gotta earn a living. * Baltimore, MD * Dying ain't much of a living, boy. ********************** "Outlaw Josey Wales" http://members.home.net/oldno7