From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <51ffec3e15f60b424ed83a65a9db2bb3@plan9.bell-labs.com> From: Eric Grosse To: 9fans@cse.psu.edu Subject: Re: [9fans] webls.c - synthesize directories on the fly. In-Reply-To: <20031001074131.F8964@cackle.proxima.alt.za> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-rknkehfcusvbkddetxhygwuwhw" Date: Wed, 1 Oct 2003 07:41:41 -0400 Topicbox-Message-UUID: 5a1dbce2-eacc-11e9-9e20-41e7f4b1d025 This is a multi-part message in MIME format. --upas-rknkehfcusvbkddetxhygwuwhw Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit A few years ago I wrote a filterfs exclude files matching a regular expression. We use it on our web site when publishing part of the dump file system since, as people have noted in the past, there can be times when you need to effectively delete things from Venti. It's not polished so we never put it on sources, but I'm willing to do so if there is sufficient interest. Eric --upas-rknkehfcusvbkddetxhygwuwhw Content-Type: message/rfc822 Content-Disposition: inline Received: from scummy.research.bell-labs.com ([135.104.2.10]) by plan9; Wed Oct 1 01:47:33 EDT 2003 Received: from rusty.research.bell-labs.com (rusty.research.bell-labs.com [135.104.2.5]) by scummy.research.bell-labs.com (8.12.9/8.12.9) with ESMTP id h915lV0C057387 for ; Wed, 1 Oct 2003 01:47:31 -0400 (EDT) Received: from mail.cse.psu.edu (psuvax1.cse.psu.edu [130.203.4.6]) by rusty.research.bell-labs.com (8.12.10/8.12.10) with ESMTP id h915lUAd085238 for ; Wed, 1 Oct 2003 01:47:30 -0400 (EDT) Received: by mail.cse.psu.edu (CSE Mail Server, from userid 60001) id 1A33019C94; Wed, 1 Oct 2003 01:47:22 -0400 (EDT) Received: from psuvax1.cse.psu.edu (psuvax1.cse.psu.edu [130.203.30.6]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 1B7AC19C9B; Wed, 1 Oct 2003 01:47:07 -0400 (EDT) X-Original-To: 9fans@cse.psu.edu Delivered-To: 9fans@cse.psu.edu Received: by mail.cse.psu.edu (CSE Mail Server, from userid 60001) id 71CA219C94; Wed, 1 Oct 2003 01:46:42 -0400 (EDT) Received: from cackle.proxima.alt.za (cackle.proxima.alt.za [196.30.44.141]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 764D819C84 for <9fans@cse.psu.edu>; Wed, 1 Oct 2003 01:46:28 -0400 (EDT) Received: from cackle.proxima.alt.za (localhost [127.0.0.1]) by cackle.proxima.alt.za (8.12.9/8.12.3) with ESMTP id h915fbef012271 for <9fans@cse.psu.edu>; Wed, 1 Oct 2003 07:41:40 +0200 (SAST) Received: (from lucio@localhost) by cackle.proxima.alt.za (8.12.9/8.12.3/Submit) id h915fYn5012270 for 9fans@cse.psu.edu; Wed, 1 Oct 2003 07:41:34 +0200 (SAST) From: Lucio De Re To: 9fans@cse.psu.edu Subject: Re: [9fans] webls.c - synthesize directories on the fly. Message-ID: <20031001074131.F8964@cackle.proxima.alt.za> Mail-Followup-To: 9fans@cse.psu.edu References: <8a0a335a1266c14c62a1b5b805dd4079@orthanc.cc.titech.ac.jp> <200310010539.h915d3j23173@augusta.math.psu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4us In-Reply-To: <200310010539.h915d3j23173@augusta.math.psu.edu>; from Dan Cross on Wed, Oct 01, 2003 at 01:39:03AM -0400 Organization: Proxima Research & Development Sender: 9fans-admin@cse.psu.edu Errors-To: 9fans-admin@cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.0.11 Precedence: bulk Reply-To: 9fans@cse.psu.edu X-Reply-To: lucio@proxima.alt.za List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Archive: Date: Wed, 1 Oct 2003 07:41:31 +0200 X-Spam-Status: No, hits=-2.5 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, REPLY_WITH_QUOTES version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) On Wed, Oct 01, 2003 at 01:39:03AM -0400, Dan Cross wrote: > > > > why not bind all the desired directories on somewhere, > > let's say /usr/web/webls for example, and make webls services > > only under the directory? > > > > these whatever.^(allowed denied) files remind me of unix somehow. > > Hmm, that's an idea. I'll think about it. My initial reaction is > that you'd have to do all the binds somewhere, and have a skeletal > directory structure under /usr/web/webls, which strikes me as tedious. > Still, I'll give it some thought. > Bind(1) does not have an "exclude" function that I can know of, which means that exclusions can only be effected by enumerating the inclusions. This can get extremely tedious. ++L --upas-rknkehfcusvbkddetxhygwuwhw--