From owner-freebsd-questions@FreeBSD.ORG Wed Aug 21 06:18:22 2013 Return-Path: Delivered-To: freebsd-questions@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 1EEFCE1E for ; Wed, 21 Aug 2013 06:18:22 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-oa0-f48.google.com (mail-oa0-f48.google.com [209.85.219.48]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CF8A32976 for ; Wed, 21 Aug 2013 06:18:21 +0000 (UTC) Received: by mail-oa0-f48.google.com with SMTP id o17so13882oag.21 for ; Tue, 20 Aug 2013 23:18:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=ZmK/2DTE7dxWqo0p6IXup4GNRDuZj/wp0o8zptUCJe4=; b=oALoLqY7Hp2qvj1apOKI0DhAEZ5aIyOIvj6+Mt579RzYXQUC14ZvkemFXISixsLmay Xr8tkqhnL7tKv4NO7h13VkcuXL/cKNDMDhmBCHz/V6d6kDcwtp7qyZHfCpG65KLTs30K Ee5Jhcm7PTgQlrMjepvdKVUzlRIT7dPnfUjw0O0VJLkBH7AnlBB2Q2un/NuhfbtrqFX9 tdup5zU8YblHE9N9S2oFOGigMCKeF9/2Gfjwdd8KliNpVysFWFuP0W9QpL9HmDpYVSSK xSJgDq8tQksvzclJI3vJqLwOJu/TQd2iETm2razaqt4fLgjni83eOun3QXD+lzCwEFeO sxgw== X-Gm-Message-State: ALoCoQn8kBKStQnYG5NSeB0eoOrdbMsZfYKxhyRXVzSK6siemxbItjwr5VsvIJhIhlhCP8LAEgJg X-Received: by 10.60.45.65 with SMTP id k1mr6047787oem.48.1377065895588; Tue, 20 Aug 2013 23:18:15 -0700 (PDT) Received: from 53.imp.bsdimp.com (50-78-194-198-static.hfc.comcastbusiness.net. [50.78.194.198]) by mx.google.com with ESMTPSA id hl3sm8168629obb.0.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 20 Aug 2013 23:18:14 -0700 (PDT) Sender: Warner Losh Subject: Re: UUID in fstab. Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: Date: Wed, 21 Aug 2013 00:18:12 -0600 Content-Transfer-Encoding: 7bit Message-Id: <503E443D-BC48-4284-8FC4-22B0A50DF147@bsdimp.com> References: To: varanasi sainath X-Mailer: Apple Mail (2.1085) Cc: freebsd-fs@freebsd.org, freebsd-drivers@freebsd.org, freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Aug 2013 06:18:22 -0000 /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"