From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10952f,b69d377feb5a8a2 X-Google-Attributes: gid10952f,public X-Google-Thread: 1164f8,d4c1f7c0fe672a4 X-Google-Attributes: gid1164f8,public X-Google-Thread: 1070f0,d4c1f7c0fe672a4 X-Google-Attributes: gid1070f0,public X-Google-Thread: fcda7,d4c1f7c0fe672a4 X-Google-Attributes: gidfcda7,public X-Google-Thread: 1020c6,d4c1f7c0fe672a4 X-Google-Attributes: gid1020c6,public X-Google-Thread: 10872d,d4c1f7c0fe672a4 X-Google-Attributes: gid10872d,public From: s768@ii.uib.no (Jan-Frode Myklebust) Subject: Re: Different UNIX pro's and con's. Date: 1998/09/22 Message-ID: #1/1 X-Deja-AN: 393646946 References: <35F71814.1E0B911C@iakom.com> <35FB108D.F8FEFEBE@home.com> <6ti5t2$lbr$1@Venus.mcs.net> <35FDE10D.3380C3C1@home.com> <6tkqni$m41@web.nmti.com> <36019311.0@news.thefree.net> <6tsafu$4cr$1@camco.celestial.com> <360253C8.BB71898@home.com> <3602837C.5A77@lmt.ens-cachan.fr> <3602C849.C70612C6@llnl.gov> <6u7s8g$5ad$2@empoli.tasking.nl> Organization: University of Bergen, Norway Newsgroups: comp.unix.admin,comp.sys.hp.hpux,comp.sys.sgi.admin,comp.sys.sun.admin,comp.sys.dec,comp.security.unix On 22 Sep 1998 09:56:32 GMT, Frank van Maarseveen wrote: >In article , > janfrode@kunst.uib.no (Jan-Frode Myklebust) writes: >> >> On my home RedHat 5.0 system there is a small program called 'tmpwatch', by >> Erik Troan , that's supposed to handle this. >> >Once we had a directory full of Linux patches You stored patches under /tmp? >and the cleaning script >decided to remove the oldest patches because they were not accessed in > days, leaving an unusable set of patches. /tmp isn't meant to be a place for anything but temporary files, hence the name /tmp. >What seems more >appropriate is to consider every top level file or directory in /tmp and >to remove a directory only if no object inside has been accessed or created >within a number of days (mind extracted archives with very old dates). The >job of removing could then be done by `rm -rf' which is supposed to be >safe. then lots of files might never get deleted because other files in the same cataloge got accessed... janfrode