[Bug 229920] fsck_ffs(8) exit code on error is 0
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Jul 21 08:31:36 UTC 2018
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: bugs at FreeBSD.org
Reporter: pho at 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 at 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.
More information about the freebsd-bugs
mailing list