From nobody Fri Mar 24 13:13:59 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 4PjjMq4RsWz41Yf1; Fri, 24 Mar 2023 13:13:59 +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 4PjjMq1Qznz43B8; Fri, 24 Mar 2023 13:13:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679663639; 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=pQyDHixa02yAroudh6Yip1qR5pP68SJtIh6Fdl7UOU8=; b=Kf0zOY9Jtv37/p7CRYEuzE9moU6DrGIVdbtLdkojT4Fwnso+b/hVy/8FC2D/GidF426BOj fS6EYN9yvyGxZPdxd+UsXk6xmPphSjIFPeENEn/YpWE/W5YJ5E6Xk0tgIzjotf2y5o/8jh jmP62Q+LWeljtD5n8nMsilb0xN059C7GtfVmiPkD+McMfq6g8A2CaRXd4CZMya8O9+iIH5 +NcDgfvTC5GXHPFdMh18BpL7o4LPpKFexPfJ0/HSoWwlJ6RXii5H8QnnblE0O/5KbqH1JB nVXid/QVy/V9wXkt+BjRAc+Bf+wY06iJUlHnecYmm9db0iGdqmvLFUuh6Rlegg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679663639; 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=pQyDHixa02yAroudh6Yip1qR5pP68SJtIh6Fdl7UOU8=; b=jdToatEZhLs4KGY3/5wpNXZEopXxCXy54vHuZOyhkxaRpFStAuauU/enqyW/Q5ZMKTSEDt Jif9kmx96wsfOFwE4b4/ADaM2lqBUkh2Y5ATqYS7p65Yq5axOYp2GO8Cs7Hj1cRG1aXlON CHkWvIqh4Y3ZcjV1ZtK6kF0RiFJ3Pa+VhTlOQv2ISOe9EBWWUBx9/bL0ELe5tKfpPqDink dOTzDccT9/sI4qH8jKsA/QUlRKDKO6kmGx0cXPix2mtQcIlcL5CLQrtb9yDyXnAapdlkJW 0V+YVdCPu0BDUG0jw1yr/W6Nax+RA0luEd7+sWNBuSl4f+A/RhicQWD/J6CAhg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679663639; a=rsa-sha256; cv=none; b=M1adddxEmEr5WeGQ6vro9cgNdy/CmmaG7Vd3ElxXOiNozz+cJfYoxsMN6CIfPLPuIxx0k7 Uf7mhh6ZTobfsu6Lx8FGMBYsr+nHIxgAv1wOd0oE18AuhRvZBd7iA0VxF7pYhwfDPOhOYt jX8G31JmmyS0PzefcB+7boEHWoEgXnNW12IzgtWl889AZvVUrYtEZa81poVUXEO/RdQGgT RT3puLja7yffSEjYpNvHGGIspbe8Gn0L5w0fOt6EcEMumqgPXFE2M/D7KUSR5wQUCdyeOg yacY1dfP7hoFjUsZzfAfe0wEVKkIAnBysbXxSR3w2Z49f+muQ7i2ykRB8V7Y5A== 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 4PjjMq0Y3DzKVc; Fri, 24 Mar 2023 13:13:59 +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 32ODDxEP031213; Fri, 24 Mar 2023 13:13:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32ODDxon031212; Fri, 24 Mar 2023 13:13:59 GMT (envelope-from git) Date: Fri, 24 Mar 2023 13:13:59 GMT Message-Id: <202303241313.32ODDxon031212@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mitchell Horne Subject: git: f1a0b6f62382 - stable/13 - 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/stable/13 X-Git-Reftype: branch X-Git-Commit: f1a0b6f623825458fc39f22054401e5bb46a9c4d Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by mhorne: URL: https://cgit.FreeBSD.org/src/commit/?id=f1a0b6f623825458fc39f22054401e5bb46a9c4d commit f1a0b6f623825458fc39f22054401e5bb46a9c4d Author: Mitchell Horne AuthorDate: 2023-03-20 19:49:59 +0000 Commit: Mitchell Horne CommitDate: 2023-03-24 13:12:40 +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 (cherry picked from commit b54391a1f83169f847e5f28e29d1938a154d54e0) --- 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 e6b2140af29d..2ee27ee84dcf 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 + # 20230308: machine-id merged into hostid_save OLD_FILES+=etc/rc.d/machine-id diff --git a/share/man/man9/Makefile b/share/man/man9/Makefile index 4bb9654b3c2f..1020d574c889 100644 --- a/share/man/man9/Makefile +++ b/share/man/man9/Makefile @@ -340,7 +340,6 @@ MAN= accept_filter.9 \ vaccess.9 \ vaccess_acl_nfs4.9 \ vaccess_acl_posix1e.9 \ - vcount.9 \ vflush.9 \ VFS.9 \ vfs_busy.9 \ @@ -2319,7 +2318,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 .