From owner-freebsd-embedded@freebsd.org Tue Sep 10 09:28:19 2019 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 929A6D1248 for ; Tue, 10 Sep 2019 09:28:19 +0000 (UTC) (envelope-from fabien.costard@free.fr) Received: from smtp5-g21.free.fr (smtp5-g21.free.fr [IPv6:2a01:e0c:1:1599::14]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46SKTG2Cbpz4Dgn for ; Tue, 10 Sep 2019 09:28:14 +0000 (UTC) (envelope-from fabien.costard@free.fr) Received: from [IPv6:2a01:e34:ec92:d840:fde2:5e67:71ac:b50e] (unknown [IPv6:2a01:e34:ec92:d840:fde2:5e67:71ac:b50e]) (Authenticated sender: stardco) by smtp5-g21.free.fr (Postfix) with ESMTPSA id 125A05FFE8 for ; Tue, 10 Sep 2019 11:28:11 +0200 (CEST) From: Fabien Costard Subject: Default parameters for NanoBSD To: freebsd-embedded@freebsd.org Message-ID: <70eb2817-31d6-5671-11c2-dc2c4cc21850@free.fr> Date: Tue, 10 Sep 2019 11:28:11 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 46SKTG2Cbpz4Dgn X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of fabien.costard@free.fr has no SPF policy when checking 2a01:e0c:1:1599::14) smtp.mailfrom=fabien.costard@free.fr X-Spamd-Result: default: False [-0.79 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; NEURAL_HAM_MEDIUM(-0.80)[-0.804,0]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[free.fr]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-embedded@freebsd.org]; TO_DN_NONE(0.00)[]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.79)[-0.788,0]; IP_SCORE_FREEMAIL(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(0.00)[ip: (4.44), ipnet: 2a01:e00::/26(-3.49), asn: 12322(-1.97), country: FR(-0.00)]; DMARC_NA(0.00)[free.fr]; R_SPF_NA(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[4.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.9.9.5.1.1.0.0.0.c.0.e.0.1.0.a.2.list.dnswl.org : 127.0.5.1]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[free.fr]; ASN(0.00)[asn:12322, ipnet:2a01:e00::/26, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[] X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Sep 2019 09:28:19 -0000 Hello everyone, This is a question about the default values used for the nanobsd. In the current default configuration (defaults.sh), the media size is set to 2000000 (NANO_MEDIASIZE=2000000). This size (1GB) does not allow to make an image when you follow the documentation online. I know that the purpose of the nanobsd is to make "light" FreeBSD system but would it be better to change the default media size when someone (like me) try to use and understand it step by step ? I found the media size have to be 9600000 (around 4.8GB) (to work with 2 images) What do you think about it ? Regards, Fabien From owner-freebsd-embedded@freebsd.org Tue Sep 10 13:54:06 2019 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 084F8D70B9 for ; Tue, 10 Sep 2019 13:54:06 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qt1-x831.google.com (mail-qt1-x831.google.com [IPv6:2607:f8b0:4864:20::831]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46SRMw3z4hz4Snl for ; Tue, 10 Sep 2019 13:54:04 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qt1-x831.google.com with SMTP id l22so20762722qtp.10 for ; Tue, 10 Sep 2019 06:54:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=nhJk+lc5dt188a88cFfB8m5hnifBWRTeHmfLfWUpnWU=; b=c3HJ+d87GTaNtjNfUsyjPShcgjV9RngWj5OCW7P/dSdmLgFnSPqCYnnAZUp7aaIhI0 TMTaRytQC+tcmwqMMpxtcIrFm2LMoJzge5qvRdUh5KtK+7tNFb8j1JHWzOlYpNN3ToUG fBSXEBx0nph3DPy0nkuR0TS9watolfbZrCV79Pj2el/kq0sDYHZxV/0tuVTcqaa8Afm2 JzXQc9MBCTPBi5z6p0DMQcxwi4jo9ynBzOuqHxdzpbqmjUixQZP722mGZ28jW4psuF4p Netz1rXDKoJlSksTjmyC989YUTQMHFiyEexKn6pvc65Ki3l+c4ZIS0ockEB6dItjt5Dh CanQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=nhJk+lc5dt188a88cFfB8m5hnifBWRTeHmfLfWUpnWU=; b=r/rKKry5a7PjSGcoVPclmUw2zBZFOd5WUcT7xVmGQd6KmfDRdEXzmXaICkA5n8ZG2R +i6QioO4z9fxx7a4GiGbgn9SnpLapHlvaCF8swq9+nqz84IeXPivj4SLmm3Ya7GDH501 ymKnUm4iuC7vIi01rDB4oWoS0luc3OB3MJ7jvRWrR5Wi33V8tgzowd/OxrwP8pdLp0ES WADWkVyJWOiRJr79cS7xZ0Bxaa29oGsPOxBD7ledMmXrobVBKmFc6QvA2t/UQqUGw3p4 Ws+vpPLN31RcsDLdfe6qoa4eozqECyD4ZYej1/O70QRFwUjKwVxAaTKSyIIOOc+tiUA0 el6A== X-Gm-Message-State: APjAAAVTzKxRv6THKiM2hdoozgabjYNOC8pM/sohSAxiXF7GVld1JYh1 mDbv2/duuvpvHipvITt4mx/yR0xvAM8HdkkWxygZpH4c X-Google-Smtp-Source: APXvYqzP1pAFPDMjFy8QWYhMR3jurSDGlHXYtYZnM64FIf7NsMu7gy/GxzXWDHPDAebNk6KGEsimuPwguTtipvz+cYQ= X-Received: by 2002:ac8:760e:: with SMTP id t14mr29254247qtq.175.1568123643500; Tue, 10 Sep 2019 06:54:03 -0700 (PDT) MIME-Version: 1.0 References: <70eb2817-31d6-5671-11c2-dc2c4cc21850@free.fr> In-Reply-To: <70eb2817-31d6-5671-11c2-dc2c4cc21850@free.fr> From: Warner Losh Date: Tue, 10 Sep 2019 07:53:52 -0600 Message-ID: Subject: Re: Default parameters for NanoBSD To: Fabien Costard Cc: "freebsd-embedded@freebsd.org" X-Rspamd-Queue-Id: 46SRMw3z4hz4Snl X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=c3HJ+d87; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::831) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-3.87 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-embedded@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; URI_COUNT_ODD(1.00)[1]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[1.3.8.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; FREEMAIL_TO(0.00)[free.fr]; MIME_TRACE(0.00)[0:+,1:+,2:~]; IP_SCORE(-2.88)[ip: (-9.33), ipnet: 2607:f8b0::/32(-2.73), asn: 15169(-2.26), country: US(-0.05)]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Sep 2019 13:54:06 -0000 On Tue, Sep 10, 2019 at 3:28 AM Fabien Costard wrote: > Hello everyone, > > This is a question about the default values used for the nanobsd. > In the current default configuration (defaults.sh), the media size is > set to 2000000 (NANO_MEDIASIZE=2000000). > This size (1GB) does not allow to make an image when you follow the > documentation online. > > I know that the purpose of the nanobsd is to make "light" FreeBSD system > but would it be better to change the default media size when someone > (like me) try to use and understand it step by step ? > > I found the media size have to be 9600000 (around 4.8GB) (to work with 2 > images) > > What do you think about it ? > I built an image yesterday, and 1GB was still large enough. What arch were you doing? What other things went onto the package? FreeBSD itself, without compilers, should clock in around 300MB. I have no problem bumping the size. Today it's hard to buy something smaller than 16GB (though there's a lot of lots of 4GB and 8GB on amazon, the sweet spot for price has moved to 32GB). It's likely time. I like to keep it small because the images are copied around and that takes up space. Warner From owner-freebsd-embedded@freebsd.org Tue Sep 10 13:59:35 2019 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 E1F11D7268 for ; Tue, 10 Sep 2019 13:59:35 +0000 (UTC) (envelope-from karl@denninger.net) Received: from colo1.denninger.net (colo1.denninger.net [104.236.120.189]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46SRVH0MDQz4T5n for ; Tue, 10 Sep 2019 13:59:34 +0000 (UTC) (envelope-from karl@denninger.net) Received: from denninger.net (ip68-1-57-197.pn.at.cox.net [68.1.57.197]) by colo1.denninger.net (Postfix) with ESMTP id 5AE562111BD for ; Tue, 10 Sep 2019 09:58:28 -0400 (EDT) Received: from [192.168.10.25] (D15.Denninger.Net [192.168.10.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by denninger.net (Postfix) with ESMTPSA id F07B610F724 for ; Tue, 10 Sep 2019 08:58:27 -0500 (CDT) Subject: Re: Default parameters for NanoBSD To: freebsd-embedded@freebsd.org References: <70eb2817-31d6-5671-11c2-dc2c4cc21850@free.fr> From: Karl Denninger Openpgp: preference=signencrypt Autocrypt: addr=karl@denninger.net; prefer-encrypt=mutual; keydata= mQINBF1Rd+gBEACmLAH7SAzdQq57ZN56QQEy0jDFfH5BvGOMZgCaP+Y5lJQ5u9WphCoCALMs Rg0o1Q9DRNWgUmy/cgsxioXAEzZFXXzOHPJhwplVOgfjxnoByD5KQhWG8Owm9QmATdtiZPSV 4UYVNUIbZv7btSnnAXysG2OUHajYS5PVeFQxFbhNFq/SS8VaXr1WEVTFa8NFKp2W3/KY1A+U KKDUlYwnOauK3fnY9chF2IRSoxAbBJFrJ4lPGz04HtzNos4Q9CBfTphKcdFjcPntNS9wrqs3 sm+7hLNTH9B2Kj6aekG5UhD03eyP+gevTgBy51RL6ULzI13Kc4aeyOByuBXrA8D2m2Ee67iy 4+ZSxM9Wn1gQce5624OWzCYIGBH2r75Bshp1KHKu36N2rN//kyKYnwl/z6UZB/S9cMUFKZgL gFx7QxpFX/HvSiBcPfcGS0meModpg6qma7/2jRoQAXacslpiT+uOfRGspNbnglkbw435RzX/ kMUclJQNZBBBUpPiGjVCjeBTiAfN8TyjS+pWzwxNCUZWbYO5xVaS0gbIhgVNoBOGn1rdTsdA PP65SRjaoL5KY6bzkkzrXLB2Djx8/p4vr0qIqxIQWbewJq3xKyKGiqI46ae77BF7k0B++Ndx g9K9UeWKl/iJ0eoI0ftR+xH3aIHTU1Or3j/tj4j8Z0tnVSyt1wARAQABtCNLYXJsIERlbm5p bmdlciA8a2FybEBkZW5uaW5nZXIubmV0PokCPwQTAQgAKQUCXVF36AIbIwUJCWYBgAcLCQgH AwIBBhUIAgkKCwQWAgMBAh4BAheAAAoJEG8twBXrj1l4swkP/3uOzRxW16K6H4JIEIRMUEbt nxDhmk+gR/7H9phg7HtvR7i22QejZX1N1NHcGRNmBwLshWVjJkHKhCE/AM8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Y+X82X7BIQEhqtFp9FVJSds4o/eNyaHd SoqfoeWMy3EV+rdJ3DneXcPS1BgxO57Rko5Hx3NUSVK83ovFb+Ofes9SLNdqNu3xAUcfpRdS DyxzpVbCq6Y2CIojiaweiYe5BOBhmR9OPGhqP8YD7GukYmQufAVuOrIVyctBlVPHgMBb+UX+ ItYXuX4weSJWLOsmM45xd/EYvBq2DWFpKlyihoktNzTGqxGsNeG7gCOEUTAnUwARAQABiQIl BBgBCAAPBQJdUXfoAhsMBQkJZgGAAAoJEG8twBXrj1l4Dm0P/iEx2gIHSOnvgpG799Vf2RM0 7gPbDWzDaw8YTV49H+VTOqq7RlT52aO0QfNAmtppX0V1/5f30fuSCF46NWnYGu35P/LvOAPb sLbeWCyJy4GOPN4cjsBMbgmooGdl24RdcvGMmY177o7oOSWBqXfhAj+YA6r+hEar1qxqLgwB Gy8wAId4qYSQhN/FxiQbyUs2tPAI6Wn/41pI7Hu6WgmRGpZrBv8HhVV9Gl7jallSsS/g+fhu WRbDKCknUS5SX3+w2AUFr4kf62gSSxXBxd075KnViV9c0sraAPI31XbM5QUc0Xssfaqs6Srr z4MjKaLhb7GD8C1JwI23PuGdFvk9WK996UvIyjdWIE99VSlg/5gEKkXzwx7oysrSG9BqkfGf I4addK55xRQPul0V3s2LtDoQTxg3VHrL6wrvGhYUcTHLmlsvNx1EOb5a3xBT+SUK/Ltq08LW YcmNbU/G217MlfvDJYHCb0uOtxqJFm8RiZGj2eEcLgvyWnlWCD2rfP4EqCxmpr3Ic725FiQR cBbdTV3clTgclhBG3TA9dxVjfZDcatz5cFBwXP8k5Yn9tNl90T2r79V4SNh1mCHtGTSEf449 qz9tm7EguLchjmoirJTuiipZKcalcHAHtz4VPUykdXsrfEJTzdEcujzqF6v/9CY+DjpAd3et Z0vw7xC5tS+b Message-ID: <06cd90cd-cb9c-a91e-f8c7-3bcdd1e4a226@denninger.net> Date: Tue, 10 Sep 2019 08:58:27 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-512; boundary="------------ms010104010909080000010902" X-Rspamd-Queue-Id: 46SRVH0MDQz4T5n X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of karl@denninger.net has no SPF policy when checking 104.236.120.189) smtp.mailfrom=karl@denninger.net X-Spamd-Result: default: False [-5.73 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; FROM_HAS_DN(0.00)[]; SIGNED_SMIME(-2.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; IP_SCORE(-2.53)[ip: (-9.86), ipnet: 104.236.64.0/18(-4.36), asn: 14061(1.63), country: US(-0.05)]; HAS_ATTACHMENT(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-embedded@freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[denninger.net]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~,4:~]; ASN(0.00)[asn:14061, ipnet:104.236.64.0/18, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[197.57.1.68.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11] X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Sep 2019 13:59:35 -0000 This is a cryptographically signed message in MIME format. --------------ms010104010909080000010902 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 9/10/2019 08:53, Warner Losh wrote: > On Tue, Sep 10, 2019 at 3:28 AM Fabien Costard = > wrote: > >> Hello everyone, >> >> This is a question about the default values used for the nanobsd. >> In the current default configuration (defaults.sh), the media size is >> set to 2000000 (NANO_MEDIASIZE=3D2000000). >> This size (1GB) does not allow to make an image when you follow the >> documentation online. >> >> I know that the purpose of the nanobsd is to make "light" FreeBSD syst= em >> but would it be better to change the default media size when someone >> (like me) try to use and understand it step by step ? >> >> I found the media size have to be 9600000 (around 4.8GB) (to work with= 2 >> images) >> >> What do you think about it ? >> > I built an image yesterday, and 1GB was still large enough. What arch w= ere > you doing? What other things went onto the package? FreeBSD itself, wit= hout > compilers, should clock in around 300MB. > > I have no problem bumping the size. Today it's hard to buy something > smaller than 16GB (though there's a lot of lots of 4GB and 8GB on amazo= n, > the sweet spot for price has moved to 32GB). It's likely time. I like t= o > keep it small because the images are copied around and that takes up sp= ace. > > Warner "xz" is excellent at turning a "sparse" NanoBSD file into something more-representative of the actual bits on the disk as opposed to the allocated size.... --=20 Karl Denninger karl@denninger.net /The Market Ticker/ /[S/MIME encrypted email preferred]/ --------------ms010104010909080000010902 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgMFADCABgkqhkiG9w0BBwEAAKCC DdgwggagMIIEiKADAgECAhMA5EiKghDOXrvfxYxjITXYDdhIMA0GCSqGSIb3DQEBCwUAMIGL MQswCQYDVQQGEwJVUzEQMA4GA1UECAwHRmxvcmlkYTESMBAGA1UEBwwJTmljZXZpbGxlMR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Sep 10 14:02:26 2019 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 DAAECD74CD for ; Tue, 10 Sep 2019 14:02:26 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qk1-x733.google.com (mail-qk1-x733.google.com [IPv6:2607:f8b0:4864:20::733]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46SRYZ1G5gz4TQs for ; Tue, 10 Sep 2019 14:02:25 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qk1-x733.google.com with SMTP id s18so17176170qkj.3 for ; Tue, 10 Sep 2019 07:02:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=KVZmAagWafbnT7lOeo1U1N1iMzWDuEdqSR/7TrBFwuw=; b=bw+nDW1/E3BrxVUx6+yrZ1wwbT3AeTbh1GVEgilRC4hI1OpP42UGf9PsZdZeeW6HcT e9360AgPNrBaHJfBN0UprKLt1MzLchT+GqDDmpDMZpXGf6x7VKIg5D7bWXRoSYfi2/iP 4As32vQLWcyIT8vuPk9j3VIv5l6Z8hDWWzWSxUxnoId5hTS5v7KIMb6sh+jro4jGl33Y PkgCxdTUqgVHV6eBBHSHBGbNLg1aH/chNsuxGHKVnz1HesxbUUyxZrFtJU1Ys5xpQ7zJ PdFaCt/ypwqZYOLlPWYNTr4E55m9AnZdN6jii3ODBsz4Txa+84RWVAX4SVcLFeq+FjB1 B66Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=KVZmAagWafbnT7lOeo1U1N1iMzWDuEdqSR/7TrBFwuw=; b=EMguDS7k8TeZqfVLtuac01PpAace9VCeu3NCesaqXpJAA+8H5MoE+NgAnaQB80JLKO Fq8Q6zVRKu2AOQyx3c1gQWSkyWnEelFLuHp8lShWiEOKrKeznyT7aDwRBBYXSCPw2yDf SPIn2VnLYJnX4T/u0WeNDin0+VwX9h8cBZIImy0JtAUNnFqDon3t94rJUMf16/Oth2Ze rH6efKZMxkxTf3DakURHOREQM4M3a7t3VvrwNudSQufcfdYrltpMAQ6qNn3kOZXSrXpz xCFKPvc8++IWfVrVNcwhjUVGkKRf0GdhAbouLhmKxgNwcL9DqUsCFVPBGuXIBXLEOLDH mWow== X-Gm-Message-State: APjAAAVKpR2b6o+PvWqriEgBtNCnxDelFjfbvlPxkpFH66Mcf18JxgXO i6cX17gKBZr17stEWC5YpGRQp8D9Q4h4Opgi37IaXwypWTM= X-Google-Smtp-Source: APXvYqwHXxBgQMFNYw8oRcvLGFJd3I5fi5STRauLnVF2BiRPN5Eh5uOcPa2qKpayVS2J0lm+yVP82jFUb97oumtqCi4= X-Received: by 2002:a05:620a:16af:: with SMTP id s15mr17054712qkj.380.1568124144476; Tue, 10 Sep 2019 07:02:24 -0700 (PDT) MIME-Version: 1.0 References: <70eb2817-31d6-5671-11c2-dc2c4cc21850@free.fr> <06cd90cd-cb9c-a91e-f8c7-3bcdd1e4a226@denninger.net> In-Reply-To: <06cd90cd-cb9c-a91e-f8c7-3bcdd1e4a226@denninger.net> From: Warner Losh Date: Tue, 10 Sep 2019 08:02:12 -0600 Message-ID: Subject: Re: Default parameters for NanoBSD To: Karl Denninger Cc: freebsd-embedded X-Rspamd-Queue-Id: 46SRYZ1G5gz4TQs X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=bw+nDW1/; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::733) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-3.87 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-embedded@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; URI_COUNT_ODD(1.00)[1]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[3.3.7.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; IP_SCORE(-2.87)[ip: (-9.32), ipnet: 2607:f8b0::/32(-2.73), asn: 15169(-2.26), country: US(-0.05)]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Sep 2019 14:02:26 -0000 On Tue, Sep 10, 2019, 7:59 AM Karl Denninger wrote: > On 9/10/2019 08:53, Warner Losh wrote: > > On Tue, Sep 10, 2019 at 3:28 AM Fabien Costard > > wrote: > > > >> Hello everyone, > >> > >> This is a question about the default values used for the nanobsd. > >> In the current default configuration (defaults.sh), the media size is > >> set to 2000000 (NANO_MEDIASIZE=2000000). > >> This size (1GB) does not allow to make an image when you follow the > >> documentation online. > >> > >> I know that the purpose of the nanobsd is to make "light" FreeBSD system > >> but would it be better to change the default media size when someone > >> (like me) try to use and understand it step by step ? > >> > >> I found the media size have to be 9600000 (around 4.8GB) (to work with 2 > >> images) > >> > >> What do you think about it ? > >> > > I built an image yesterday, and 1GB was still large enough. What arch > were > > you doing? What other things went onto the package? FreeBSD itself, > without > > compilers, should clock in around 300MB. > > > > I have no problem bumping the size. Today it's hard to buy something > > smaller than 16GB (though there's a lot of lots of 4GB and 8GB on amazon, > > the sweet spot for price has moved to 32GB). It's likely time. I like to > > keep it small because the images are copied around and that takes up > space. > > > > Warner > > "xz" is excellent at turning a "sparse" NanoBSD file into something > more-representative of the actual bits on the disk as opposed to the > allocated size.... > Dd that copies the partition still takes more time... Warner -- > Karl Denninger > karl@denninger.net > /The Market Ticker/ > /[S/MIME encrypted email preferred]/ > From owner-freebsd-embedded@freebsd.org Tue Sep 10 15:16:48 2019 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 71D59D9778 for ; Tue, 10 Sep 2019 15:16:48 +0000 (UTC) (envelope-from fabien.costard@free.fr) Received: from smtp5-g21.free.fr (smtp5-g21.free.fr [212.27.42.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46STCM4NC0z4YPQ for ; Tue, 10 Sep 2019 15:16:47 +0000 (UTC) (envelope-from fabien.costard@free.fr) Received: from [IPv6:2a01:e34:ec92:d840:fde2:5e67:71ac:b50e] (unknown [IPv6:2a01:e34:ec92:d840:fde2:5e67:71ac:b50e]) (Authenticated sender: stardco) by smtp5-g21.free.fr (Postfix) with ESMTPSA id 896D75FFD4; Tue, 10 Sep 2019 17:16:42 +0200 (CEST) Subject: Re: Default parameters for NanoBSD To: Warner Losh Cc: "freebsd-embedded@freebsd.org" References: <70eb2817-31d6-5671-11c2-dc2c4cc21850@free.fr> From: Fabien Costard Message-ID: <6bf94b97-50a6-91ab-111e-dece2b22dfe4@free.fr> Date: Tue, 10 Sep 2019 17:16:42 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-Rspamd-Queue-Id: 46STCM4NC0z4YPQ X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of fabien.costard@free.fr has no SPF policy when checking 212.27.42.5) smtp.mailfrom=fabien.costard@free.fr X-Spamd-Result: default: False [2.66 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[free.fr]; IP_SCORE(0.00)[ip: (5.86), ipnet: 212.27.32.0/19(2.78), asn: 12322(-1.97), country: FR(-0.00)]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; MIME_TRACE(0.00)[0:+,1:+,2:~]; DMARC_NA(0.00)[free.fr]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.86)[0.860,0]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_SPAM_LONG(1.00)[1.000,0]; R_SPF_NA(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[5.42.27.212.list.dnswl.org : 127.0.5.1]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[free.fr]; ASN(0.00)[asn:12322, ipnet:212.27.32.0/19, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[] Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Sep 2019 15:16:48 -0000 Le 10/09/2019 à 15:53, Warner Losh a écrit : > > > On Tue, Sep 10, 2019 at 3:28 AM Fabien Costard > wrote: > > Hello everyone, > > This is a question about the default values used for the nanobsd. > In the current default configuration (defaults.sh), the media size is > set to 2000000 (NANO_MEDIASIZE=2000000). > This size (1GB) does not allow to make an image when you follow the > documentation online. > > I know that the purpose of the nanobsd is to make "light" FreeBSD > system > but would it be better to change the default media size when someone > (like me) try to use and understand it step by step ? > > I found the media size have to be 9600000 (around 4.8GB) (to work > with 2 > images) > > What do you think about it ? > > > I built an image yesterday, and 1GB was still large enough. What arch > were you doing? What other things went onto the package? FreeBSD > itself, without compilers, should clock in around 300MB. > > I have no problem bumping the size. Today it's hard to buy something > smaller than 16GB (though there's a lot of lots of 4GB and 8GB on > amazon, the sweet spot for price has moved to 32GB). It's likely time. > I like to keep it small because the images are copied around and that > takes up space. > > Warner What I just mean is if you just use the nanobsd.sh script without touching anything it fails with the message: "/usr/obj/nanobsd.full/_.mnt: write failed, filesystem is full". But I totally agree about the size and my next step is to work on that optimization :-) Fabien