Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 May 2016 11:43:35 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 209791] To tunefs utilities I added flag for generate new ufsid (unique filesystem id).
Message-ID:  <bug-209791-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209791

            Bug ID: 209791
           Summary: To tunefs utilities I added flag for generate new
                    ufsid (unique filesystem id).
           Product: Base System
           Version: 10.3-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: pavelivolkov@gmail.com

Created attachment 170723
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D170723&action=
=3Dedit
Added G flag.

In the superblock of the filesystem present unique id:

/usr/include/ufs/ffs/fs.h

/*
 * Super block for an FFS filesystem.
 */
struct fs {
...
        int32_t  fs_id[2];              /* unique filesystem id */
...

It's may by used to mount filesystem (/dev/ufsid/...).

After duplicating the disc, it is necessary to change it, to restore the
uniqueness drives.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-209791-8>