From owner-freebsd-questions@freebsd.org Wed Dec 16 18:08:01 2015 Return-Path: Delivered-To: freebsd-questions@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 D38D6A49D14 for ; Wed, 16 Dec 2015 18:08:01 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.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 9DA491E05 for ; Wed, 16 Dec 2015 18:08:01 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-31-25.dynamic.qsc.de [92.195.31.25]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id D8DE92785B; Wed, 16 Dec 2015 19:07:52 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id tBGI7rOK021319; Wed, 16 Dec 2015 19:07:53 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Wed, 16 Dec 2015 19:07:53 +0100 From: Polytropon To: Anton Sayetsky Cc: Sergei G , FreeBSD Questions Subject: Re: which label to use in mount? Message-Id: <20151216190753.606cc1e2.freebsd@edvax.de> In-Reply-To: References: 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 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Dec 2015 18:08:01 -0000 On Wed, 16 Dec 2015 18:00:48 +0300, Anton Sayetsky wrote: > So let's imagine that one has a partition and wants to mount it by name > regardless of disk number: > 1. GPT scheme - use GPT labels > 2. MBR scheme, partition is UFS-formatted - use UFS label > 3. MBR scheme, partition is swap or FS that doesn't support labels - use > glabel. 4. MBR scheme, partition is UFS-formatted - optionally use UFSID. See Handbook, chapter 18.7. "Labeling Disk Devices": https://www.freebsd.org/doc/handbook/geom-glabel.html However, using GPT labels or at least UFS labels is much more convenient. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...