From owner-freebsd-current@freebsd.org Fri Jan 27 17:05:30 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 05157CC3705 for ; Fri, 27 Jan 2017 17:05:30 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id D6B82A13 for ; Fri, 27 Jan 2017 17:05:29 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mailman.ysv.freebsd.org (Postfix) id D3477CC3703; Fri, 27 Jan 2017 17:05:29 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D1081CC3702 for ; Fri, 27 Jan 2017 17:05:29 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-io0-x232.google.com (mail-io0-x232.google.com [IPv6:2607:f8b0:4001:c06::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9291EA12 for ; Fri, 27 Jan 2017 17:05:29 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-io0-x232.google.com with SMTP id j13so65034995iod.3 for ; Fri, 27 Jan 2017 09:05:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=fwfDmELiHuRSc4SsHNn7caquChOG4tT6SBxq3z4hOcQ=; b=FMZf5hMGDpDW5SAC+qXbLL6K2nfzFZGCD8UbBs6qPvAUomT79983vyeD+h/GgySr5f e6mXILhWvcnldZCC4qFuh+QDfNphEg09pFQmFfULJPEPEcraO2Om7w0Eo+8pE7Va51W6 WSAVX3LY9slTjZrM08KLF16yFFbPKz7I6tT0o7pFF90PfSbM8kjr+yKUH8rvxkGb1Rft 9I1j7bNvgOyaP2MGs+mbIIAau9ghED0r0dhulOd4ISApV9mG4Xr/FqePyEu05xdpk9bP /Y+2EB6heHukgoBChBzL5VjEqGiTUCo120MKDtdXbd05kpdZV1Q01cWa+B3lkEeqBEs4 BUbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-transfer-encoding; bh=fwfDmELiHuRSc4SsHNn7caquChOG4tT6SBxq3z4hOcQ=; b=hRgiaxeForkGGRcVFKflT7J9MGZYUnAfZ3nm/bWRjdDC8a1SEXsXBaB99M7zsaNFzx Y05d02N+YK1VGBo27duzYVTtm6JcoYX8dLVp9819E5zFI+05AUWXdxZDlJwKj2VrEzBG ZSIt+Oq02CiRVqK11/BDVUvGI+6NGWJ0TmEI8xR2ykbKwDHm2lR7UfMRMMlDY0Lylm01 kiSikPmU/wO0Gv6AO3Z2OntAKcxtGlCz5HfH+g+H9E2FAv/qVh6JHfILswS/FtgnXUe3 +w2sRLwwNJ8RMG1Q0MEK1Mri0SjfXjXfT7FRGiefatVd7eRJH0g1f5VqexO3roZuCSRh uIkg== X-Gm-Message-State: AIkVDXK6btuFPl3ymkZiVIujW1gz+bvPQfD5vVPwnlKgcsRWA5WwJZcHC6CqqRoLZD0R5G+orxc2VtVksynrlQ== X-Received: by 10.107.139.131 with SMTP id n125mr8840633iod.166.1485536728870; Fri, 27 Jan 2017 09:05:28 -0800 (PST) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 10.79.145.217 with HTTP; Fri, 27 Jan 2017 09:05:28 -0800 (PST) X-Originating-IP: [50.253.99.174] In-Reply-To: References: From: Warner Losh Date: Fri, 27 Jan 2017 10:05:28 -0700 X-Google-Sender-Auth: piT0l7pVPNCB2uGkL8A2q1bfYDM Message-ID: Subject: Re: gptzfsboot grew a lot after skein support was added; need knob to control bloat To: Toomas Soome Cc: "Ngie Cooper (yaneurabeya)" , Allan Jude , FreeBSD Current Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jan 2017 17:05:30 -0000 On Fri, Jan 27, 2017 at 12:34 AM, Toomas Soome wrote: > >> On 27. jaan 2017, at 1:40, Ngie Cooper (yaneurabeya) wrote: >> >> Hi, >> I tried upgrading one of my workstations and unfortunately the fre= ebsd-boot partition is too small (I follow manpage directions, exactly, and= those seem to be too small as of 10.3-RELEASE timeframe), and I don=E2=80= =99t have enough space or ability to resize the partition and make it bigge= r. So, I=E2=80=99m in need of a build knob to control the bloat, and/or hav= ing an alternative boot loader without geli/skein/crypto support compiled i= n. Would you be opposed to the work? >> Thanks, >> -Ngie > > > I do agree that since the geli knob is already there, it may do. Of cours= e we also can think of additional knobs, but there is an issue - it wont he= lp just to exclude some files, the additional features also do sit in the c= ode, so the replacement stubs will be needed, also testing them all over wi= ll take some time. And the preprocessor spaghetti really is nasty thing to = deal with;) > > And then there is another issue (partly why I did the feature support in = first place) - as the kernel does not block user from enabling the features= , the user can end up facing non-bootable setup which is also not good, as = user is using perfectly legal options, and still the whole thing is just re= ndered unusable=E2=80=A6 I'm curious why you can't find the space for a bigger partition? Almost all drives these days are partitioned with a little wasted space, and that wasted space should be more than enough to cover us here. Also, most drives have a swap partition that can be shrunk a trivial amount to get space for this... Warner