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=T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 28672 invoked from network); 14 Jun 2022 17:33:50 -0000 Received: from 9front.inri.net (168.235.81.73) by inbox.vuxu.org with ESMTPUTF8; 14 Jun 2022 17:33:50 -0000 Received: from orthanc.ca ([208.79.93.154]) by 9front; Tue Jun 14 13:32:05 -0400 2022 Received: from orthanc.ca (localhost [127.0.0.1]) by orthanc.ca (OpenSMTPD) with ESMTP id ca0fb8df; Tue, 14 Jun 2022 10:32:04 -0700 (PDT) From: "Lyndon Nerenberg (VE7TFX/VE6BBM)" To: 9front@9front.org, Jacob Moody In-reply-to: References: <546AB7A189C97E6865B97D7342EB6B66@eigenstate.org> Comments: In-reply-to Jacob Moody message dated "Fri, 10 Jun 2022 10:03:10 -0600." MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <95734.1655227924.1@orthanc.ca> Date: Tue, 14 Jun 2022 10:32:04 -0700 Message-ID: List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: distributed RESTful self-signing scripting-aware interface Subject: Re: [9front] [PATCH] embed git head hash as /dev/head Reply-To: 9front@9front.org Precedence: bulk > Wasn't aware we shipped with other version control software :P. It was hg until just a few months ago. Don't assume it will be git this time next year. Also, I am not a fan of /dev/head. I'd prefer to see this as an attribute of /dev/config, perhaps added to the start of its output: term% cat /dev/config # kernel version xyzzy # # pc64 - amd64 pc terminal with local disk [...] term% 'xyzzy' can be whatever version string is appropriate. To be clear, I'm talking about having the /dev/config driver synthesize those first two lines whenever someone does a read on the file. --lyndon