Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jul 2018 15:07:43 +0200
From:      Robert Clausecker <fuz@fuz.su>
To:        freebsd-fs@freebsd.org
Subject:   badsect(8) is gone -- what now?
Message-ID:  <20180727130743.GB45967@fuz.su>

next in thread | raw e-mail | index | archive | help
Good evening,

I recently tried to use badsect(8) to salvage a slightly broken disk
with some janky sectors which the drive doesn't remap but still likes to
complain about, just to find out that kernel support for badsect(8) is
no longer available in FreeBSD 11.2.  This is an annoying situation as I
have no way to stop these sectors from being used otherwise.

Is there any way the kernel interface for badsect(8) or a utilitiy
fulfilling a similar purpose is going to come back?  I understand that
kernel support was removed due to possible misuse of mknod(S_IFMT)
leading to crashes [1], but there really ought to be some way to mark a
sector as bad if the disk doesn't want to do it for you.

Yours,
Robert Clausecker

[1]: https://www.mail-archive.com/svn-src-all@freebsd.org/msg151790.html

-- 
()  ascii ribbon campaign - for an 8-bit clean world 
/\  - against html email  - against proprietary attachments



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180727130743.GB45967>