From owner-freebsd-drivers@FreeBSD.ORG Wed Aug 21 20:38:02 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 49A1BE96; Wed, 21 Aug 2013 20:38:02 +0000 (UTC) (envelope-from varanasisai@gmail.com) Received: from mail-ve0-x232.google.com (mail-ve0-x232.google.com [IPv6:2607:f8b0:400c:c01::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D7C6C2918; Wed, 21 Aug 2013 20:38:01 +0000 (UTC) Received: by mail-ve0-f178.google.com with SMTP id ox1so840155veb.9 for ; Wed, 21 Aug 2013 13:38:00 -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=huNHhqwSb57k5L4AoYRPJz5lMVvmbdFSnMy4kHSwt1s=; b=dA2/W3yx3VW8nVde06NqbBNr77aWzProDVQb35nqql6jE2d2Rk5GgPvqruTkD687MD xMkla59Axbiz2um67p59MX3FntQQWUhIPztlpBoYwcbv9pXmlatUloGzdOvXLtjncTe3 CSkMfkXEygGQ+AIYROjKljReyFGL65C5E4fHnZxcCBPXhT1aOOV2RkA+f/FkAlUhzCvH gN9WP76KopoB/KnagCWSFLAX76/4w0s0+vxEMSMlT1xfOUJ1XjsRrvLdWgyyzNrckHtR NwDVEKq/AeuisosWdR6e416i/S/YVG97uIdl4IgbzbiQwJhZbjOvdZgwRvpfnisef31S GRrw== MIME-Version: 1.0 X-Received: by 10.220.237.208 with SMTP id kp16mr7991332vcb.4.1377117480865; Wed, 21 Aug 2013 13:38:00 -0700 (PDT) Received: by 10.52.233.4 with HTTP; Wed, 21 Aug 2013 13:38:00 -0700 (PDT) In-Reply-To: <503E443D-BC48-4284-8FC4-22B0A50DF147@bsdimp.com> References: <503E443D-BC48-4284-8FC4-22B0A50DF147@bsdimp.com> Date: Thu, 22 Aug 2013 02:08:00 +0530 Message-ID: Subject: Re: UUID in fstab. From: varanasi sainath To: Warner Losh 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: Wed, 21 Aug 2013 20:38:02 -0000 Thanks for the support. I want to use the uuid's found using sysctl -a in fstab. /dev/gptid/ has only uuid for boot partition. Cheers Sainath On Wed, Aug 21, 2013 at 11:48 AM, Warner Losh wrote: > /dev/gptid/$UID > > maybe what you are looking for? > > Warner > > On Aug 21, 2013, at 12:16 AM, varanasi sainath wrote: > > > Hello, > > > > How to find UUID's for Disk volumes. > > > > I have used sysctl -a | grep uuid and was able to find > > freebsd-swap > > b55ff220-dcdd-11e2-a324-00155d55b20c > > > > freebsd-ufs > > b55762fc-dcdd-11e2-a324-00155d55b20c > > > > are these the corresponding UUID's for swap and ufs. > > > > I din't find /dev/ufsid folder to get the UUID's > > > > I have used glabel and was able to create labels, system boots well, > > everything works fine but I don't want to use labels (operating > constraint: > > to create labels I have to boot into single user mode, is there a way to > > create labels on mounted partitions (I hope not)). > > > > I found gptid folder which has boot UUID can this be used? > > > > How to use UUID's in fstab? > > > > I have tried using > > # Device Mountpoint FStype Options Dump > > Pass# > > uuid=b55762fc-dcdd-11e2-a324-00155d55b20c / ufs rw 1 1 > > > > that din't work. > > > > I found (from a post) /dev/ufsid/ should be used in fstab but I > don't > > see ufsid in /dev. Do we need to create this or does the system does it? > > > > Note: > > Using FreeBSD 9.1. created partitions using the guided partition tool. > > > > Reason: using a SCSI storage driver which changes the drive name > > accordingly but freebsd installer (boot) is unable to find the drives > which > > results in boot failure. > > > > Thanks, > > Sainath.* > > * > > * > > * > > *"Learning is the key to excellence".* > > _______________________________________________ > > freebsd-drivers@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-drivers > > To unsubscribe, send any mail to " > freebsd-drivers-unsubscribe@freebsd.org" > > -- Sainath Varanasi Hyderabad 09000855250 *My Website : http://s21embedded.webs.com **Linked In Profile : http://in.linkedin.com/pub/sainathvaranasi .. .. *