From owner-freebsd-questions@FreeBSD.ORG Fri Jul 6 18:26:01 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 20538106564A for ; Fri, 6 Jul 2012 18:26:01 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id D0F588FC08 for ; Fri, 6 Jul 2012 18:26:00 +0000 (UTC) Received: from r56.edvax.de (port-92-195-60-31.dynamic.qsc.de [92.195.60.31]) by mx01.qsc.de (Postfix) with ESMTP id 6C4063CEC8; Fri, 6 Jul 2012 20:25:59 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id q66IPwDu001908; Fri, 6 Jul 2012 20:25:58 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 6 Jul 2012 20:25:58 +0200 From: Polytropon To: Bas Smeelen Message-Id: <20120706202558.2a6d7e42.freebsd@edvax.de> In-Reply-To: <4FF724AF.9090602@ose.nl> References: <4FF71637.9030206@d3photography.com> <20471.8240.321332.987229@jerusalem.litteratus.org> <4FF724AF.9090602@ose.nl> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Does FreeBSD start slices at head boundaries? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jul 2012 18:26:01 -0000 On Fri, 06 Jul 2012 19:47:27 +0200, Bas Smeelen wrote: > On 07/06/2012 07:28 PM, Robert Huff wrote: > > Ryan Coleman writes: > > > >> > Anyway just don't make slices at all if your disk is dedicated > >> > to FreeBSD > >> > >> Except for swap, right? > > Why do you say that? > > > > > > Robert huff > > > > > > > > I think Ryan means partition and not slice? > I would not recommend no slices at all, It's deprecated to use > "dangerously dedicated disks" First of all, it's "dedicated disks", there's nothing dangerous related. :-) If you are using the MBR approach ("old way"), you can do either creating a "DOS primary partition", a slice, which then will contain your partitions: a swap partition and one or more UFS partitions. So you have ad0s1a, ad0s1b and so on. When you omit the slice and create the partitions on the "bare disk", you have a dedicated layout. FreeBSD will run with it without any problem. It _may_ be possible that some systems like "Windows" have trouble with this approach, but if you're going to use FreeBSD only on that disk, there is no danger, no problem. You have ad0a, ad0b and so on. If you are using the GPT approach ("new way"), you create partitions using a different tool set, setting them to be a file system or a swap partition. You end up in ad0p1, ad0p2 and so on. Note that those aren't "DOS primary partitions" anymore, outdated systems may not properly recognize them. If you label your partitions (you can do that with both approaches), you don't need to deal with device names at all. > Starting with 9 I don't see slices in mount ouput anymore but still > there are FreeBSD partitions in slices (which is a partitions in dos terms) > Example / is now disk0p1 it used to be disk0s1a Correct, this relation can be constructed. To OP: If you omit the slice and just create two partitions (one for FS and one for swap), FreeBSD will use this fine. Just make sure to set the boot parameters properly. Or simply use the GPT-related tools, so you don't have to deal with the question at all. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...