On 14 July 2011 10:06, Xin LI <delp...@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...
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to