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