Skip to content

Commit 088cc7d

Browse files
concussiousbsdimp
authored andcommitted
man filesystems: fix more xrefs after move to s4
Fixes: 1a720cb Reviewed by: imp Pull Request: freebsd#1282
1 parent cfe55a8 commit 088cc7d

33 files changed

+44
-44
lines changed

MAINTAINERS

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ contrib/pjdfstest asomers,ngie,pjd,#test Pre-commit review requested.
5454
etc/mail gshapiro Pre-commit review requested. Keep in sync with -STABLE.
5555
etc/sendmail gshapiro Pre-commit review requested. Keep in sync with -STABLE.
5656
fetch des Pre-commit review requested, email only.
57-
fusefs(5) asomers Pre-commit review requested.
57+
fusefs(4) asomers Pre-commit review requested.
5858
geli pjd Pre-commit review requested (both sys/geom/eli/ and sbin/geom/class/eli/).
5959
iwm(4) adrian Pre-commit review requested, send to [email protected]
6060
iwn(4) adrian Pre-commit review requested, send to [email protected]
@@ -121,7 +121,7 @@ libvmmapi jhb Pre-commit review requested via #bhyve
121121
phabricator group.
122122
usr.sbin/bhyve* jhb Pre-commit review requested via #bhyve
123123
phabricator group.
124-
autofs(5) trasz Pre-commit review recommended.
124+
autofs(4) trasz Pre-commit review recommended.
125125
iscsi(4) trasz Pre-commit review recommended.
126126
rctl(8) trasz Pre-commit review recommended.
127127
sys/dev/ofw nwhitehorn Pre-commit review recommended.

contrib/netbsd-tests/lib/libc/sys/t_revoke.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ ATF_TC_BODY(revoke_basic, tc)
5959
int *buf;
6060

6161
#ifdef __FreeBSD__
62-
atf_tc_skip("revoke(2) is only implemented for devfs(5).");
62+
atf_tc_skip("revoke(2) is only implemented for devfs(4).");
6363
#endif
6464
(void)memset(&res, 0, sizeof(struct rlimit));
6565
(void)getrlimit(RLIMIT_NOFILE, &res);
@@ -117,7 +117,7 @@ ATF_TC_BODY(revoke_err, tc)
117117
ATF_REQUIRE_ERRNO(ENAMETOOLONG, revoke(buf) == -1);
118118

119119
#ifdef __FreeBSD__
120-
atf_tc_skip("revoke(2) is only implemented for devfs(5).");
120+
atf_tc_skip("revoke(2) is only implemented for devfs(4).");
121121
#endif
122122
errno = 0;
123123
ATF_REQUIRE_ERRNO(EPERM, revoke("/etc/passwd") == -1);
@@ -140,7 +140,7 @@ ATF_TC_BODY(revoke_perm, tc)
140140
pid_t pid;
141141

142142
#ifdef __FreeBSD__
143-
atf_tc_skip("revoke(2) is only implemented for devfs(5).");
143+
atf_tc_skip("revoke(2) is only implemented for devfs(4).");
144144
#endif
145145
pw = getpwnam("nobody");
146146
fd = open(path, O_RDWR | O_CREAT, 0600);

lib/libc/gen/getvfsbyname.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
#include <string.h>
3939

4040
/*
41-
* fusefs(5) file systems may have a "subtype" which gets appended to
41+
* fusefs(4) file systems may have a "subtype" which gets appended to
4242
* statfs(2)'s f_fstypename field on a per-mount basis. Allow getvfsbyname to
4343
* match either the full "fusefs.foobar" or the more general "fusefs".
4444
*/

libexec/rc/rc.initdiskless

+1-1
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ handle_remount() { # $1 = mount point
204204
}
205205

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

sbin/devd/autofs.conf

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# autofs(5) specific devd events
2+
# autofs(4) specific devd events
33

44
# Discard autofs caches, useful for the -media special map.
55
notify 100 {

sbin/devfs/devfs.rules

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

sys/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,6 @@ Source Roadmap:
5555
| security | security facilities - `audit(4)` and `mac(4)` |
5656
| sys | kernel headers |
5757
| tests | kernel unit tests |
58-
| ufs | Unix File System - `ffs(7)` |
58+
| ufs | Unix File System - `ffs(4)` |
5959
| vm | virtual memory system |
6060
| x86 | code shared by AMD64 and i386 architectures |

sys/kern/imgact_binmisc.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,7 @@ imgact_binmisc_exec(struct image_params *imgp)
656656
if (imgp->args->fname != NULL) {
657657
fname = imgp->args->fname;
658658
} else {
659-
/* Use the fdescfs(5) path for fexecve(2). */
659+
/* Use the fdescfs(4) path for fexecve(2). */
660660
sname = sbuf_new_auto();
661661
sbuf_printf(sname, "/dev/fd/%d", imgp->args->fd);
662662
sbuf_finish(sname);

tests/sys/fs/fusefs/mknod.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ TEST_F(Mknod, parent_inode)
283283
}
284284

285285
/*
286-
* fusefs(5) lacks VOP_WHITEOUT support. No bugzilla entry, because that's a
286+
* fusefs(4) lacks VOP_WHITEOUT support. No bugzilla entry, because that's a
287287
* feature, not a bug
288288
*/
289289
TEST_F(Mknod, DISABLED_whiteout)

tests/sys/fs/fusefs/open.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ class OpenNoOpenSupport: public FuseTest {
7979
};
8080

8181
/*
82-
* fusefs(5) does not support I/O on device nodes (neither does UFS). But it
82+
* fusefs(4) does not support I/O on device nodes (neither does UFS). But it
8383
* shouldn't crash
8484
*/
8585
TEST_F(Open, chr)

tests/sys/fs/fusefs/xattr.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ TEST_F(Listxattr, enotsup)
350350
* On Linux, however, the file system is supposed to return ERANGE if an
351351
* insufficiently large buffer is passed to listxattr(2).
352352
*
353-
* fusefs(5) must guarantee the usual FreeBSD behavior.
353+
* fusefs(4) must guarantee the usual FreeBSD behavior.
354354
*/
355355
TEST_F(Listxattr, erange)
356356
{

tools/test/stress2/misc/devfs5.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
[ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1
3131

3232
# Test scenario for https://reviews.freebsd.org/D20411
33-
# Add devfs(5) support for VOP_MKDIR(9) and VOP_RMDIR(9)
33+
# Add devfs(4) support for VOP_MKDIR(9) and VOP_RMDIR(9)
3434

3535
. ../default.cfg
3636

tools/test/stress2/misc/ext2fs3.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
# SUCH DAMAGE.
2727
#
2828

29-
# ext2fs(5) test scenario with a 1k block size
29+
# ext2fs(4) test scenario with a 1k block size
3030
# "panic: ext2_reallocblks: alloc mismatch" seen.
3131
# "Fatal trap 12: page fault while in kernel mode" seen.
3232

tools/test/stress2/misc/fifo4.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
# SUCH DAMAGE.
2828
#
2929

30-
# tmpfs(5) version of fifo2.sh
30+
# tmpfs(4) version of fifo2.sh
3131
# No problems seen on HEAD.
3232

3333
[ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1

tools/test/stress2/misc/mkfifo5.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
# SUCH DAMAGE.
2727
#
2828

29-
# mkfifo(2), select(2) with tmpfs(5) scenario.
29+
# mkfifo(2), select(2) with tmpfs(4) scenario.
3030

3131
. ../default.cfg
3232
[ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1

tools/test/stress2/misc/mkfifo6.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
# SUCH DAMAGE.
2727
#
2828

29-
# mkfifo(2), select(2) with tmpfs(5) scenario.
29+
# mkfifo(2), select(2) with tmpfs(4) scenario.
3030

3131
. ../default.cfg
3232
[ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1

tools/test/stress2/misc/mkfifo7.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
# SUCH DAMAGE.
2727
#
2828

29-
# mkfifo(2), poll(2) with tmpfs(5) scenario.
29+
# mkfifo(2), poll(2) with tmpfs(4) scenario.
3030

3131
. ../default.cfg
3232
[ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1

tools/test/stress2/misc/mlockall4.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
# SUCH DAMAGE.
2727
#
2828

29-
# mlockall(2) / nullfs(5) scenario causes:
29+
# mlockall(2) / nullfs(4) scenario causes:
3030
# http://people.freebsd.org/~pho/stress/log/kostik619.txt
3131
# kern/182661, fixed in r256211.
3232

tools/test/stress2/misc/msdos14.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
# SUCH DAMAGE.
2828
#
2929

30-
# Rename(2) test with msdosfs(5)
30+
# Rename(2) test with msdosfs(4)
3131
# Test scenario by kib@
3232

3333
. ../default.cfg

tools/test/stress2/misc/nullfs18.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
[ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1
3030

31-
# Demonstate nullfs(5) inode leak.
31+
# Demonstate nullfs(4) inode leak.
3232
# Fixed by r295717.
3333

3434
. ../default.cfg

tools/test/stress2/misc/pread.sh

+5-5
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@ mdconfig -l | grep -q md$mdstart && mdconfig -d -u $mdstart
4646

4747
mount -t tmpfs tmpfs $mntpoint
4848
cp -a /usr/include $mntpoint
49-
echo "Testing tmpfs(5)"
49+
echo "Testing tmpfs(4)"
5050
/tmp/pread $mntpoint
5151
while mount | grep -q "on $mntpoint "; do
5252
umount $mntpoint || sleep 1
5353
done
5454

55-
echo "Testing fdescfs(5)"
55+
echo "Testing fdescfs(4)"
5656
mount -t fdescfs null /dev/fd
5757
for i in `jot 100`; do
5858
/tmp/pread /dev/fd
@@ -62,7 +62,7 @@ while mount | grep -q "on /dev/fd "; do
6262
umount /dev/fd || sleep 1
6363
done
6464

65-
echo "Testing procfs(5)"
65+
echo "Testing procfs(4)"
6666
mount -t procfs procfs $mntpoint
6767
/tmp/pread $mntpoint
6868
while mount | grep -q "on $mntpoint "; do
@@ -81,13 +81,13 @@ done
8181
mdconfig -d -u $mdstart
8282

8383
mount -t nullfs /bin $mntpoint
84-
echo "Testing nullfs(5)"
84+
echo "Testing nullfs(4)"
8585
/tmp/pread $mntpoint
8686
while mount | grep -q "on $mntpoint "; do
8787
umount $mntpoint || sleep 1
8888
done
8989

90-
echo "Testing procfs(5)"
90+
echo "Testing procfs(4)"
9191
mount -t procfs procfs $mntpoint
9292
/tmp/pread $mntpoint
9393
while mount | grep -q "on $mntpoint "; do

tools/test/stress2/misc/procfs3.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
# SUCH DAMAGE.
2727
#
2828

29-
# procfs(5) test scenario.
29+
# procfs(4) test scenario.
3030
# "panic: wchan 0xc10a4f68 has no wmesg" seen
3131

3232
[ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1

tools/test/stress2/misc/readdir.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -45,19 +45,19 @@ mount | grep $mntpoint | grep -q /dev/md && umount -f $mntpoint
4545
mdconfig -l | grep -q md$mdstart && mdconfig -d -u $mdstart
4646

4747
mount -t tmpfs tmpfs $mntpoint
48-
echo "Testing tmpfs(5)"
48+
echo "Testing tmpfs(4)"
4949
cp -a /usr/include $mntpoint
5050
/tmp/readdir $mntpoint
5151
umount $mntpoint
5252

53-
echo "Testing fdescfs(5)"
53+
echo "Testing fdescfs(4)"
5454
kldstat -v | grep -q fdescfs || { kldload fdescfs.ko; loaded=1; }
5555
mount -t fdescfs null /dev/fd
5656
/tmp/readdir /dev/fd
5757
umount /dev/fd
5858
[ $unload ] && kldunload fdescfs.ko
5959

60-
echo "Testing procfs(5)"
60+
echo "Testing procfs(4)"
6161
mount -t procfs procfs $mntpoint
6262
/tmp/readdir $mntpoint
6363
umount $mntpoint
@@ -89,7 +89,7 @@ umount $mntpoint
8989
mdconfig -d -u $mdstart
9090

9191
mount -t nullfs /bin $mntpoint
92-
echo "Testing nullfs(5)"
92+
echo "Testing nullfs(4)"
9393
/tmp/readdir $mntpoint
9494
umount $mntpoint
9595

tools/test/stress2/misc/sendfile5.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ mdconfig -l | grep -q md$mdstart && mdconfig -d -u $mdstart
5252

5353
kldstat | grep -q tmpfs.ko || loaded=1
5454
mount -t tmpfs tmpfs $mntpoint
55-
echo "Testing tmpfs(5)"
55+
echo "Testing tmpfs(4)"
5656
cp $diskimage $mntpoint
5757
/tmp/sendfile5 $mntpoint/$file
5858
umount $mntpoint
@@ -68,7 +68,7 @@ umount $mntpoint
6868
mdconfig -d -u $mdstart
6969

7070
mount -t nullfs $dir $mntpoint
71-
echo "Testing nullfs(5)"
71+
echo "Testing nullfs(4)"
7272
/tmp/sendfile5 $mntpoint/$file
7373
umount $mntpoint
7474

tools/test/stress2/misc/tmpfs10.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
# SUCH DAMAGE.
2727
#
2828

29-
# tmpfs(5) name lookup problem seen:
29+
# tmpfs(4) name lookup problem seen:
3030

3131
# $ ./tmpfs10.sh
3232
# tmpfs10: unlink(p01193.14729) at loop #2: No such file or directory

tools/test/stress2/misc/tmpfs11.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
[ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1
3030

31-
# Test with two tmpfs(5) file systems mounted.
31+
# Test with two tmpfs(4) file systems mounted.
3232

3333
. ../default.cfg
3434

tools/test/stress2/misc/tmpfs17.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
# SUCH DAMAGE.
2727
#
2828

29-
# tmpfs(5) option nonc test scenario
29+
# tmpfs(4) option nonc test scenario
3030

3131
. ../default.cfg
3232
[ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1

tools/test/stress2/misc/tmpfs8.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
[ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1
3030

31-
# Demonstrate rename(2) cache problem for tmpfs(5). Fixed in r226987.
31+
# Demonstrate rename(2) cache problem for tmpfs(4). Fixed in r226987.
3232
# Variation of rename6.sh
3333

3434
. ../default.cfg

tools/test/stress2/misc/unionfs17.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# SPDX-License-Identifier: BSD-2-Clause
77
#
88

9-
# unionfs(8) test
9+
# unionfs(4) test
1010
# Variation of unionfs7.sh, but with tmpfs
1111

1212
# "mkdir: rmdir(d17) Directory not empty" seen.

tools/test/stress2/misc/unionfs18.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# SPDX-License-Identifier: BSD-2-Clause
77
#
88

9-
# Simple unionfs(8) + tmpfs test
9+
# Simple unionfs(4) + tmpfs(4) test
1010

1111
# "rmdir: d2: Directory not empty" seen.
1212

tools/test/stress2/misc/unionfs6.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
# SUCH DAMAGE.
2828
#
2929

30-
# unionfs(8) test
30+
# unionfs(4) test
3131
# "panic: ufs dir vp 0xfffffe0157351068 ip 0xfffffe016a63d488 flags 0x3c06" seen
3232

3333
[ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1

tools/test/stress2/misc/unionfs7.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
# SUCH DAMAGE.
2828
#
2929

30-
# unionfs(8) test
30+
# unionfs(4) test
3131

3232
# "unionfs_get_node_status: 0xfffffe018f356770 is not exclusive locked but
3333
# should be" seen.

tools/test/stress2/misc/unionfs8.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
# SUCH DAMAGE.
2828
#
2929

30-
# unionfs(8) test with a cd9660 file system
30+
# unionfs(4) test with a cd9660(4) file system
3131

3232
# "panic: unionfs_noderem: vnode 0xfffffe014f9259c8 locked recursively" seen
3333
# https://people.freebsd.org/~pho/stress/log/log0233.txt

0 commit comments

Comments
 (0)