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=3.7 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, NICE_REPLY_A,RCVD_IN_SBL_CSS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 4766 invoked from network); 24 Jul 2023 01:04:00 -0000 Received: from 9front.inri.net (168.235.81.73) by inbox.vuxu.org with ESMTPUTF8; 24 Jul 2023 01:04:00 -0000 Received: from mail.posixcafe.org ([45.76.19.58]) by 9front; Sun Jul 23 21:03:01 -0400 2023 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=posixcafe.org; s=20200506; t=1690160773; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=C8BpY1o9gACr6OYBkyRifjlegOUd0sMjQpxltgMSeUI=; b=BCgAxJ9sAZ6vXytkB7kAKKzoRD8K519O4mCa3idNni66fds1FwZPKUttu6wHwb/fyBhdc/ aRoppevVNIX/Bp/xPSBsD+fBgayHk2EMLpOXaVb1fhInquFkyQvnKEV2TcVMtBW/evF+xu Vs+hNEtrTeSEI5EkUTLxB6cnvfFVxeA= Received: from [192.168.168.123] ( [207.45.82.38]) by mail.posixcafe.org (OpenSMTPD) with ESMTPSA id e362b187 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for <9front@9front.org>; Sun, 23 Jul 2023 20:06:13 -0500 (CDT) Message-ID: <80e78967-bbc8-a053-75fe-3033b8f491c3@posixcafe.org> Date: Sun, 23 Jul 2023 20:03:00 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Content-Language: en-US To: 9front@9front.org References: <71ed8c49-2174-0ec5-ad59-5e1c5256fc70@posixcafe.org> From: Jacob Moody In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: rails realtime core-scale plugin Subject: Re: [9front] Re: [PATCH] make exportfs give "standard" error for file does exist Reply-To: 9front@9front.org Precedence: bulk On 7/23/23 19:51, Anthony Martin wrote: > The lady doth protest too much, methinks. > > Here's a list of all file servers that do not use Enonexist, > aka "file does not exist" for this purpose: > > git/fs > nusb/disk > nusb/serial > nusb/usbd > skelfs > > There's a commonality here. These are 9front snowflakes. > Just make them use the common error. Sure, those can be fixed but that is not the problem here. The problem is that exportfs sends the errstr back from what it gets from open(2). The kernel gives you back the path attempted to be accessed in quotes prefixed to 'does not exist'. Every fileserver using Enotexist would not fix exportfs causing this issue with v9fs.