Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Nov 2022 01:18:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        fs@FreeBSD.org
Subject:   [Bug 263979] [meta] UFS / FFS / GEOM crash (panic) tracking
Message-ID:  <bug-263979-3630-WW4po5svMj@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-263979-3630@https.bugs.freebsd.org/bugzilla/>
References:  <bug-263979-3630@https.bugs.freebsd.org/bugzilla/>

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

--- Comment #22 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
(In reply to Boris Korzun from comment #21)

So, I info that for:

#ifdef STANDALONE_SMALL
#define MPRINT(...)     do { } while (0)
#else
#define MPRINT(...)     if (prtmsg) printf(__VA_ARGS__)
/*
 * Print error messages when bad superblock values are found.
 */
static int prtmsg =3D 1;
#ifdef _KERNEL
SYSCTL_DECL(_vfs_ffs);
SYSCTL_INT(_vfs_ffs, OID_AUTO, prtsberrmsg, CTLFLAG_RWTUN, &prtmsg, 0,
    "Print error messages when bad superblock values are found");
#endif /* _KERNEL */
#endif /* STANDALONE_SMALL */

both STANDALONE_SMALL and _KERNEL are defined, lead to
the sysctl involved. But also:

sys/ufs/ffs/ffs_subr.c

is being compiled and linked in order for that to even matter.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



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