Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Jul 2018 08:31:34 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 229920] fsck_ffs(8) exit code on error is 0
Message-ID:  <bug-229920-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229920

            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: bugs@FreeBSD.org
          Reporter: pho@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     pho@t2.osted.lan:/usr/src/sys/amd64/compile/PHO  amd=
64
** /dev/md5
cannot alloc 301741175033823240 bytes for inphead

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

--=20
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-229920-227>