Page MenuHomeFreeBSD

add deprecation warning to amd
ClosedPublic

Authored by emaste on Nov 20 2019, 7:37 PM.
Tags
None
Referenced Files
F174464585: D22466.id64723.diff
Sat, Oct 3, 11:22 AM
Unknown Object (File)
Fri, Oct 2, 5:35 PM
Unknown Object (File)
Wed, Sep 30, 7:17 PM
Unknown Object (File)
Wed, Sep 30, 7:17 PM
Unknown Object (File)
Wed, Sep 30, 7:16 PM
Unknown Object (File)
Wed, Sep 30, 5:33 PM
Unknown Object (File)
Fri, Sep 18, 10:25 PM
Unknown Object (File)
Sat, Sep 5, 2:58 PM
Subscribers

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 - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

emaste added a reviewer: cy.

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

extend warning as suggested by @kevans

This revision is now accepted and ready to land.Nov 20 2019, 7:47 PM

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)