man filesystems: fix more xrefs after move to s4

Fixes: 1a720cbec5
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1282
This commit is contained in:
Alexander Ziaee 2024-06-08 04:30:51 -04:00 committed by Warner Losh
parent cfe55a8af8
commit 088cc7d221
33 changed files with 44 additions and 44 deletions

View File

@ -54,7 +54,7 @@ contrib/pjdfstest asomers,ngie,pjd,#test Pre-commit review requested.
etc/mail gshapiro Pre-commit review requested. Keep in sync with -STABLE. etc/mail gshapiro Pre-commit review requested. Keep in sync with -STABLE.
etc/sendmail gshapiro Pre-commit review requested. Keep in sync with -STABLE. etc/sendmail gshapiro Pre-commit review requested. Keep in sync with -STABLE.
fetch des Pre-commit review requested, email only. fetch des Pre-commit review requested, email only.
fusefs(5) asomers Pre-commit review requested. fusefs(4) asomers Pre-commit review requested.
geli pjd Pre-commit review requested (both sys/geom/eli/ and sbin/geom/class/eli/). geli pjd Pre-commit review requested (both sys/geom/eli/ and sbin/geom/class/eli/).
iwm(4) adrian Pre-commit review requested, send to freebsd-wireless@freebsd.org iwm(4) adrian Pre-commit review requested, send to freebsd-wireless@freebsd.org
iwn(4) adrian Pre-commit review requested, send to freebsd-wireless@freebsd.org iwn(4) adrian Pre-commit review requested, send to freebsd-wireless@freebsd.org
@ -121,7 +121,7 @@ libvmmapi jhb Pre-commit review requested via #bhyve
phabricator group. phabricator group.
usr.sbin/bhyve* jhb Pre-commit review requested via #bhyve usr.sbin/bhyve* jhb Pre-commit review requested via #bhyve
phabricator group. phabricator group.
autofs(5) trasz Pre-commit review recommended. autofs(4) trasz Pre-commit review recommended.
iscsi(4) trasz Pre-commit review recommended. iscsi(4) trasz Pre-commit review recommended.
rctl(8) trasz Pre-commit review recommended. rctl(8) trasz Pre-commit review recommended.
sys/dev/ofw nwhitehorn Pre-commit review recommended. sys/dev/ofw nwhitehorn Pre-commit review recommended.

View File

@ -59,7 +59,7 @@ ATF_TC_BODY(revoke_basic, tc)
int *buf; int *buf;
#ifdef __FreeBSD__ #ifdef __FreeBSD__
atf_tc_skip("revoke(2) is only implemented for devfs(5)."); atf_tc_skip("revoke(2) is only implemented for devfs(4).");
#endif #endif
(void)memset(&res, 0, sizeof(struct rlimit)); (void)memset(&res, 0, sizeof(struct rlimit));
(void)getrlimit(RLIMIT_NOFILE, &res); (void)getrlimit(RLIMIT_NOFILE, &res);
@ -117,7 +117,7 @@ ATF_TC_BODY(revoke_err, tc)
ATF_REQUIRE_ERRNO(ENAMETOOLONG, revoke(buf) == -1); ATF_REQUIRE_ERRNO(ENAMETOOLONG, revoke(buf) == -1);
#ifdef __FreeBSD__ #ifdef __FreeBSD__
atf_tc_skip("revoke(2) is only implemented for devfs(5)."); atf_tc_skip("revoke(2) is only implemented for devfs(4).");
#endif #endif
errno = 0; errno = 0;
ATF_REQUIRE_ERRNO(EPERM, revoke("/etc/passwd") == -1); ATF_REQUIRE_ERRNO(EPERM, revoke("/etc/passwd") == -1);
@ -140,7 +140,7 @@ ATF_TC_BODY(revoke_perm, tc)
pid_t pid; pid_t pid;
#ifdef __FreeBSD__ #ifdef __FreeBSD__
atf_tc_skip("revoke(2) is only implemented for devfs(5)."); atf_tc_skip("revoke(2) is only implemented for devfs(4).");
#endif #endif
pw = getpwnam("nobody"); pw = getpwnam("nobody");
fd = open(path, O_RDWR | O_CREAT, 0600); fd = open(path, O_RDWR | O_CREAT, 0600);

View File

@ -38,7 +38,7 @@
#include <string.h> #include <string.h>
/* /*
* fusefs(5) file systems may have a "subtype" which gets appended to * fusefs(4) file systems may have a "subtype" which gets appended to
* statfs(2)'s f_fstypename field on a per-mount basis. Allow getvfsbyname to * statfs(2)'s f_fstypename field on a per-mount basis. Allow getvfsbyname to
* match either the full "fusefs.foobar" or the more general "fusefs". * match either the full "fusefs.foobar" or the more general "fusefs".
*/ */

View File

@ -204,7 +204,7 @@ handle_remount() { # $1 = mount point
} }
# Create a generic memory disk. # Create a generic memory disk.
# The 'auto' parameter will attempt to use tmpfs(5), falls back to md(4). # The 'auto' parameter will attempt to use tmpfs(4), falls back to md(4).
# $1 is size in 512-byte sectors, $2 is the mount point. # $1 is size in 512-byte sectors, $2 is the mount point.
mount_md() { mount_md() {
if [ ${o_verbose} -gt 0 ] ; then if [ ${o_verbose} -gt 0 ] ; then

View File

@ -1,5 +1,5 @@
# #
# autofs(5) specific devd events # autofs(4) specific devd events
# Discard autofs caches, useful for the -media special map. # Discard autofs caches, useful for the -media special map.
notify 100 { notify 100 {

View File

@ -1,5 +1,5 @@
# #
# The following are some default rules for devfs(5) mounts. # The following are some default rules for devfs(4) mounts.
# The format is very simple. Empty lines and lines beginning # The format is very simple. Empty lines and lines beginning
# with a hash '#' are ignored. If the hash mark occurs anywhere # with a hash '#' are ignored. If the hash mark occurs anywhere
# other than the beginning of a line, it and any subsequent # other than the beginning of a line, it and any subsequent

View File

@ -55,6 +55,6 @@ Source Roadmap:
| security | security facilities - `audit(4)` and `mac(4)` | | security | security facilities - `audit(4)` and `mac(4)` |
| sys | kernel headers | | sys | kernel headers |
| tests | kernel unit tests | | tests | kernel unit tests |
| ufs | Unix File System - `ffs(7)` | | ufs | Unix File System - `ffs(4)` |
| vm | virtual memory system | | vm | virtual memory system |
| x86 | code shared by AMD64 and i386 architectures | | x86 | code shared by AMD64 and i386 architectures |

View File

@ -656,7 +656,7 @@ imgact_binmisc_exec(struct image_params *imgp)
if (imgp->args->fname != NULL) { if (imgp->args->fname != NULL) {
fname = imgp->args->fname; fname = imgp->args->fname;
} else { } else {
/* Use the fdescfs(5) path for fexecve(2). */ /* Use the fdescfs(4) path for fexecve(2). */
sname = sbuf_new_auto(); sname = sbuf_new_auto();
sbuf_printf(sname, "/dev/fd/%d", imgp->args->fd); sbuf_printf(sname, "/dev/fd/%d", imgp->args->fd);
sbuf_finish(sname); sbuf_finish(sname);

View File

@ -283,7 +283,7 @@ TEST_F(Mknod, parent_inode)
} }
/* /*
* fusefs(5) lacks VOP_WHITEOUT support. No bugzilla entry, because that's a * fusefs(4) lacks VOP_WHITEOUT support. No bugzilla entry, because that's a
* feature, not a bug * feature, not a bug
*/ */
TEST_F(Mknod, DISABLED_whiteout) TEST_F(Mknod, DISABLED_whiteout)

View File

@ -79,7 +79,7 @@ class OpenNoOpenSupport: public FuseTest {
}; };
/* /*
* fusefs(5) does not support I/O on device nodes (neither does UFS). But it * fusefs(4) does not support I/O on device nodes (neither does UFS). But it
* shouldn't crash * shouldn't crash
*/ */
TEST_F(Open, chr) TEST_F(Open, chr)

View File

@ -350,7 +350,7 @@ TEST_F(Listxattr, enotsup)
* On Linux, however, the file system is supposed to return ERANGE if an * On Linux, however, the file system is supposed to return ERANGE if an
* insufficiently large buffer is passed to listxattr(2). * insufficiently large buffer is passed to listxattr(2).
* *
* fusefs(5) must guarantee the usual FreeBSD behavior. * fusefs(4) must guarantee the usual FreeBSD behavior.
*/ */
TEST_F(Listxattr, erange) TEST_F(Listxattr, erange)
{ {

View File

@ -30,7 +30,7 @@
[ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1
# Test scenario for https://reviews.freebsd.org/D20411 # Test scenario for https://reviews.freebsd.org/D20411
# Add devfs(5) support for VOP_MKDIR(9) and VOP_RMDIR(9) # Add devfs(4) support for VOP_MKDIR(9) and VOP_RMDIR(9)
. ../default.cfg . ../default.cfg

View File

@ -26,7 +26,7 @@
# SUCH DAMAGE. # SUCH DAMAGE.
# #
# ext2fs(5) test scenario with a 1k block size # ext2fs(4) test scenario with a 1k block size
# "panic: ext2_reallocblks: alloc mismatch" seen. # "panic: ext2_reallocblks: alloc mismatch" seen.
# "Fatal trap 12: page fault while in kernel mode" seen. # "Fatal trap 12: page fault while in kernel mode" seen.

View File

@ -27,7 +27,7 @@
# SUCH DAMAGE. # SUCH DAMAGE.
# #
# tmpfs(5) version of fifo2.sh # tmpfs(4) version of fifo2.sh
# No problems seen on HEAD. # No problems seen on HEAD.
[ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1

View File

@ -26,7 +26,7 @@
# SUCH DAMAGE. # SUCH DAMAGE.
# #
# mkfifo(2), select(2) with tmpfs(5) scenario. # mkfifo(2), select(2) with tmpfs(4) scenario.
. ../default.cfg . ../default.cfg
[ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1

View File

@ -26,7 +26,7 @@
# SUCH DAMAGE. # SUCH DAMAGE.
# #
# mkfifo(2), select(2) with tmpfs(5) scenario. # mkfifo(2), select(2) with tmpfs(4) scenario.
. ../default.cfg . ../default.cfg
[ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1

View File

@ -26,7 +26,7 @@
# SUCH DAMAGE. # SUCH DAMAGE.
# #
# mkfifo(2), poll(2) with tmpfs(5) scenario. # mkfifo(2), poll(2) with tmpfs(4) scenario.
. ../default.cfg . ../default.cfg
[ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1

View File

@ -26,7 +26,7 @@
# SUCH DAMAGE. # SUCH DAMAGE.
# #
# mlockall(2) / nullfs(5) scenario causes: # mlockall(2) / nullfs(4) scenario causes:
# http://people.freebsd.org/~pho/stress/log/kostik619.txt # http://people.freebsd.org/~pho/stress/log/kostik619.txt
# kern/182661, fixed in r256211. # kern/182661, fixed in r256211.

View File

@ -27,7 +27,7 @@
# SUCH DAMAGE. # SUCH DAMAGE.
# #
# Rename(2) test with msdosfs(5) # Rename(2) test with msdosfs(4)
# Test scenario by kib@ # Test scenario by kib@
. ../default.cfg . ../default.cfg

View File

@ -28,7 +28,7 @@
[ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1
# Demonstate nullfs(5) inode leak. # Demonstate nullfs(4) inode leak.
# Fixed by r295717. # Fixed by r295717.
. ../default.cfg . ../default.cfg

View File

@ -46,13 +46,13 @@ mdconfig -l | grep -q md$mdstart && mdconfig -d -u $mdstart
mount -t tmpfs tmpfs $mntpoint mount -t tmpfs tmpfs $mntpoint
cp -a /usr/include $mntpoint cp -a /usr/include $mntpoint
echo "Testing tmpfs(5)" echo "Testing tmpfs(4)"
/tmp/pread $mntpoint /tmp/pread $mntpoint
while mount | grep -q "on $mntpoint "; do while mount | grep -q "on $mntpoint "; do
umount $mntpoint || sleep 1 umount $mntpoint || sleep 1
done done
echo "Testing fdescfs(5)" echo "Testing fdescfs(4)"
mount -t fdescfs null /dev/fd mount -t fdescfs null /dev/fd
for i in `jot 100`; do for i in `jot 100`; do
/tmp/pread /dev/fd /tmp/pread /dev/fd
@ -62,7 +62,7 @@ while mount | grep -q "on /dev/fd "; do
umount /dev/fd || sleep 1 umount /dev/fd || sleep 1
done done
echo "Testing procfs(5)" echo "Testing procfs(4)"
mount -t procfs procfs $mntpoint mount -t procfs procfs $mntpoint
/tmp/pread $mntpoint /tmp/pread $mntpoint
while mount | grep -q "on $mntpoint "; do while mount | grep -q "on $mntpoint "; do
@ -81,13 +81,13 @@ done
mdconfig -d -u $mdstart mdconfig -d -u $mdstart
mount -t nullfs /bin $mntpoint mount -t nullfs /bin $mntpoint
echo "Testing nullfs(5)" echo "Testing nullfs(4)"
/tmp/pread $mntpoint /tmp/pread $mntpoint
while mount | grep -q "on $mntpoint "; do while mount | grep -q "on $mntpoint "; do
umount $mntpoint || sleep 1 umount $mntpoint || sleep 1
done done
echo "Testing procfs(5)" echo "Testing procfs(4)"
mount -t procfs procfs $mntpoint mount -t procfs procfs $mntpoint
/tmp/pread $mntpoint /tmp/pread $mntpoint
while mount | grep -q "on $mntpoint "; do while mount | grep -q "on $mntpoint "; do

View File

@ -26,7 +26,7 @@
# SUCH DAMAGE. # SUCH DAMAGE.
# #
# procfs(5) test scenario. # procfs(4) test scenario.
# "panic: wchan 0xc10a4f68 has no wmesg" seen # "panic: wchan 0xc10a4f68 has no wmesg" seen
[ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1

View File

@ -45,19 +45,19 @@ mount | grep $mntpoint | grep -q /dev/md && umount -f $mntpoint
mdconfig -l | grep -q md$mdstart && mdconfig -d -u $mdstart mdconfig -l | grep -q md$mdstart && mdconfig -d -u $mdstart
mount -t tmpfs tmpfs $mntpoint mount -t tmpfs tmpfs $mntpoint
echo "Testing tmpfs(5)" echo "Testing tmpfs(4)"
cp -a /usr/include $mntpoint cp -a /usr/include $mntpoint
/tmp/readdir $mntpoint /tmp/readdir $mntpoint
umount $mntpoint umount $mntpoint
echo "Testing fdescfs(5)" echo "Testing fdescfs(4)"
kldstat -v | grep -q fdescfs || { kldload fdescfs.ko; loaded=1; } kldstat -v | grep -q fdescfs || { kldload fdescfs.ko; loaded=1; }
mount -t fdescfs null /dev/fd mount -t fdescfs null /dev/fd
/tmp/readdir /dev/fd /tmp/readdir /dev/fd
umount /dev/fd umount /dev/fd
[ $unload ] && kldunload fdescfs.ko [ $unload ] && kldunload fdescfs.ko
echo "Testing procfs(5)" echo "Testing procfs(4)"
mount -t procfs procfs $mntpoint mount -t procfs procfs $mntpoint
/tmp/readdir $mntpoint /tmp/readdir $mntpoint
umount $mntpoint umount $mntpoint
@ -89,7 +89,7 @@ umount $mntpoint
mdconfig -d -u $mdstart mdconfig -d -u $mdstart
mount -t nullfs /bin $mntpoint mount -t nullfs /bin $mntpoint
echo "Testing nullfs(5)" echo "Testing nullfs(4)"
/tmp/readdir $mntpoint /tmp/readdir $mntpoint
umount $mntpoint umount $mntpoint

View File

@ -52,7 +52,7 @@ mdconfig -l | grep -q md$mdstart && mdconfig -d -u $mdstart
kldstat | grep -q tmpfs.ko || loaded=1 kldstat | grep -q tmpfs.ko || loaded=1
mount -t tmpfs tmpfs $mntpoint mount -t tmpfs tmpfs $mntpoint
echo "Testing tmpfs(5)" echo "Testing tmpfs(4)"
cp $diskimage $mntpoint cp $diskimage $mntpoint
/tmp/sendfile5 $mntpoint/$file /tmp/sendfile5 $mntpoint/$file
umount $mntpoint umount $mntpoint
@ -68,7 +68,7 @@ umount $mntpoint
mdconfig -d -u $mdstart mdconfig -d -u $mdstart
mount -t nullfs $dir $mntpoint mount -t nullfs $dir $mntpoint
echo "Testing nullfs(5)" echo "Testing nullfs(4)"
/tmp/sendfile5 $mntpoint/$file /tmp/sendfile5 $mntpoint/$file
umount $mntpoint umount $mntpoint

View File

@ -26,7 +26,7 @@
# SUCH DAMAGE. # SUCH DAMAGE.
# #
# tmpfs(5) name lookup problem seen: # tmpfs(4) name lookup problem seen:
# $ ./tmpfs10.sh # $ ./tmpfs10.sh
# tmpfs10: unlink(p01193.14729) at loop #2: No such file or directory # tmpfs10: unlink(p01193.14729) at loop #2: No such file or directory

View File

@ -28,7 +28,7 @@
[ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1
# Test with two tmpfs(5) file systems mounted. # Test with two tmpfs(4) file systems mounted.
. ../default.cfg . ../default.cfg

View File

@ -26,7 +26,7 @@
# SUCH DAMAGE. # SUCH DAMAGE.
# #
# tmpfs(5) option nonc test scenario # tmpfs(4) option nonc test scenario
. ../default.cfg . ../default.cfg
[ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1

View File

@ -28,7 +28,7 @@
[ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1
# Demonstrate rename(2) cache problem for tmpfs(5). Fixed in r226987. # Demonstrate rename(2) cache problem for tmpfs(4). Fixed in r226987.
# Variation of rename6.sh # Variation of rename6.sh
. ../default.cfg . ../default.cfg

View File

@ -6,7 +6,7 @@
# SPDX-License-Identifier: BSD-2-Clause # SPDX-License-Identifier: BSD-2-Clause
# #
# unionfs(8) test # unionfs(4) test
# Variation of unionfs7.sh, but with tmpfs # Variation of unionfs7.sh, but with tmpfs
# "mkdir: rmdir(d17) Directory not empty" seen. # "mkdir: rmdir(d17) Directory not empty" seen.

View File

@ -6,7 +6,7 @@
# SPDX-License-Identifier: BSD-2-Clause # SPDX-License-Identifier: BSD-2-Clause
# #
# Simple unionfs(8) + tmpfs test # Simple unionfs(4) + tmpfs(4) test
# "rmdir: d2: Directory not empty" seen. # "rmdir: d2: Directory not empty" seen.

View File

@ -27,7 +27,7 @@
# SUCH DAMAGE. # SUCH DAMAGE.
# #
# unionfs(8) test # unionfs(4) test
# "panic: ufs dir vp 0xfffffe0157351068 ip 0xfffffe016a63d488 flags 0x3c06" seen # "panic: ufs dir vp 0xfffffe0157351068 ip 0xfffffe016a63d488 flags 0x3c06" seen
[ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1

View File

@ -27,7 +27,7 @@
# SUCH DAMAGE. # SUCH DAMAGE.
# #
# unionfs(8) test # unionfs(4) test
# "unionfs_get_node_status: 0xfffffe018f356770 is not exclusive locked but # "unionfs_get_node_status: 0xfffffe018f356770 is not exclusive locked but
# should be" seen. # should be" seen.

View File

@ -27,7 +27,7 @@
# SUCH DAMAGE. # SUCH DAMAGE.
# #
# unionfs(8) test with a cd9660 file system # unionfs(4) test with a cd9660(4) file system
# "panic: unionfs_noderem: vnode 0xfffffe014f9259c8 locked recursively" seen # "panic: unionfs_noderem: vnode 0xfffffe014f9259c8 locked recursively" seen
# https://people.freebsd.org/~pho/stress/log/log0233.txt # https://people.freebsd.org/~pho/stress/log/log0233.txt