UUID in fstab.

Warner Losh imp at bsdimp.com
Wed Aug 21 06:18:22 UTC 2013


/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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-drivers
> To unsubscribe, send any mail to "freebsd-drivers-unsubscribe at freebsd.org"



More information about the freebsd-questions mailing list