From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <9front-bounces@9front.inri.net> X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: from 9front.inri.net (9front.inri.net [168.235.81.73]) by inbox.vuxu.org (Postfix) with ESMTP id B1EEA24D97 for ; Sat, 9 Mar 2024 19:08:57 +0100 (CET) Received: from mail-pl1-f171.google.com ([209.85.214.171]) by 9front; Sat Mar 9 13:07:11 -0500 2024 Received: by mail-pl1-f171.google.com with SMTP id d9443c01a7336-1dd69588389so7429295ad.1 for <9front@9front.org>; Sat, 09 Mar 2024 10:07:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710007628; x=1710612428; darn=9front.org; h=to:subject:message-id:date:from:references:in-reply-to:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=skM981UcS5ubGAYZykc8++WFxLRfypG5gmVeh1YEyg4=; b=kAl3UgyFc+Hq0L3Ja/3AJPvmlVUdYUkKVCEqeBHXWjexescWisjg5IYpeFowEoT8qY XVJBwxip/M6+odAtFs4CgOJNV94cOD5eSqfhSBRL2EFH/1JTszL9zDBcIE01Fox9jH7C x3gu5XHjvx3chNvZAoRhEM/jY8YUqOxua+DHiezNlPA8GqPSSencdB4FC/1rfD0GRXsJ 4RL5F0FPN7BWbDS+QKYctlpgV+Zr5lwREEre5F6Ak3TRGhgwUPgL8gH1cn+TslSEOQKP dyjysUrVccIBhwRJmfF7ZinBXnO2zpZiHaa4zU9qDksOfOAofKRefsIGAjid5WFC/w0L DE+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710007628; x=1710612428; h=to:subject:message-id:date:from:references:in-reply-to:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=skM981UcS5ubGAYZykc8++WFxLRfypG5gmVeh1YEyg4=; b=h8OPO2kv0nnRegENoyrkgzTM2mqYaBc6LwYMWjya5IxBhcD6H8scaSEdEj5YCvg5GI +lExSPh8SrJCXAfcq+UdVI/kNv1DMW4Mgk2y6E2SI0iJd/1xVv2PTFxUHqvEWGegzjN5 hl4TD9FvvnFQSElAyQSNqbVPrMgKHkJWPkGbYg5zfw18mvWzFofYZTfEFHI09jzgGzk3 XDm9vpfWI2f78OwDQazJKoP0CmrS43+AbKJ04Di4DD8poIX1mJzt2MuBdrs/sSB3Vsl/ LOipXpzhvqGxtIJxi15tsIn+oECo2wfzfAVYN8b0KLm19oXIrA444WCp7ECDjPS886wF YKgA== X-Gm-Message-State: AOJu0YyyAJl5/UoZTb8691lNr7ODWlHuqi+XSITIO9gU8afWAkA8YlPm peleBy2MTXv99oJU00u6rsE/BhGnrY72o0lOeW0l9n7hJgkVL17FLK1I9vayrcc5MwPQc3jmWR5 aWGJ8nVu5IpYdf/PQ6Lgn87I2KA13bZsFW3k= X-Google-Smtp-Source: AGHT+IF3iquyC2SZ+ZsmvhtsWElkYPUIbmxVOycwQq9+gHs7jAax7tzJTrEQbH1LCoHd/Nv23JnfOu3fYmw4y9u9Q/E= X-Received: by 2002:a17:902:ac97:b0:1dd:6f1a:2106 with SMTP id h23-20020a170902ac9700b001dd6f1a2106mr2656519plr.0.1710007627727; Sat, 09 Mar 2024 10:07:07 -0800 (PST) MIME-Version: 1.0 Received: by 2002:a05:7300:6148:b0:10a:bf2:560 with HTTP; Sat, 9 Mar 2024 10:07:07 -0800 (PST) In-Reply-To: References: From: hiro <23hiro@gmail.com> Date: Sat, 9 Mar 2024 19:07:07 +0100 Message-ID: To: 9front@9front.org Content-Type: text/plain; charset="UTF-8" List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: private self-signing persistence HTTP service method Subject: Re: [9front] Equivalent of Unix uname Reply-To: 9front@9front.org Precedence: bulk plan9 is distributed with binaries, but installations are kept up-to-date via source updates from git, so in practice, before you run sysupdate and mk install yourself you may check the current git revision. also keep in mind that in the canonical deployments you will have only one central fileserver for all your cpu servers and terminals, so if you know the version of one of your computers you should automatically be able to imply the version of all other computers. On 3/9/24, Jacob Moody wrote: > On 3/9/24 11:31, rockyhotas@firemail.cc wrote: >> Hello! >> I'm trying to move the first steps into Plan9. >> It is not Unix, the user is often warned about this. However, some tools >> are available in both systems with almost the same usage, like uptime(1) >> for example. Is there anything equivalent to `uname'? I couldn't find >> such a tool nor in >> >> >> >> neither in >> >> >> >> If there is not a perfect equivalent tool, is it anyway possible to list >> some basic information about the current system? For example the OS >> name, >> the kernel version, the architecture, the hostname. >> >> Bye! >> >> Rocky > > There is /dev/osversion but its not really particularly insightful. > Uname is generally used to differentiate different Unixen from > each other, so I don't see why it would be particularly useful > on Plan 9. > > We also do not generally have version of the kernel per se, > at least not in the same way something like Linux does. > For architecture there is $cputype and for host name there > is $sysname. > > > Hope that helps, > moody > >