home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!darwin.sura.net!jvnc.net!yale.edu!yale!gumby!destroyer!ncar!acd!pack
- From: pack@acd.acd.ucar.edu (Daniel Packman)
- Newsgroups: comp.unix.aix
- Subject: Re: When was it really created?
- Summary: You need cooperative users
- Message-ID: <1992Jul28.150329.15873@ncar.ucar.edu>
- Date: 28 Jul 92 15:03:29 GMT
- References: <1992Jul24.185429.13174@athena.cs.uga.edu> <bill.712285256@chaos.cs.umn.edu> <1992Jul28.035009.27875@usenet.ins.cwru.edu>
- Sender: news@ncar.ucar.edu (USENET Maintenance)
- Organization: Ntl Center for Atmospheric Research, Atmospheric Chemistry
- Lines: 39
-
- In article <1992Jul28.035009.27875@usenet.ins.cwru.edu> maf@tabatha.MAE.CWRU.EDU (Mark Fullmer) writes:
- >>In <1992Jul24.185429.13174@athena.cs.uga.edu> is@groucho.dev.uga.edu (Bob Stearns) writes:
- >>>As is usual in a multiuser system, we are short of disk space. We make
- >>>available to our users a segment where files which will be reused or
- >>>moved offline may be kept for up to four days. They have discovered
- >>>touch (all of 100's of files with the same time stamp to within a
- >>>second) and are abusing the privelege....
- >
- >To answer the original posters question, unix doesn't keep a file creation
- >date. see stat.h...
- >
- Indeed, the original creation date is not stored. If you allow users to
- create datasets in this temporary area, then they certainly could recreate
- their datasets if they were removed. If you unnecessarily delete datasets,
- then this recreation of datasets is another waste of resources. Without
- extraordinary protection schemes, the users could simply rename or copy
- their datasets to fool a simple purge program.
-
- Since we have an on-line network accessible mass storage system, I have
- toyed with the idea of having a daemon dynamically adjust quotas on a
- scratch disk and backup and delete files from users whose quota has been
- increased for an extended period. This way, the daemon controls and
- remembers the quota modifications for each user. If the same user requests
- more disk space, then the daemon could grant it subject to the higher
- priority needs of other users at that time.
-
- A simpler scheme that could be put into your original purging program would
- be to substitute total disk useage for a given user during the previous
- run as the main factor in deciding which files to purge. All these schemes
- could end up creating more work for the user who was just about ready to
- use a dataset that was purged.
-
- There is no substitute for a group of cooperating users who realize they
- all have work to do.
-
- --
- Dan Packman NCAR INTERNET: pack@ncar.UCAR.EDU
- (303) 497-1427 P.O. Box 3000
- Boulder, CO 80307-3000 NSI/DECNET: 9583::PACK
-