Date: Wed, 21 Aug 2013 11:46:33 +0530 From: varanasi sainath <varanasisai@gmail.com> To: freebsd-drivers@freebsd.org, freebsd-fs@freebsd.org, freebsd-questions@freebsd.org Subject: UUID in fstab. Message-ID: <CAL_6YgQy174h5UxK53jU2%2BfsZiQkOWqxZkRk=CYuJuvn3HXiXQ@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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".*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAL_6YgQy174h5UxK53jU2%2BfsZiQkOWqxZkRk=CYuJuvn3HXiXQ>