From owner-freebsd-questions@FreeBSD.ORG Fri Jul 11 20:53:00 2014 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9042CF7F for ; Fri, 11 Jul 2014 20:53:00 +0000 (UTC) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 53AA12572 for ; Fri, 11 Jul 2014 20:52:59 +0000 (UTC) Received: from r56.edvax.de (port-92-195-69-249.dynamic.qsc.de [92.195.69.249]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id EC6F23CD91; Fri, 11 Jul 2014 22:52:50 +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 s6BKqnCX002585; Fri, 11 Jul 2014 22:52:50 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 11 Jul 2014 22:52:49 +0200 From: Polytropon To: "Michael W. Lucas" Subject: Re: gpart and bsdlabel Message-Id: <20140711225249.cf2e3187.freebsd@edvax.de> In-Reply-To: <20140711201114.GA2064@bewilderbeast.blackhelicopters.org> References: <20140711201114.GA2064@bewilderbeast.blackhelicopters.org> Reply-To: Polytropon 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: questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jul 2014 20:53:00 -0000 On Fri, 11 Jul 2014 16:11:14 -0400, Michael W. Lucas wrote: > Hi, > > I'm gradually switching from the familiar and comfortable agony of > fdisk/disklabel to gpart. > > In the past, our org has avoided certain partition letters on specific > drives. If the drive isn't a boot drive, it has no 'a" partition. If > it has no swap, it has no 'b' partition. This is correct. :-) > gpart assigns partition letters in the order in which they're created. > > Is there a way to specify which partition letter you want to create, > or start with, or something? Even though gpart can work with MBR partitioning, its primary goal is to be _the_ tool for GPT partitioning, which is "today's standard". Is there any _technical_ reason you're using MBR partitioning scheme with gpart (instead of with fdisk and bsdlabel)? If not, you can use GPT partitioning, resulting in partition numbers, and no slicing part. Additionally, you can use labels in most places in order to avoid letters or numbers on device names. See the -i option in "man gpart". Also see for further inspiration of moving away from MBR and the traditional tools: http://www.wonkity.com/~wblock/docs/html/disksetup.html http://www.freebsd.org/doc/handbook/geom-glabel.html To be honest, I can't actually answer your question because I still use fdisk and bsdlabel when _intendedly_ having to deal with MBR partitioning (technically required exceptions), and gpart for regular use, with GPT partitioning, of course. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...