home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!att-out!rutgers!psinntp!psinntp!hd0258!gvh
- From: gvh@metrosoft.com (Gordon Van Huizen)
- Newsgroups: comp.sys.next.sysadmin
- Subject: Re: Empty recycler whenever user login/logout ....
- Message-ID: <1992Nov6.180719.1976@metrosoft.com>
- Date: 6 Nov 92 18:07:19 GMT
- References: <1992Nov6.034314.12741@csus.edu>
- Sender: gvh@metrosoft.com
- Reply-To: gvh@metrosoft.com (Gordon Van Huizen)
- Organization: Metrosoft
- Lines: 37
-
- In article <1992Nov6.034314.12741@csus.edu> eps@futon.SFSU.EDU (Eric P.
- Scott) writes:
- > In article <1992Nov3.170233.2839@umr.edu> jlu@cs.umr.edu
- > ( Eric Jui-Lin Lu ) writes:
- > >How shall I do to empty users' recycler whenever they logout/login?
- > >Most of our users don't know (or forget) to empty their recyclers.
- > >And it's untolerable in our env -- short of disk space.
- >
- > We had a similar problem--lots of recoverable disk space tied up
- > in recyclers and uncompacted mailboxes. But we took a different
- > approach: we opted to educate our users.
- >
- >
- > Reminders don't hurt, so I wrote a LoginHook to display a Panel
- > with a disk usage "meter" showing the same percentage _df_ would,
- > and the actual amount free below that. [The information comes
- > from a statfs() call.] Then a horizontal Box rule, and easy-to-
- > follow instructions to encourage the desired behavior (see
- > attached graphic).
- >
- > The Panel only appears if the /Users filesystem is at least 60%
- > full, and goes away if the user clicks the Panel's close button,
- > the "OK" button in the lower-right-hand corner, presses return
- > (i.e. the keyEquivalent), or after 20 seconds.
- >
- > It worked--disk usage dropped dramatically within a few days.
- >
-
- Cool idea!
-
- Gordon
-
- --
- ----------------------------------------------------------------
- Gordon Van Huizen vox: 619.488.9411 fax: 619.488.3045
- Metrosoft gvh@metrosoft.com [NeXTmail welcome]
- ----------------------------------------------------------------
-