From nobody Mon Mar 20 20:13:23 2023 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 4PgQsb3l0vz40Bql; Mon, 20 Mar 2023 20:13:23 +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 4PgQsb3CRsz3HgC; Mon, 20 Mar 2023 20:13:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679343203; 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=tH4VPQapG7j8LUzfMaov2d/DvaLLGy18t78h+clsAgQ=; b=WhGJ+qSbvIDpxgT9R4oC/Zfe7lbS2POrMCrdL24LadhEMlVKGwKGzaGWYIu28dnNf8KeUl zHJZx/EGTBQgpD3mawba2+3u5W7ZhFTW7lRxLiJ44UxG/5LyWd6dnO3pdNIUBsF7U75eh3 2Gg8w5Z0LmS2dTac2cdWNT8Hvjivx3IzBu03G5obQJGElJzdG36u/+nBG9UswS+yLAaSU2 S3BUsFDVIse2USlvHlNecDXhgf3Z4rqAULJEi4tW1cRlF8acsflen1rG0qhJCwRbRk86QM TCOcCSxlJ4HniC2byNLUJV62pLicMQxFL5NFwQ2PeBwh8KlHxBPBHnzNeOILrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679343203; 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=tH4VPQapG7j8LUzfMaov2d/DvaLLGy18t78h+clsAgQ=; b=sjr4wKN35XHRIP7tt+o5bF4XEYQa51mnDkHrAep8Bl+AjAfkacovsoFfdO3Ox40HZsYcsn Sr0zd9ov9bfzCMOZOjiCZEH7NYfzpYvv5ug73BQRV+/D597vbIP7c6zEubY6DffLgEuBea pfOlDxt8jcQor62tZ+XPR0Om1+oVWhJxQQklRgb4hXbSbvpjAfVu8jg7PccIbMpMRWUGWJ McwfKMiOhJGHJyKm+wXi8T4YCPQPMjCWl4ypyryagO6VJDoUp0AdZhM0jbXqXyfPH61ih9 x6DsEOmQ21FULLn68jPwrHXRqlf0FcKHTQZYkTUIpZSIn+Vgwb/tqJdXrehCbA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679343203; a=rsa-sha256; cv=none; b=XRiL+AeZMuKHgc6vadN2lbIpSPxIWNdUwo2wDF395gBwQRNCYETQOmxXqaSC9a5uTeG3lO VWESwFuqmr/YlCzWQ4PxPaJxeGK7jC7gLwSTdNTiBPvwgcV6as6I3lJuEhXOMJjCOk3PmA 9PYd1doI7NssZkveGoHF48zyZRmeQIKQCFTb19kSkYStbJGXu74qTTG6x0lVmXpsjvUJ8W LLVUg6tL3+owlGYCOqBB3w6Im6EQaJ/99C7hky+sQbnTNdKbh1/xEgl5pc0Suqp3Dv91mo Qz62XoEWPBmpQUCGFrqjJ4biysNCjmd7Mu0Ob3Ypo9T6CzSfTIJG+e4fS02mPQ== 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 4PgQsb2Gw8zkSh; Mon, 20 Mar 2023 20:13:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 32KKDNAf033044; Mon, 20 Mar 2023 20:13:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32KKDNhX033043; Mon, 20 Mar 2023 20:13:23 GMT (envelope-from git) Date: Mon, 20 Mar 2023 20:13:23 GMT Message-Id: <202303202013.32KKDNhX033043@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mitchell Horne Subject: git: b54391a1f831 - main - vcount.9: remove obsolete man page 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: mhorne X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b54391a1f83169f847e5f28e29d1938a154d54e0 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mhorne: URL: https://cgit.FreeBSD.org/src/commit/?id=b54391a1f83169f847e5f28e29d1938a154d54e0 commit b54391a1f83169f847e5f28e29d1938a154d54e0 Author: Mitchell Horne AuthorDate: 2023-03-20 19:49:59 +0000 Commit: Mitchell Horne CommitDate: 2023-03-20 20:12:11 +0000 vcount.9: remove obsolete man page These functions, vcount() and count_dev(), no longer exist in the source tree. Reviewed by: rpokala MFC after: 3 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D39128 --- ObsoleteFiles.inc | 4 +++ share/man/man9/Makefile | 2 -- share/man/man9/vcount.9 | 73 ------------------------------------------------- 3 files changed, 4 insertions(+), 75 deletions(-) diff --git a/ObsoleteFiles.inc b/ObsoleteFiles.inc index 2492bf4731ee..e3cb44fa9f84 100644 --- a/ObsoleteFiles.inc +++ b/ObsoleteFiles.inc @@ -52,6 +52,10 @@ # xargs -n1 | sort | uniq -d; # done +# 20230320: vcount.9 removed +OLD_FILES+=usr/share/man/man9/count_dev.9.gz +OLD_FILES+=usr/share/man/man9/vcount.9.gz + # 20230320: case-sensitive conflicts removed OLD_FILES+=usr/tests/bin/pkill/pgrep-F_test OLD_FILES+=usr/tests/bin/pkill/pgrep-LF_test diff --git a/share/man/man9/Makefile b/share/man/man9/Makefile index ab6f146fa2a9..2d8d0e94c71b 100644 --- a/share/man/man9/Makefile +++ b/share/man/man9/Makefile @@ -346,7 +346,6 @@ MAN= accept_filter.9 \ vaccess.9 \ vaccess_acl_nfs4.9 \ vaccess_acl_posix1e.9 \ - vcount.9 \ vflush.9 \ VFS.9 \ vfs_busy.9 \ @@ -2316,7 +2315,6 @@ MLINKS+=usbdi.9 usbd_do_request.9 \ usbdi.9 usb_fifo_softc.9 \ usbdi.9 usb_fifo_wakeup.9 .endif -MLINKS+=vcount.9 count_dev.9 MLINKS+=vfsconf.9 vfs_modevent.9 \ vfsconf.9 vfs_register.9 \ vfsconf.9 vfs_unregister.9 diff --git a/share/man/man9/vcount.9 b/share/man/man9/vcount.9 deleted file mode 100644 index 186a350ac56b..000000000000 --- a/share/man/man9/vcount.9 +++ /dev/null @@ -1,73 +0,0 @@ -.\" -*- nroff -*- -.\" -.\" Copyright (c) 2000 Andrew Stevenson -.\" -.\" All rights reserved. -.\" -.\" This program is free software. -.\" -.\" Redistribution and use in source and binary forms, with or without -.\" modification, are permitted provided that the following conditions -.\" are met: -.\" 1. Redistributions of source code must retain the above copyright -.\" notice, this list of conditions and the following disclaimer. -.\" 2. Redistributions in binary form must reproduce the above copyright -.\" notice, this list of conditions and the following disclaimer in the -.\" documentation and/or other materials provided with the distribution. -.\" -.\" THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY EXPRESS OR -.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES -.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. -.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT, -.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT -.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF -.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -.\" -.\" If this manual page travels to places exotic (like projects other than -.\" FreeBSD) I would love to hear about it. -.\" Andrew -.\" -.\" $FreeBSD$ -.\" -.Dd January 19, 2012 -.Dt VCOUNT 9 -.Os -.Sh NAME -.Nm vcount , -.Nm count_dev -.Nd "get total number of references to a device" -.Sh SYNOPSIS -.In sys/param.h -.In sys/time.h -.In sys/conf.h -.In sys/vnode.h -.Ft int -.Fn vcount "struct vnode *vp" -.Ft int -.Fn count_dev "struct cdev *dev" -.Sh DESCRIPTION -.Fn vcount -is used to get the number of references to a particular device. -It allows for the fact that multiple vnodes may reference the same device. -.Fn count_dev -does the same thing as -.Fn vcount , -but takes a -.Vt "struct cdev" -rather than a -.Vt "struct vnode" -pointer as an argument. -.Sh RETURN VALUES -.Fn vcount -and -.Fn count_dev -both return the number of references to the device. -.Sh SEE ALSO -.Xr VFS 9 , -.Xr vnode 9 -.Sh AUTHORS -This manual page was written by -.An Andrew Stevenson .