From owner-freebsd-drivers@FreeBSD.ORG Tue Aug 27 07:19:10 2013 Return-Path: Delivered-To: freebsd-drivers@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 ESMTP id A8BD6726; Tue, 27 Aug 2013 07:19:10 +0000 (UTC) (envelope-from varanasisai@gmail.com) Received: from mail-vc0-x22e.google.com (mail-vc0-x22e.google.com [IPv6:2607:f8b0:400c:c03::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2DF822149; Tue, 27 Aug 2013 07:19:10 +0000 (UTC) Received: by mail-vc0-f174.google.com with SMTP id gd11so2686031vcb.5 for ; Tue, 27 Aug 2013 00:19:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=xVRbdNYq6HH8EFMX/SRn/kLoCJxJKJbKby+BXxbYK0A=; b=c6z4j5wm13LOmtT+gkX9O1OQhCUWu3hiOlUonUBC1p2OMq/PgEQ9nrcuuOvzJSrPBr mkH95tH9X1PEkQ/3cBHdl2DF6GhkrWeUB0vaXn0oBFJi11nxnODCAKuTzbUvxJ2ru7Hj WgkPUIdmKsmSd4lc2Ri3VWY9iElK3LJ8+oHrQzf2hLT8YReD4ncG6MQYR3O9PrzhXKVc 47AMiSvV0D9o4E234lOBtvbNAyEF9CDJpK7IMY6bqfzHJLTcuVDR2MKoePsxDsIY9udA f67tIGpZcK3mv/hKTen0z6m44pDGZTrHCUHWkMoTaSY5Mt+mViQZonqssOHEcOICfu2i ZxjA== MIME-Version: 1.0 X-Received: by 10.220.16.73 with SMTP id n9mr83412vca.24.1377587949289; Tue, 27 Aug 2013 00:19:09 -0700 (PDT) Received: by 10.52.233.4 with HTTP; Tue, 27 Aug 2013 00:19:09 -0700 (PDT) In-Reply-To: <20130826190208.GA15654@dan.emsphone.com> References: <201308231444.15353.jhb@freebsd.org> <201308261024.03553.jhb@freebsd.org> <20130826190208.GA15654@dan.emsphone.com> Date: Tue, 27 Aug 2013 12:49:09 +0530 Message-ID: Subject: Re: UUID in fstab. From: varanasi sainath To: Dan Nelson Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-fs@freebsd.org, freebsd-drivers@freebsd.org, freebsd-questions@freebsd.org X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Aug 2013 07:19:10 -0000 Hi Dan, Thank you, gpart list does exactly what I needed. I will write a script which will list uuids, type and name of the device. Thanks. On Tue, Aug 27, 2013 at 12:32 AM, Dan Nelson wrote: > In the last episode (Aug 26), John Baldwin said: > > 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 .. > > "gpart list" will show detailed info for each provider, including the uuid > for each GPT partition. > > -- > Dan Nelson > dnelson@allantgroup.com > -- Sainath Varanasi Hyderabad 09000855250 *My Website : http://s21embedded.webs.com **Linked In Profile : http://in.linkedin.com/pub/sainathvaranasi .. .. *