From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from atuin.qyliss.net (localhost [IPv6:::1]) by atuin.qyliss.net (Postfix) with ESMTP id EC2234144; Sun, 21 Sep 2025 09:03:01 +0000 (UTC) Received: by atuin.qyliss.net (Postfix, from userid 993) id 41768413C; Sun, 21 Sep 2025 09:03:00 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on atuin.qyliss.net X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DMARC_MISSING,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=4.0.1 Received: from fhigh-a7-smtp.messagingengine.com (fhigh-a7-smtp.messagingengine.com [103.168.172.158]) by atuin.qyliss.net (Postfix) with ESMTPS id BAC6C413B for ; Sun, 21 Sep 2025 09:02:59 +0000 (UTC) Received: from phl-compute-01.internal (phl-compute-01.internal [10.202.2.41]) by mailfhigh.phl.internal (Postfix) with ESMTP id E52BA14000E6; Sun, 21 Sep 2025 05:02:58 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-01.internal (MEProxy); Sun, 21 Sep 2025 05:02:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alyssa.is; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm3; t=1758445378; x=1758531778; bh=qfsV4Jml0b Uhq5mxkR/xjqg71N28q6rzCDypDFik/LU=; b=opoTUmzkehfa4ge2TPvnlE9WKF mEHO+QDANGogkx1mm2lfCAHXxbXTJ8Mf6zXKI6VMaVZfMsch3qP2IjiAhFtSAZyc mHN1X3rbeBaVPE9M4LfUdtTVeVjYV+ADnw89aGCtpJC4fQa5uDVnow1NeSmWRHP6 XVeAvCPYEeWS/5cFnGyXsJNn79GpjejQdgpdiX2MUPDrcx3GSv/cW2n7ZLxDI/9E RFzPyFjy5Xfak1ZbvmvI7FZvmuEZegKW6ByZNWuak28NDGFf/6eSmAT9ELzMgtAf YIsUrtfR28bPwjwkB0RVMb8NZCPoB+5TWhain0FhMxp+VA/Ct8yDdymFCd1Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1758445378; x=1758531778; bh=qfsV4Jml0bUhq5mxkR/xjqg71N28q6rzCDy pDFik/LU=; b=I8FEaW+LSY97UQvO3rbsnSkHwiN5HEWbYrnqN0ZPBoUSBf3KO2K X+6BW/fahlGTBEhefg9ca+d9+ev4cwDiKhG003J0w3vnd8GDsVqZEAPV8q0FyhJT x94jSuhLqIoZz1aF9TlWVHZG0eKHoa/ITr+kkLRGNGvQ1m2qgGV53lORy/fMHRrx GfVzjgm4uYSpmRBRB6FRzsTQA3iSU6LUXfryXIajo1JwzcRpzSdkhJuPlYrepSYy 8O1QCnEC/sduKBZVplZkCdPAC5RRfJPHr2XB673Aj/TePKdPRyYwPyKvd8IGcuEh 9XhEJvFksuLKHdyuR3DrCjrP78eDO+iSGlw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggdehgeehiecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpefhvfevufgjfhffkfggtgesghdtreertddttdenucfhrhhomheptehlhihsshgrucft ohhsshcuoehhihesrghlhihsshgrrdhisheqnecuggftrfgrthhtvghrnhepieduffeuie elgfetgfdttddtkeekheekgfehkedufeevteegfeeiffetvdetueevnecuvehluhhsthgv rhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhephhhisegrlhihshhsrgdrih hspdhnsggprhgtphhtthhopedvpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopegu vghmihhosggvnhhouhhrsehgmhgrihhlrdgtohhmpdhrtghpthhtohepuggvvhgvlhessh hpvggtthhruhhmqdhoshdrohhrgh X-ME-Proxy: Feedback-ID: i12284293:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 21 Sep 2025 05:02:58 -0400 (EDT) Received: by mbp.qyliss.net (Postfix, from userid 1000) id 6E04420038DE; Sun, 21 Sep 2025 11:02:47 +0200 (CEST) From: Alyssa Ross To: Demi Marie Obenour Subject: Re: [PATCH 15/20] host/rootfs: Use real less, not BusyBox less In-Reply-To: <78a3007a-11ed-4e59-9533-2e2dea9203b8@gmail.com> References: <20250904-systemd-v1-0-2a63b790a913@gmail.com> <20250904-systemd-v1-15-2a63b790a913@gmail.com> <875xdtjnyf.fsf@alyssa.is> <87segiqo1i.fsf@alyssa.is> <78a3007a-11ed-4e59-9533-2e2dea9203b8@gmail.com> Date: Sun, 21 Sep 2025 11:02:46 +0200 Message-ID: <875xdcuqix.fsf@alyssa.is> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Message-ID-Hash: OJ4V7HSRKD445WXKFQI35W2ZPXZBAM7L X-Message-ID-Hash: OJ4V7HSRKD445WXKFQI35W2ZPXZBAM7L X-MailFrom: hi@alyssa.is X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-devel.spectrum-os.org-0; header-match-devel.spectrum-os.org-1; header-match-devel.spectrum-os.org-2; header-match-devel.spectrum-os.org-3; header-match-devel.spectrum-os.org-4; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Spectrum OS Development X-Mailman-Version: 3.3.9 Precedence: list List-Id: Patches and low-level development discussion Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Demi Marie Obenour writes: > On 9/19/25 14:45, Alyssa Ross wrote: >> Demi Marie Obenour writes: >>=20 >>> On 9/8/25 05:25, Alyssa Ross wrote: >>>> Demi Marie Obenour writes: >>>> >>>>> The version of less in BusyBox cannot handle horizontal scrolling, so= it >>>>> is much less useful for debugging than less(1). As long as it less is >>>>> needed, it is better to have a more useful version. >>>>> >>>>> Signed-off-by: Demi Marie Obenour >>>> >>>> Is it needed? >>> >>> When I was debugging, I kept getting frustrated with limitations >>> of Busybox less. This patch helped me quite a bit, so yes, I think >>> it is needed. >>=20 >> What I mean is: is less needed at all? (I was referring to you saying >> "as long as less is needed".) >>=20 >> So far I haven't added tools that are only useful for debugging to the >> image (although the core dump handler is an exception). I frequently >> use strace, for example, but I don't think it really belongs as part of >> the system image. less is only really present at all because it snuck >> is as part of busybox. I also don't want to have images used for >> development to differ from the real ones, because then wee can miss >> stuff in testing more easily. So here's an idea: what if we attach an >> extra block device in "make run" that includes some debugging tools, and >> then that can easily be mounted to get the extra tools when needed for >> development, while still being able to use a normal build of the >> Spectrum host system? > > That's a great idea! I'll work on it later, though. In the future > it might make sense to provide a debug build of Spectrum for use by > developers tracking down problems. That's a task for even further > in the future. I mean ideally I'd prefer we never have a debug build, because as soon as that exists it'll start diverging from a real one. Would be fine to distribute an extra image full of debugging tools or whatever though, in a way that could be used on a real system as well as just in the development environment. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRV/neXydHjZma5XLJbRZGEIw/wogUCaM+/NgAKCRBbRZGEIw/w oqh7AQC4M1AT5j9IbwtZPNNn7ks4pJOKzZucgW2tQd1HRWzUawEA3RFwLJBOUUeK O933RC/jLmG0lRE8mUh02WuwVvuiDQg= =OqzT -----END PGP SIGNATURE----- --=-=-=--