Adding disk firmware programming capability to camcontrol

Chris Rees utisoft at
Fri Nov 4 16:16:24 UTC 2011

On 29 Oct 2011 00:38, "Pegasus Mc Cleaft" <ken at> wrote:
> >> The linux hdparm program is so paranoid about this that you have to use
> >> extra arguments like "--yes-really-destroy-my-disk-drive" to do this.
> >
> >I concur. Loudly.  The ability to brick your hardware is just too
> >large to not make people go through the "I tell you three times"
> >dance.  It's not like people will do this often enough that the
> >pain will be fatal.  And if it is, they ought to be bright enough to
> >know how to automate the process.
> >
> >--lyndon
> Hi Lyndon and group,
>        I tend to disagree that there should be such argument antics
> employed to protect an operation such as this. Being root should be the
> protection needed (of course, that's only my opinion). I don’t want to
> to look up in a man page what magic token I need to add to prove to the
> utility that I understand the consequences of what I am about to do. I
> personally wouldn't mind a simple "Are you sure?" if the magic token is
> added on the command line, however.
>        To me, the only difference between borking a drive because of bad
> firmware and typing "rm -rf *" from root is about £40.  You still lose at
> least a day rebuilding/restoring everything.

You clearly haven't bought a hard drive recently.


More information about the freebsd-current mailing list