From owner-freebsd-fs@FreeBSD.ORG Mon Aug 26 18:27:47 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id E0BBBCBB; Mon, 26 Aug 2013 18:27:47 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id AC026263C; Mon, 26 Aug 2013 18:27:47 +0000 (UTC) Received: from jhbbsd.localnet (unknown [38.105.238.108]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 528FFB941; Mon, 26 Aug 2013 14:27:46 -0400 (EDT) From: John Baldwin To: varanasi sainath Subject: Re: UUID in fstab. Date: Mon, 26 Aug 2013 10:24:03 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p28; KDE/4.5.5; amd64; ; ) References: <201308231444.15353.jhb@freebsd.org> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201308261024.03553.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Mon, 26 Aug 2013 14:27:46 -0400 (EDT) Cc: freebsd-fs@freebsd.org, freebsd-drivers@freebsd.org, Warner Losh , freebsd-questions@freebsd.org X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Aug 2013 18:27:48 -0000 On Monday, August 26, 2013 12:06:21 am varanasi sainath wrote: > Thanks John, I have tried as you suggested using a Live CD and yes the > partitions uuid's are present in gptid .. > I found the UUID's in /dev/gptid - how do I determine which uid corresponds > to which partition (ufs or swap or boot) (I used glabel status and after > some trial and error I found them) edited the fstab accordingly and > everything is working now .. The other way would be to examine the kern.geom.confxml output directly as I think you can probably use that to map between them. > Is there a way to have both the /dev/XXXpYY and /dev/gptid/ present > in /dev/ Not currently. freebsd-geom@ is probably the best place to ask that question. -- John Baldwin