From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu Subject: Re: [9fans] dossrv panics From: forsyth@caldo.demon.co.uk MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-kulothflqkrnoobhvgprgutusx" Message-Id: <20020313074300.31FE719A54@mail.cse.psu.edu> Date: Wed, 13 Mar 2002 07:38:13 +0000 Topicbox-Message-UUID: 65ad7c48-eaca-11e9-9e20-41e7f4b1d025 This is a multi-part message in MIME format. --upas-kulothflqkrnoobhvgprgutusx Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit i suspect it's related to a 9P2000 change --upas-kulothflqkrnoobhvgprgutusx Content-Type: message/rfc822 Content-Disposition: inline Return-Path: <9fans-admin@cse.psu.edu> Received: from punt-1.mail.demon.net by mailstore for forsyth@caldo.demon.co.uk id 1016003001:10:02081:72; Wed, 13 Mar 2002 07:03:21 GMT Received: from psuvax1.cse.psu.edu ([130.203.4.6]) by punt-1.mail.demon.net id aa1118041; 13 Mar 2002 7:03 GMT Received: from psuvax1.cse.psu.edu (psuvax1.cse.psu.edu [130.203.6.6]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 67BF919A2C; Wed, 13 Mar 2002 02:03:10 -0500 (EST) Delivered-To: 9fans@cse.psu.edu Received: from zloty.ugcs.caltech.edu (zloty.ugcs.caltech.edu [131.215.43.208]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id EE84619A55 for <9fans@cse.psu.edu>; Wed, 13 Mar 2002 02:02:08 -0500 (EST) Received: by zloty.ugcs.caltech.edu (Postfix, from userid 2738) id 46A4A54804; Tue, 12 Mar 2002 23:00:43 -0800 (PST) Received: from zloty.ugcs.caltech.edu (localhost [127.0.0.1]) by zloty.ugcs.caltech.edu (Postfix) with ESMTP for <9fans@cse.psu.edu> id DF5E749001; Tue, 12 Mar 2002 23:00:38 -0800 (PST) To: 9fans@cse.psu.edu Subject: Re: [9fans] dossrv panics In-Reply-To: Your message of "Wed, 13 Mar 2002 00:21:23 EST." Message-Id: <20020313070043.46A4A54804@zloty.ugcs.caltech.edu> Sender: 9fans-admin@cse.psu.edu Errors-To: 9fans-admin@cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.0.8 Precedence: bulk Reply-To: 9fans@cse.psu.edu List-Help: List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Archive: Date: Tue, 12 Mar 2002 23:00:38 -0800 I made the change and it seems to be happy now. Thanks! > On a related note, in dossubs.c:/^truncfile, I think that > > while(clust > 0){ > next = getfat(xf, clust); > if(n <= 0) > putfat(xf, clust, 0); > else > >>> n -= bp->sectsize; > clust = next; > } > > should be > > n -= bp->clustsize*bp->sectsize; > > It doesn't matter, since we only call truncfile > with a count of 0. My truncfile had no 'n' and hence no if-else, just putfat(), but if it's always 0 it sounds like I'll do ok without :) --upas-kulothflqkrnoobhvgprgutusx--