From owner-freebsd-embedded@freebsd.org Mon Mar 8 15:11:51 2021 Return-Path: Delivered-To: freebsd-embedded@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 52137575287 for ; Mon, 8 Mar 2021 15:11:51 +0000 (UTC) (envelope-from ardovm@yahoo.it) Received: from sonic305-20.consmr.mail.ir2.yahoo.com (sonic305-20.consmr.mail.ir2.yahoo.com [77.238.177.82]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DvMJ54V5fz4m7X for ; Mon, 8 Mar 2021 15:11:49 +0000 (UTC) (envelope-from ardovm@yahoo.it) X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1615216307; bh=jQBnDUVEIzhWqU+opsoF0WCF+XSbGuznJ1aCHwaMz+i=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=IHfTiasht89wmfVnozr0qbUmTuy3PexSt8rbGCPZdfNbLwkEXiRccwdapYJQvVvyC641egGcjQ3j6zsfS67LMq5rTuCht/5+xMEkFMK3a8CL1CHa3JqWveG4xCKgTohA2Gc3/OLSuwalYLvQXJBMGMvKkL4s1ZywcZUFlwnlFLmsoEju+JZhZM+vxmo0CZJgSwQGtBmglqC1le4OmARnUGjKH0GYPD/T4PoxXn3u1WAwVhl4Os93byoaTL4nQHWMbV9s3lvcFM8oiSc41Mk8u3lfOPJANo4rCOuuWb7xaPbq+kmr9beH0AlCBCL+J3eoBqs0lzFVmD+hfME9GBZWMA== X-YMail-OSG: LhvLUXkVM1mnHeD4ykJ.XLxkejyCbwETo2P5lKKTrJwBNGamwrGKf3Fexp26Jcq 7.I67GGckaf0eVcV8GQMpRagc6lA8AFGyPRDv4i76oeltmKaXB1mhof7cKnD6IMxLd6twIsr1BmP mWQ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gWY1VGRyH_ngM4rXYFTGRIYS6nl9I807gJEmBL3BXGNKrvwaz7n3s1l.famfTB WklSAcQBA7ASL5Jx09ADUSzXIKrHJpLWSY6rsVYuDutk3MPdHDu5pra_M1jzTbWwMor1EDTdJuUQ ctxjhMvpX_nAjlcNsKC8m_Sn.W9IqXTRX_y46z5SfaDy66c2B1N5PXOLyIcDSp5N_jq6ZFA-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.ir2.yahoo.com with HTTP; Mon, 8 Mar 2021 15:11:47 +0000 Received: by smtp425.mail.ne1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 6983f4220fe17bd12cc4584a9821cc09; Mon, 08 Mar 2021 15:11:41 +0000 (UTC) Received: by nuvolo.localdomain (Postfix, from userid 1001) id 9C0D1126060; Mon, 8 Mar 2021 16:11:39 +0100 (CET) Date: Mon, 8 Mar 2021 16:11:39 +0100 From: Arrigo Marchiori To: FreeBSD Embedded list Subject: About PR #186030: what changes to nanobsd would be useful today? Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline References: X-Mailer: WebService/1.1.17872 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Apache-HttpAsyncClient/4.1.4 (Java/11.0.9.1) X-Rspamd-Queue-Id: 4DvMJ54V5fz4m7X X-Spamd-Bar: - X-Spamd-Result: default: False [-1.20 / 15.00]; RWL_MAILSPIKE_GOOD(0.00)[77.238.177.82:from]; FREEMAIL_FROM(0.00)[yahoo.it]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.it:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.it,reject]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.it]; ASN(0.00)[asn:34010, ipnet:77.238.176.0/22, country:GB]; RBL_DBL_DONT_QUERY_IPS(0.00)[77.238.177.82:from]; SUBJECT_ENDS_QUESTION(1.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.it:s=s2048]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; NEURAL_SPAM_SHORT(0.30)[0.303]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[77.238.177.82:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[77.238.177.82:from]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-embedded] X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Mar 2021 15:11:51 -0000 Dear Embedded list, TL;DR; a long time ago I reported bug #186030 [1] that initially received some feedback, then nothing. Would anyone be interested in the same type of change (dropping fdisk) in favor of mkimg(1)? Or maybe just in the creation of the code slice before the disk image? 1: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=186030 Longer version follows. The PR introduces two changes to nanobsd(8): - use gpart(8) instead of fdisk(8) to create partitions; - create the "code slice" before the whole "disk image" and thus allow for faster builds when the disk image is not required. I have been carrying on those changes for years, advancing FreeBSD versions as they became obsolete. I have not received any feedback since 2014 (except one in 2018 that looks like a generic housekeeping message). This has not been a problem for me in any way, because I was actually using the patch, and I just wanted to share it in case it could be useful for someone. Now I want to drop gpart(8) in favor of mkimg(1), due to incompatibilities between i386 and amd64 geom(8) syscalls. Would anyone be interested if I updated that PR, or closed and re-opened another one, in order to use mkimg(1) instead of fdisk(8)? Alternatively, is the possibility to create the code slice before the disk image still interesting? I could also issue a PR just for that. Please understand that this is not a complaint at all, but just a request for what would be a useful work for the community, as I have to carry it out anyway. If I receive no feedback I will just carry on... as I have been doing until today :-) Best regards, -- Arrigo http://rigo.altervista.org