From nobody Mon Mar 25 19:59:29 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 4V3P0L0Y4Bz4nx4T; Mon, 25 Mar 2024 19:59:30 +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 4V3P0K6h5Zz4s7t; Mon, 25 Mar 2024 19:59:29 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711396769; 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=YMZYyvk5mumwE6PfIR9g/lLCflkOMPISUc4k1Tfj5dI=; b=TZ5cqD/5DnOJS5DISuTL8Hc5bcN1zxYcXoiThWKhTPimP+CGexwXjDmuCH7eqMlCO9bib5 76Z7Bmp+zUK+BGapWkpaAj+XnZvmbcLy/Mhn1/dDAU2Hkm+/Gal+b//dLHrWGToU0a+cTa mJkEZ427xAyUmlS7l1p1a+6/j1MZWIof1StyS2JpjfN8doFjeJt2WhPQ3yV9/XlIyqhH6h GXX0/NOxir9ob+XMynzqKhKLfwwIf9/Yvf1jr4dAy2xXJmMjiEmnRBQa3e1oBTgHGrnH/Z v6t9d7TbMadWq7qfwb4Vcz9n9DZDGzrP8IkkUIO+8dXAoGw8C9hJKOm/tZe60w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711396769; a=rsa-sha256; cv=none; b=BZwY5jdU8W/kjicaLKk0pSEYVhLQ1D+7Y7Lh8z26i1VkH4phwj0JF1Ifdf7gW6fpYDUM4I 2eRyc/lJofDG/wq71B7/xTcVByx0LT7YYq+k0IiaBHyKTbtpuSUgPCywd+eBO0HM7uEK3X M7lT5BKQE8bmX/Ur2ltmPPWRLYhMOIQV/1gs3eSsiUvTZZoRoD9uGp2436pVs5AtOp5ee5 Obqj7OkSx4imurWYhwLkUUEQVXR0aw/IWjVz9S2QllFDhnztdn3xhwAm7oyfUCGPziUXMi I0ldoBa6cO7qX7kJTaL48f9z9BGENNgXU1+Dg01W/BB4htr4wJHGNw0iLxaMBw== 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=1711396769; 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=YMZYyvk5mumwE6PfIR9g/lLCflkOMPISUc4k1Tfj5dI=; b=Tph9y5p1Gtj/a5xkBgOs+6A905NjTH1mvoCw4HmoqyJM0S3S9caT0Nh2PlGAnnslDmr1nN PkaMW3UmyJ37/MYuEdzh5VhXNHgt7vghzVrgkVQ8AH9vVKDaW1i+AQbt/UREP/VxgPKJBG 0DUmOrp/KzaxC8y4bCwBT8Ffn6bv62RyG+hazE53VNIrZuLY1RD0M0mXrW2LSnx1a6v4FG iSbjmq8AenTbJCzviL4sgp18pkW+3YTyMrf7Or5a4bUyP8yalVi4XuRlhJgUGjhRq6kIK5 h2e16xCEOOPRrK5LZ9zxrYR9abscH0Mthlitm9gN4DviGsOXt5OwqXwOoUMVzQ== 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 4V3P0K6HLlzW3p; Mon, 25 Mar 2024 19:59:29 +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 42PJxTmP089796; Mon, 25 Mar 2024 19:59:29 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 42PJxTvC089793; Mon, 25 Mar 2024 19:59:29 GMT (envelope-from git) Date: Mon, 25 Mar 2024 19:59:29 GMT Message-Id: <202403251959.42PJxTvC089793@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Ed Maste Subject: git: 3661658c76ce - main - 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: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: 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/main X-Git-Reftype: branch X-Git-Commit: 3661658c76ce028a6dcdd54b00a822159a3ae6f3 Auto-Submitted: auto-generated The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=3661658c76ce028a6dcdd54b00a822159a3ae6f3 commit 3661658c76ce028a6dcdd54b00a822159a3ae6f3 Author: Ed Maste AuthorDate: 2024-01-24 19:33:35 +0000 Commit: Ed Maste CommitDate: 2024-03-25 19:59:09 +0000 bsdlabel: emit deprecation notice when run Reviewed by: imp Sponsored by: The FreeBSD Foundation Differential Reision: https://reviews.freebsd.org/D43586 --- sbin/bsdlabel/bsdlabel.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sbin/bsdlabel/bsdlabel.c b/sbin/bsdlabel/bsdlabel.c index b831c8ba4ec6..a68ee377a97c 100644 --- a/sbin/bsdlabel/bsdlabel.c +++ b/sbin/bsdlabel/bsdlabel.c @@ -135,6 +135,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':