From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,9d4ddb40c4e8df0a,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1993-10-06 11:37:10 PST Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!yeshua.marcam.com!zip.eecs.umich.edu!umn.edu!mayonews.mayo.edu!mayo.edu!stan From: stan@mayo.edu (Andrew Staniszewski) Newsgroups: comp.sys.dec Subject: OSF trashcans,problems and suggestions Date: 6 Oct 1993 17:38:39 GMT Organization: Mayo Foundataion Distribution: world Message-ID: <28uvqv$qna@fermat.mayo.edu> Reply-To: staniszewski@mayo.edu NNTP-Posting-Host: chirpa.mayo.edu X-Newsreader: mxrn 6.18-4 Trashcans under OSF1 have major problems in that 1) they are not inherited by subdirectories 2) they are plauged by file nameing problems Is it feasable to change advfs such that: a) calls to mkdir, or some lower system call will check if the parent directory has a trash can, and inheriets this attribute? b) allow trashcans to be set up as a subdirectory of a current directory, such that: mktrashcan -R trashcan ${HOME} setsup a trashcan subdirectory in each of directories from ${HOME} on down, ties each directory to its trashcan subdirectory? this scheme seems to work well togather, particularly if you tie it togather with a cleanup proceedure for cron that will remove files after so much time from all subdirectories called trashcan. The only real change to the os is to have the mkdir sys call check if the parent has a trashcan ...