From nobody Thu Apr 18 14:19:00 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VL0JN4xDdz5Gxk9; Thu, 18 Apr 2024 14:19:00 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VL0JN4Rjqz4WnK; Thu, 18 Apr 2024 14:19:00 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713449940; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=eIJUxdrZB5ziXQxXUOO6tgdRMPDNDMH/VNhHAigIenk=; b=hnyQT5heNsB1nrys+HU5SU/uuN4CsGV5AX/acu56MYVySC9L3X9W8Jaxy/MdflKE+9IxHg YAsMaEBRq6OClUCVpdFe290GQQIOV77oHabqPnjhEj/S6m8Z4YepikASDMT29g5Ylav6Ud 7C47+833D6ne6Rj56ko4WFN6HBuKD/kXVhCyFkXrL+Q3FPGNypsJ1zMoATMHO5OL6crirp hE7jPynVJtrXd1rChJd6hauJtGMjJDvMsak/YxgG4zWj+eukPW8++uemDj9ne5HrTarpAl F3BQvdo2A4hYK1ZowsMLRTDBlQtW9ecrxqeVdAfrcz+uxZQ8z837uVvJdolGig== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713449940; a=rsa-sha256; cv=none; b=Bf4sefjMrTcLR+zY0Gj1fK/LOzar8fpBAYPKjZRa+3HlQ1i0179Uqfq0aJm3IFshZ41eK+ N57hOouskUANQhnnl0blR7vVYsV1JYxFjbs9G6xRkEKH3YE+QAt0K45RRzG7gm4K2Lr0t1 K1MGlddKeO2Kwk9smjUNWXuOlVplY+tA0nOb1VIwNGrHT3GEztZhbtilhj55cayUtGfKci XdQl/nf93GrSC7n05ljvrNmPzRgdJ6JBAu5Sr5pXMtlugSRHA/+WD1kQ1lu3/783/RVRDx cLzidTaHqR1Cxcl4O8xIbVWT7vDyGn4RYeMsmWtJtzONodLQPK5K/T2crq168A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713449940; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=eIJUxdrZB5ziXQxXUOO6tgdRMPDNDMH/VNhHAigIenk=; b=EIaz0HY573lX0xHmDNz88jUOkQucUCooCaiHpZJrUMIpJYy7hezJMfbOsginrEuumxlz78 skq6MZKnYi9ixkpSivrsNaHg/kb4jJklvkPy6j3lzksz6kYZCleCURu3wGfMBAesq0A+Vw KUSPq2fRi8TNDiBruCM13Dg1oxXn84oE2WHh1XcnTmwwT3HXOm/dsGL0dof7VYoOHxqBxj YsvwalpSdXCs9eVIeoKI9nGbaVi+7lOmd5kM4J58AcctDk970z79rhGlUm/9Lp3JPE5t5d zGcMPX0VV453Y9R76HWkRmY/M33/eqG/cIbVvUlPQPPHplVVHlg5+SBBQwR2Dw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VL0JN4228z1CPM; Thu, 18 Apr 2024 14:19:00 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 43IEJ0fo010443; Thu, 18 Apr 2024 14:19:00 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 43IEJ0uK010440; Thu, 18 Apr 2024 14:19:00 GMT (envelope-from git) Date: Thu, 18 Apr 2024 14:19:00 GMT Message-Id: <202404181419.43IEJ0uK010440@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Ed Maste Subject: git: ea3b15d005c2 - stable/14 - bsdlabel: emit deprecation notice when run List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: emaste X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: ea3b15d005c25860c742663cfc87145cd00fb61b Auto-Submitted: auto-generated The branch stable/14 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=ea3b15d005c25860c742663cfc87145cd00fb61b commit ea3b15d005c25860c742663cfc87145cd00fb61b Author: Ed Maste AuthorDate: 2024-01-24 19:33:35 +0000 Commit: Ed Maste 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':