On 14 July 2011 10:06, Xin LI 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
Author: delphij
Date: Thu Jul 14 08:06:03 2011
New Revision: 224004
URL: http://svn.freebsd.org/changeset/base/224004
Log:
Add a -l option to show file system's corresponding /dev/ufsid path.
This is useful for scripts that converts existing system's fstab to
use their /dev/ufsid devices.