UUID in fstab.

John Baldwin jhb at freebsd.org
Mon Aug 26 18:27:48 UTC 2013


On Monday, August 26, 2013 12:06:21 am varanasi sainath wrote:
> Thanks John, I have tried as you suggested using a Live CD and yes the
> partitions uuid's are present in gptid  ..
> I found the UUID's in /dev/gptid - how do I determine which uid corresponds
> to which partition (ufs or swap or boot) (I used glabel status and after
> some trial and error I found them) edited the fstab accordingly and
> everything is working now ..

The other way would be to examine the kern.geom.confxml output directly as I
think you can probably use that to map between them.

> Is there a way to have both the /dev/XXXpYY and /dev/gptid/<uuid> present
> in /dev/

Not currently.  freebsd-geom@ is probably the best place to ask that question.

-- 
John Baldwin


More information about the freebsd-questions mailing list