On 14 July 2011 10:06, Xin LI <delphij at freebsd.org> wrote:
> int
> +dumpfsid(void)
> +{
> +
> + printf("/dev/ufsid/%x%x\n", afs.fs_id[0], afs.fs_id[1]);
> + return 0;
> +}
Actually, glabel generates the label as
117 snprintf(label, size, "%08x%08x", fs->fs_id[0],
118 fs->fs_id[1]);
Also, there is a constant for the /dev path in paths.h...