svn commit: r224004 - head/sbin/dumpfs

Ivan Voras ivoras at freebsd.org
Thu Jul 14 13:16:11 UTC 2011


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...


More information about the svn-src-head mailing list