From owner-freebsd-questions@FreeBSD.ORG Tue Jan 25 02:00:29 2011 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 788B01065672 for ; Tue, 25 Jan 2011 02:00:29 +0000 (UTC) (envelope-from clarkjp@charter.net) Received: from mail.cluebytwelve.org (clueby12.org [198.186.190.239]) by mx1.freebsd.org (Postfix) with ESMTP id 546DE8FC0C for ; Tue, 25 Jan 2011 02:00:29 +0000 (UTC) Received: from localdomain.local (24-158-157-74.dhcp.jcsn.tn.charter.com [24.158.157.74]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.cluebytwelve.org (Postfix) with ESMTPSA id 742871B5D9 for ; Mon, 24 Jan 2011 19:42:24 -0600 (CST) Received: by localdomain.local (Postfix, from userid 1001) id 4F2FB2844E; Mon, 24 Jan 2011 19:42:23 -0600 (CST) Date: Mon, 24 Jan 2011 19:42:23 -0600 From: "J. Porter Clark" To: freebsd-questions@freebsd.org Message-ID: <20110125014223.GA13385@auricle.charter.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Organization: http://www.angelfire.com/ego/porterclark/ User-Agent: Mutt/1.5.21 (2010-09-15) Subject: How to label a GELI device X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Jan 2011 02:00:29 -0000 I have an encrypted partition, /dev/da0s1d. I can use geli attach da0s1d and obtain a device /dev/da0s1d.eli, which is a UFS filesystem. All that works just fine. I'd like to label /dev/da0s1d so that I don't have to refer to the exact drive number, etc., which might change if I reboot with a USB stick in the system or whatever. But glabel puts the label in the last sector, which is where GELI stores metadata. So, how do I make this work? -- J. Porter Clark