From mboxrd@z Thu Jan 1 00:00:00 1970 Message-Id: <200309220035.h8M0Z8j01783@augusta.math.psu.edu> To: 9fans@cse.psu.edu Subject: Re: [9fans] permission bit of /mail/box In-Reply-To: Your message of "Mon, 22 Sep 2003 09:06:18 +0900." From: Dan Cross Date: Sun, 21 Sep 2003 20:35:08 -0400 Topicbox-Message-UUID: 3f4e8cf2-eacc-11e9-9e20-41e7f4b1d025 > OKay. I (alone it seems :) am not comfortable with the > situation that /mail sits on fossil and some sensitive > mail can remain on the venti forever after a snapshot. I kind of like the idea that I can get my mail back after I delete it, but I don't have much of a sensitive nature sitting in my mailbox, as a general rule. I guess I'm just not that interesting of a person. :-) > By the way, is there a way to delete all instances of > a file on venti completely? Good question. There was not with the old fileserver, but I remember thinking it might be a good thing for a pseudo-worm at different points in time. I suppose, with venti, the idea is sort of moot; I think of venti as an associative store, so data names its address anyway. If one treats venti as a black box, just knowing where the data is on disk implies that you already have it. Of course, in practice, it's not quite so simple, since the address space of venti hugely outstraps the size of any storage device, and we have indexes that match up block signatures to actual addresses. I suppose the idea of a tool to delete certain (signature,address) pairs from the index wouldn't be bad. Making it delete all such pairs associated with a file (perhaps scrubbing the reclaimed blocks) seems like it should be easy, and would solve the problem nicely. > > Or maybe add a small script > > function or macro facility to the command interpreter on the filesystem > > But then, we're getting pretty close to something like a real > > shell. > > Yes, looks like a shell. I would like to leave the job to > the existing shell 'rc' rather than complicating kfscmd > and fossilcons. Yeah. Maybe fossilcons could be replaced by an rc in a sandbox with nothing but fossil `commands' and scripts in it. - Dan C.