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.5 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: from 9front.inri.net (9front.inri.net [107.161.22.3]) by inbox.vuxu.org (Postfix) with ESMTP id 1C9BC2DFEC for ; Sat, 16 Nov 2024 17:31:30 +0100 (CET) Received: from mail-ed1-f49.google.com ([209.85.208.49]) by 9front; Sat Nov 16 11:26:43 -0500 2024 Received: by mail-ed1-f49.google.com with SMTP id 4fb4d7f45d1cf-5cacb76e924so906609a12.0 for <9front@9front.org>; Sat, 16 Nov 2024 08:26:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731774401; x=1732379201; darn=9front.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=k4ZKaEF/uP+pE0IjN3oIL+u5Q2ZX0m+ls5aIDhQvoKk=; b=gOkuvFgmj+FAxvAxqlHhX02iM7FXBVUk0rBW3j0uJvFus5yABHsrmi0vZxfKbMEcsX Px6kvxvWM5KeRtUFIyReObepvbtiN7Yqgdaq4iRHu5tfOj3vlGvA6nDLiOtGIOMOj2/e 4qVclvZszF6GjuZewUF4eB4oMGHTGvYGeq5FlnPDkil4E1U0wnZdHH1YD22O/YmfVX/1 zwpjTz5LB95Ie1eiRzzrt0PHWZED8GC4axytH5oZF5NmAnnVwmnT9kTIZCPCfWvkWEWi CH5qD+lE43QxNYOgPgsYR94udnrOI1s64VeAlBaSB9dxXSmSvzn2nf5K3Y0T80txrMVp lZ6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731774401; x=1732379201; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=k4ZKaEF/uP+pE0IjN3oIL+u5Q2ZX0m+ls5aIDhQvoKk=; b=bM3hIJCTHRibW/9c1AKJ0ZmFvQRZU4MsBPFf3mAoQ7riN8aGtYQLGq73j0CX7+oV0v sNE9MxTGOjiCHWaik+L7Dei8QDPm1k98BplDmSIx3tWl2H1HwpY4Kanv+GPdOqTRtsXJ KVQEbJxZtOElLj33GxqNvF2CQx7mYLj1tYny1yWoAhem60DNiGC61/eU7CQ6B8U7s3cM ymIUv2PmnkZuRw6NJ4t0S89RInxtfaqqaCa0TH9aNWb022ioJ1TqYE+6xHspkfQeugaC ay98dICdAK/JegC+a9XRoCa0dY8JDBe4de7dBDd20zNFl537pkq3zBrPPfxu4LEYH/A5 UPBQ== X-Gm-Message-State: AOJu0YxShPQ0mXVXWIMCknOagGx1POHABYCEo2YRoAxjUxnHdX00d9JW 3e2kKyc2DYPdaA3OvgTH2PrJhMbylu5j24/cmndIEHCpGx7mq7e6zLHxMgo1CQ+mb/d20XXx+/C u+VTSilJkUXmmQpaX+ZYnoUZoM1LzZGH2 X-Google-Smtp-Source: AGHT+IFDRb0ptPySa+rS0aHz8+c5mDBYwvRJf+QRHZbAVbq943GHlHiCckLJKKc9rPD+EbSKIhgXSt5VlvCkuZVUaMY= X-Received: by 2002:a05:6402:50cf:b0:5c8:9624:326a with SMTP id 4fb4d7f45d1cf-5cf8fc33572mr5555330a12.14.1731774400621; Sat, 16 Nov 2024 08:26:40 -0800 (PST) MIME-Version: 1.0 References: <7497BB380B440C3D54B4F12EE9C102C7@wopr.sciops.net> In-Reply-To: <7497BB380B440C3D54B4F12EE9C102C7@wopr.sciops.net> From: Alexander Kapshuk Date: Sat, 16 Nov 2024 18:26:09 +0200 Message-ID: To: 9front@9front.org Content-Type: text/plain; charset="UTF-8" List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: stable patented plugin rails-based optimizer Subject: Re: [9front] pstree binary not removed after being reimplemented in awk Reply-To: 9front@9front.org Precedence: bulk On Sat, 16 Nov 2024 at 17:48, wrote: > > On Sat Nov 16 16:33:50 +0100 2024, alexander.kapshuk@gmail.com wrote: > > Commit 493bac79b63f1949a29aeec8270fab4a599a6ee3, pstree: reimplement > > in awk, optionally restrict to a given process, has removed the C > > source file, but not the binary. > > > > cpu% file /bin/pstree > > /bin/pstree: amd64 plan 9 executable > > > > Is that intentional? > > The binaries are not tracked in the git repo, and there currently is no > mechanism in place to remove binaries replaced by scripts -- so in > that sense, yes, this is expected. The laziest way would be `rm > /*/bin/pstree; bind -ac /dist/plan9front /; git/revert /rc/bin/pstree` > or something like that. Sorry for the inconvenience, though this does > not happen often. > > Cheers, > qwx Thanks for a prompt reply. No inconvenience caused whatsoever. With the old binary out of the way, it's the awk version that is reported by the file command: cpu% file /bin/pstree /bin/pstree: rc executable file