[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: blkid for ufs partitions



Hi!

Christoph Egger <christoph@christoph-egger.org> writes:
> As discussed, I'm trying to create a patchset for vmdebootsstrap[0] so
> it works on kfreebsd. Currently things are mostly going well but I'm
> struggling to find a proper replacement for the linux blkid/UUID
> mechanism for the rootfs. /dev/ufsid/* does seem to be the right place
> but I can't find any utility to get the right id for my ufs partitions
> (/dev/md0s$n). Any ideas? In the end I could hardcode /dev/vtb0s$n but
> that only works with virtio-disk and seems more like a hack.

# grub-probe -d /dev/md0s1 -t fs_uuid
5636374003755a63

Christoph

-- 
9FED 5C6C E206 B70A 5857  70CA 9655 22B9 D49A E731
Debian Developer | Lisp Hacker | CaCert Assurer


Reply to: