Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Aug 2013 00:18:12 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        varanasi sainath <varanasisai@gmail.com>
Cc:        freebsd-fs@freebsd.org, freebsd-drivers@freebsd.org, freebsd-questions@freebsd.org
Subject:   Re: UUID in fstab.
Message-ID:  <503E443D-BC48-4284-8FC4-22B0A50DF147@bsdimp.com>
In-Reply-To: <CAL_6YgQy174h5UxK53jU2%2BfsZiQkOWqxZkRk=CYuJuvn3HXiXQ@mail.gmail.com>
References:  <CAL_6YgQy174h5UxK53jU2%2BfsZiQkOWqxZkRk=CYuJuvn3HXiXQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
/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
> <type>freebsd-swap</type>
> <rawuuid>b55ff220-dcdd-11e2-a324-00155d55b20c</rawuuid>
> 
> <type>freebsd-ufs</type>
> <rawuuid>b55762fc-dcdd-11e2-a324-00155d55b20c</rawuuid>
> 
> 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/<uuid> 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"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?503E443D-BC48-4284-8FC4-22B0A50DF147>