The branch stable/14 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=ea3b15d005c25860c742663cfc87145cd00fb61b
commit ea3b15d005c25860c742663cfc87145cd00fb61b Author: Ed Maste <[email protected]> AuthorDate: 2024-01-24 19:33:35 +0000 Commit: Ed Maste <[email protected]> CommitDate: 2024-04-18 14:05:01 +0000 bsdlabel: emit deprecation notice when run Reviewed by: imp Sponsored by: The FreeBSD Foundation Differential Reision: https://reviews.freebsd.org/D43586 (cherry picked from commit 3661658c76ce028a6dcdd54b00a822159a3ae6f3) --- sbin/bsdlabel/bsdlabel.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sbin/bsdlabel/bsdlabel.c b/sbin/bsdlabel/bsdlabel.c index 56190bbf6858..9febd670cf35 100644 --- a/sbin/bsdlabel/bsdlabel.c +++ b/sbin/bsdlabel/bsdlabel.c @@ -148,6 +148,10 @@ main(int argc, char *argv[]) error = 0; name = NULL; + fprintf(stderr, + "WARNING: bsdlabel is deprecated and is not available in FreeBSD 15 or later.\n" + "Please use gpart instead.\n\n"); + while ((ch = getopt(argc, argv, "ABb:efm:nRrw")) != -1) switch (ch) { case 'A':
