Page MenuHomeFreeBSD

add deprecation warning to amd
ClosedPublic

Authored by emaste on Wed, Nov 20, 7:37 PM.

Details

Summary

The man page has claimed that (built-in) amd is obsolete. Add a warning emitted by amd itself on startup as well.

% usr.sbin/amd/amd/obj/amd              
Nov 20 14:37:34 unknown amd[-1]/warn:  built-in amd in FreeBSD is deprecated
Amd configuration file (/etc/amd.conf): No such file or directory

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

emaste created this revision.Wed, Nov 20, 7:37 PM
emaste added a reviewer: cy.
kevans added a comment.EditedWed, Nov 20, 7:40 PM

We should probably add the more specific- "deprecated and will be removed before FreeBSD 13" both here and the man page.

emaste updated this revision to Diff 64638.Wed, Nov 20, 7:44 PM

extend warning as suggested by @kevans

emaste updated this revision to Diff 64639.Wed, Nov 20, 7:45 PM

update man page too

brooks accepted this revision.Wed, Nov 20, 7:47 PM
brooks added a subscriber: brooks.

LGTM

This revision is now accepted and ready to land.Wed, Nov 20, 7:47 PM
kevans accepted this revision.Wed, Nov 20, 7:47 PM
rgrimes accepted this revision.Thu, Nov 21, 1:25 AM

I will commit the man page separately and MFC it in short order; I will also update it to mention that amd is available from ports (if e.g. someone doesn't want to change their existing config for some reason)

trasz accepted this revision.Fri, Nov 22, 7:56 AM
This revision was automatically updated to reflect the committed changes.