[Bug 209791] To tunefs utilities I added flag for generate new ufsid (unique filesystem id).

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri May 27 11:43:35 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209791

            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 at FreeBSD.org
          Reporter: pavelivolkov at gmail.com

Created attachment 170723
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=170723&action=edit
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.

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


More information about the freebsd-bugs mailing list