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

            Bug ID: 229920
           Summary: fsck_ffs(8) exit code on error is 0
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: b...@freebsd.org
          Reporter: p...@freebsd.org

$ cat bug.sh
#!/bin/sh

uname -a
[ -c /dev/md5 ] && mdconfig -d -u 5
mdconfig -t vnode -f /tmp/diskimage -u 5
fsck_ffs -fy /dev/md5; echo "fsck_ffs exit status: $?"
$ ./bug.sh
FreeBSD t2.osted.lan 12.0-CURRENT FreeBSD 12.0-CURRENT #0 r336575: Sat Jul 21
09:21:38 CEST 2018     p...@t2.osted.lan:/usr/src/sys/amd64/compile/PHO  amd64
** /dev/md5
cannot alloc 301741175033823240 bytes for inphead

***** FILE SYSTEM STILL DIRTY *****
fsck_ffs exit status: 0
$

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to