From owner-freebsd-hackers@FreeBSD.ORG Mon Jun 18 15:23:12 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3D00C106567C for ; Mon, 18 Jun 2012 15:23:12 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 4DB708FC16 for ; Mon, 18 Jun 2012 15:23:06 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q5IFMiL7037091; Mon, 18 Jun 2012 17:22:47 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q5IFMXTY037088; Mon, 18 Jun 2012 17:22:36 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Mon, 18 Jun 2012 17:22:33 +0200 (CEST) From: Wojciech Puchar To: Matthias Apitz In-Reply-To: <20120616185822.GA1253@tiny.Sisis.de> Message-ID: References: <4fb7dfd6.736a980a.186d.ffff902f@mx.google.com> <20120519180901.GA1264@tiny> <20120525183006.GA1259@tiny> <20120525225839.GA7347@server.rulingia.com> <20120527082745.GA2591@tinyCurrent> <20120616185822.GA1253@tiny.Sisis.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Mon, 18 Jun 2012 17:22:50 +0200 (CEST) Cc: freebsd-hackers@freebsd.org, rozhuk.im@gmail.com Subject: Re: proper newfs options for SSD disk X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jun 2012 15:23:12 -0000 > OK, but I wanted to have most of the space of the 4 GB SSD encrypted > with geli(8); so I should make there some slice containing /boot > (unencrypted) and a second slice which later will contain my HOME and > encrypted; wrong? right. but do not forget bootloader requires things to be in /boot directory on boot partition so do it that way 20MB /b partition (a) rest - geli encrypted / partition (d) on / partition make link /boot -> /b/boot put /boot things in /b/boot well done custom kernel should fit in 10MB /b partition including boot loader. and you can gzip /boot/kernel/kernel