Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Oct 2015 18:02:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 203704] [patch] makefs(8) does not initialize fs_providersize for UFS
Message-ID:  <bug-203704-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
          Reporter: eugen@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.



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