From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 8065 invoked from network); 3 Oct 2023 04:40:25 -0000 Received: from 9front.inri.net (168.235.81.73) by inbox.vuxu.org with ESMTPUTF8; 3 Oct 2023 04:40:25 -0000 Received: from mimir.eigenstate.org ([206.124.132.107]) by 9front; Tue Oct 3 00:36:52 -0400 2023 Received: from abbatoir (pool-108-6-24-2.nycmny.fios.verizon.net [108.6.24.2]) by mimir.eigenstate.org (OpenSMTPD) with ESMTPSA id 73ba615d (TLSv1.2:ECDHE-RSA-AES256-SHA:256:NO) for <9front@9front.org>; Mon, 2 Oct 2023 21:36:50 -0700 (PDT) Message-ID: To: 9front@9front.org Date: Tue, 03 Oct 2023 00:36:49 -0400 From: ori@eigenstate.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: AJAX method-oriented database-scale framework Subject: Re: [9front] upas/fs issues after sysupdate Reply-To: 9front@9front.org Precedence: bulk Quoth Kelly Roberts : > > upas/fs: dirfstat: > '/mail/box/glenda/imap.imap.gmail.com.@gmail.com.idx.tmp' > does not exist also, a diff to try; if this is hjfs, maybe it doesn't like statting an fd that was just renamed under it: diff 49bd8a86f3a07c4f54df94838c07fa653d725afa uncommitted --- a/sys/src/cmd/upas/fs/idx.c +++ b/sys/src/cmd/upas/fs/idx.c @@ -271,7 +271,8 @@ if(dirfwstat(fd, &n) == -1) sysfatal("dirfwstat: %r"); - d = dirfstat(fd); + snprint(buf, sizeof buf, "%s.idx", mb->path); + d = dirstat(buf); if(d == nil) sysfatal("dirfstat: %r"); mb->qid = d->qid;