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.2 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 9383 invoked from network); 26 Aug 2021 11:40:14 -0000 Received: from 1ess.inri.net (HELO 4ess.inri.net) (216.126.196.35) by inbox.vuxu.org with ESMTPUTF8; 26 Aug 2021 11:40:14 -0000 Received: from out2.migadu.com ([188.165.223.204]) by 4ess; Thu Aug 26 07:32:05 -0400 2021 Date: Thu, 26 Aug 2021 12:31:37 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=biobuf.link; s=key1; t=1629977517; 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=xh9uvrUrHr2ns5TANLuGXX4fkI+kOriPEY2uy6R/Dro=; b=PcD1/cVqgueNzfh11mkEWgp44nJanI3FOvn3QPTiDD3fZaKMqeel1suLMm3SVL3+FfNf10 xWC63ItuzWYuLWS2Xf3AEACdnKCv6RJ6mALr0ARFT8rXw1m9FSnhc5A0CqX/1GKQ37MKi5 bExk4o0coBcIVbCy0A+FLTpvgW+CrSA= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: james palmer To: 9front@9front.org In-Reply-To: References: Message-ID: <0A85BD7D-C04C-4028-8168-B943DC56057F@biobuf.link> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: james@biobuf.link List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: ORM self-signing realtime grid Subject: Re: [9front] plan9.ini fs= should accept full dial strings Reply-To: 9front@9front.org Precedence: bulk Quoth sl@stanleylieber=2Ecom: > let's say we want to do both serve a full file system > to certain clients *and* serve a specially constructed > namespace to generic clients trying to 9fs us on the > standard port=2E >=20 > currently, plan9=2Eini fs=3D value must be just an ip > address or host name=2E the system translates it > internally to tcp![ip]!564=2E >=20 > why can't fs=3D be any valid dial string? >=20 > sl seems to be because the port depends onthe value of bootargs=2E tcp boot is on 564 and tls boot is 17020=2E to keep compatibility with existing plan9=2Eini files the fs variable woul= d need to be parsed to see if a port has been specified=2E another option might be to treat bootargs as a dialstring (similar to how = local filesystems are handled) like so: bootargs=3Dlocal!/dev/sdE0/fs -> local hjfs bootargs=3Dtls!192=2E168=2E0=2E2 -> tls to the 192=2E168=2E0=2E2 file serv= er bootargs=3Dtcp!biobuf=2Elink!555 -> tcp boot to a remote file server on a = non standard port - james