[Bug 203704] [patch] makefs(8) does not initialize fs_providersize for UFS

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Oct 11 18:02:32 UTC 2015


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

            Bug ID: 203704
           Summary: [patch] makefs(8) does not initialize fs_providersize
                    for UFS
           Product: Base System
           Version: 10.2-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: eugen at grosbein.net
          Keywords: patch

Created attachment 161920
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=161920&action=edit
initialise sblock.fs_providersize

makefs(8) leaves sblock.fs_providersize uninitialized (zero) that can be easily
checked with dumpfs(8). This may lead to other problems, f.e. geom_label kernel
module sanity checks do not like zero fs_old_size value and skips such UFS1
file system while tasting (fs_old_size derives from sblock.fs_providersize).

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


More information about the freebsd-bugs mailing list