Date: Thu, 22 Aug 2013 02:08:00 +0530 From: varanasi sainath <varanasisai@gmail.com> To: Warner Losh <imp@bsdimp.com> Cc: freebsd-fs@freebsd.org, freebsd-drivers@freebsd.org, freebsd-questions@freebsd.org Subject: Re: UUID in fstab. Message-ID: <CAL_6YgQRMf4woyFnHAONoepk3T5kszk-51YcqGfeDJ8mJcteUw@mail.gmail.com> In-Reply-To: <503E443D-BC48-4284-8FC4-22B0A50DF147@bsdimp.com> References: <CAL_6YgQy174h5UxK53jU2%2BfsZiQkOWqxZkRk=CYuJuvn3HXiXQ@mail.gmail.com> <503E443D-BC48-4284-8FC4-22B0A50DF147@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks for the support. I want to use the uuid's found using sysctl -a in fstab. /dev/gptid/ has only uuid for boot partition. Cheers Sainath On Wed, Aug 21, 2013 at 11:48 AM, Warner Losh <imp@bsdimp.com> wrote: > /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" > > -- Sainath Varanasi Hyderabad 09000855250 *My Website : http://s21embedded.webs.com **Linked In Profile : http://in.linkedin.com/pub/sainathvaranasi .. .. *
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAL_6YgQRMf4woyFnHAONoepk3T5kszk-51YcqGfeDJ8mJcteUw>