From owner-freebsd-drivers@FreeBSD.ORG Wed Aug 21 06:16:34 2013 Return-Path: Delivered-To: freebsd-drivers@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 9897AC7E; Wed, 21 Aug 2013 06:16:34 +0000 (UTC) (envelope-from varanasisai@gmail.com) Received: from mail-vc0-x22b.google.com (mail-vc0-x22b.google.com [IPv6:2607:f8b0:400c:c03::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 364D7293C; Wed, 21 Aug 2013 06:16:34 +0000 (UTC) Received: by mail-vc0-f171.google.com with SMTP id ij15so3672vcb.30 for ; Tue, 20 Aug 2013 23:16:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=Wkj6Hf0+b6mvtMcIFyzlokOVXz/ELoFzYrwElmCkoN8=; b=e/82qBHIqhHjhk2tGqG+lUwuGuJ7XNke7q9BKXhYvq/pYRULsGM7usYvuamimjfjx7 JIlPrakpLJ/oFnU6MmQRTcc2k4o9AVijWLkUZeB/NA6NWhurUN9ba1XQkSYYmJ++u2dL oi1MKTaxgUxDGyXnV01IRyy9OHTcy2XcNGuoNK4IXjMDY03ZWNENML5d+RIPSxnsE2Lw zKfbAILxUxW8FVQUB2czz/HXZ1kt/BEqIMnCs2ZO4KyPwMhvboWzxzc3Wt9RrYGOhcgI uI/Z3n6X75GtGWqqmz2gwSIOut62JLls/cmjQNqcwMkDjze7e0Ox/BrvNEBG/C2WD/2s ZFDw== MIME-Version: 1.0 X-Received: by 10.52.92.73 with SMTP id ck9mr4135321vdb.2.1377065793357; Tue, 20 Aug 2013 23:16:33 -0700 (PDT) Received: by 10.52.233.4 with HTTP; Tue, 20 Aug 2013 23:16:33 -0700 (PDT) Date: Wed, 21 Aug 2013 11:46:33 +0530 Message-ID: Subject: UUID in fstab. From: varanasi sainath To: freebsd-drivers@freebsd.org, freebsd-fs@freebsd.org, freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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 06:16:34 -0000 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".*