[291] in The Cryptographic File System users list

home help back first fref pref prev next nref lref last post

Re: crypto filesystem bugs

daemon@ATHENA.MIT.EDU (Digby Tarvin)
Sat Sep 27 23:52:43 2003

From owner-cfs-users@crypto.com Sun Sep 28 03:52:43 2003
Return-Path: <owner-cfs-users@crypto.com>
Delivered-To: cfs-mtg@CHARON.mit.edu
Received: (qmail 10959 invoked from network); 28 Sep 2003 03:52:43 -0000
Received: from mx.crypto.com (207.140.168.138)
  by charon.mit.edu with SMTP; 28 Sep 2003 03:52:43 -0000
Received: (from majordomo@localhost)
	by MultiHostMXServer (8.9.3/8.9.x4) id XAA18315
	for cfs-users-list; Sat, 27 Sep 2003 23:47:35 -0400 (EDT)
Received: from dockmaster.research.att.com (H-135-207-24-155.research.att.com [135.207.24.155])
	by MultiHostMXServer (8.9.3/8.9.x4) with ESMTP id XAA13107
	for <cfs-users@crypto.com>; Sat, 27 Sep 2003 23:47:34 -0400 (EDT)
Received: from mail-blue.research.att.com (mail-blue.research.att.com [135.207.30.102])
	by dockmaster.research.att.com (8.12.1/8.12.1) with ESMTP id h8S3d12F021513
	for <cfs-users@nsa.research.att.com>; Sat, 27 Sep 2003 23:39:01 -0400 (EDT)
Received: by mail-blue.research.att.com (Postfix)
	id 8C9C3B8014; Sat, 27 Sep 2003 23:40:29 -0400 (EDT)
Delivered-To: cfs-users@research.att.com
Received: by mail-blue.research.att.com (Postfix, from userid 612)
	id 7FE08B832D; Sat, 27 Sep 2003 23:40:29 -0400 (EDT)
Received: from janus (fpfw.research.att.com [135.207.1.2])
	by mail-blue.research.att.com (Postfix) with SMTP id B54F7B8014
	for <cfs-users@research.att.com>; Sat, 27 Sep 2003 23:40:28 -0400 (EDT)
Received: from mail-pink.research.att.com ([192.20.225.111]) by janus; Sat, 27 Sep 2003 23:46:57 -0400 (EDT)
Received: from skaro.afraid.org (host217-44-98-69.range217-44.btcentralplus.com [217.44.98.69])
	by mail-pink.research.att.com (Postfix) with ESMTP id 27E335823D
	for <cfs-users@research.att.com>; Sat, 27 Sep 2003 23:43:51 -0400 (EDT)
Received: by skaro.afraid.org (Postfix, from userid 100)
	id 86D0E18645; Sun, 28 Sep 2003 04:45:35 +0100 (GMT/BST)
Date: Sun, 28 Sep 2003 04:45:34 +0100
From: Digby Tarvin <digbyt@acm.org>
To: cfs-users@research.att.com
Cc: Ian Grigg <iang@systemics.com>
Subject: Re: crypto filesystem bugs
Message-ID: <20030928034534.GB27414@skaro.cthulhu.dircon.co.uk>
Reply-To: Digby Tarvin <digbyt@acm.org>
References: <20030928003550.GA26703@skaro.cthulhu.dircon.co.uk> <20030928024926.GA28297@colnet.cmhnet.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20030928024926.GA28297@colnet.cmhnet.org>
User-Agent: Mutt/1.4.1i
X-Face: &(//%&/WHJk7>_lW'@YYeED-qsdBV8&h3_Hpn/0.9_=}vTk</ul5CD1+9|
X-Pgp-Key-Fingerprint: 61 E7 39 FE 4A F4 CA F3  F5 5E BB 45 26 EC 36 3C
X-Spam-Status: No, hits=-107.1 required=4.0
	tests=AWL,BAYES_10,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,
	      REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_MUTT,
	      USER_IN_WHITELIST
	autolearn=ham version=2.55
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp)
Sender: owner-cfs-users@crypto.com
Precedence: bulk

On Sat, Sep 27, 2003 at 10:49:27PM -0400, Robert Stampfli wrote:
> > Anyone come across this before?
> 
> No, but I ran your tests on Solaris 8 w/cfs-1.4.0beta2 and noted
> similar results:
> 
> 1. rm -r test - each time it was run, it removed about half of 
>    the remaining files -- took 5 iterations to remove them all.
> 
> 2. echo * - unlike your system this does seems to report everything 
>    correctly on Solaris.

Well, the success or otherwise of the 'echo *' is really a function
of the shell (in my case ksh) which expands the wildcard.

That led me to re-run the wildcard expansion test with some different
shells, and I found the following:

/bin/ash,/bin/bash1,/bin/ksh (strictly, pd ksh)
echo *|wc -w
     63

/bin/bash,/bin/csh,/bin/sh,/bin/tcsh
echo *|wc -w
    201

The second group reflect the correct result. Clearly it depends on the
details of how the programs are doing the directory reads.

Which shell were you using?

Regards,
DigbyT
-- 
Digby R. S. Tarvin                                              digbyt@acm.org
http://www.cthulhu.dircon.co.uk

home help back first fref pref prev next nref lref last post