svn commit: r324853 - in head/sys: kern sys

Konstantin Belousov kostikbel at gmail.com
Sun Nov 5 13:03:57 UTC 2017


On Sun, Nov 05, 2017 at 03:06:22AM +1100, Bruce Evans wrote:
> On Sun, 22 Oct 2017, Konstantin Belousov wrote:
> 
> > Author: kib
> > Date: Sun Oct 22 08:11:45 2017
> > New Revision: 324853
> > URL: https://svnweb.freebsd.org/changeset/base/324853
> >
> > Log:
> >  Remove the support for mknod(S_IFMT), which created dummy vnodes with
> >  VBAD type.
> >
> >  FFS ffs_write() VOP catches such vnodes and panics, other VOPs do not
> >  check for the type and their behaviour is really undefined.  The
> >  comment claims that this support was done for 'badsect' to flag bad
> >  sectors, we do not have such facility in kernel anyway.
> 
> badsect(8) is a utility and this commit breaks it by removing its kernel
> support.

I see, thank you for the pointer.  I will prepare the patch to remove
badsect(8).


More information about the svn-src-all mailing list