[Bug 233560] fsck_ffs(8): pfatal doesn't prevent marking filesystem clean

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Nov 27 12:27:26 UTC 2018


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

            Bug ID: 233560
           Summary: fsck_ffs(8): pfatal doesn't prevent marking filesystem
                    clean
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs at FreeBSD.org
          Reporter: trasz at FreeBSD.org

When run "by hand", as opposed to preen mode, calls to pfatal(8) don't result
in the filesystem being marked dirty.  Sample session:

% doas fsck -y /dev/md0s2a              
** /dev/md0s2a
** Last Mounted on
/releng/12-armv7-BEAGLEBONE-release/usr/obj/usr/src/arm.armv7/release/ufs
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
MISSING '.'  I=3360  OWNER=root MODE=40755
SIZE=16384 MTIME=Nov  2 03:27 2018 
DIR=?

UNEXPECTED SOFT UPDATE INCONSISTENCY
CANNOT FIX, FIRST ENTRY IN DIRECTORY CONTAINS if_xl.ko.debug

UNEXPECTED SOFT UPDATE INCONSISTENCY
MISSING '..'  I=3360  OWNER=root MODE=40755
SIZE=16384 MTIME=Nov  2 03:27 2018 
DIR=?

UNEXPECTED SOFT UPDATE INCONSISTENCY
CANNOT FIX, SECOND ENTRY IN DIRECTORY CONTAINS zfs.ko.debug

UNEXPECTED SOFT UPDATE INCONSISTENCY
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
SUMMARY INFORMATION BAD
SALVAGE? yes

BLK(S) MISSING IN BIT MAPS
SALVAGE? yes

22686 files, 349061 used, 399242 free (450 frags, 49849 blocks, 0.1%
fragmentation)

***** FILE SYSTEM IS CLEAN *****

***** FILE SYSTEM WAS MODIFIED *****

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


More information about the freebsd-bugs mailing list