diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2003-07-08 18:50:41 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2003-07-08 18:50:41 +0000 |
commit | 6fa85dcbbfd6be54b16ee30d8b6cf007b25ee846 (patch) | |
tree | 3c450a353ee74018d7c7fe6c54ea7756e44b6389 /sbin | |
parent | ac262088b413bfe2bc00bd7a88da8e9140c7ec9b (diff) |
- fix some lists/displays
- use .Dl for one-liners, rather than .Bd
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/fsck_ext2fs/fsck_ext2fs.8 | 10 | ||||
-rw-r--r-- | sbin/fsck_ffs/fsck_ffs.8 | 10 | ||||
-rw-r--r-- | sbin/sysctl/sysctl.8 | 49 |
3 files changed, 30 insertions, 39 deletions
diff --git a/sbin/fsck_ext2fs/fsck_ext2fs.8 b/sbin/fsck_ext2fs/fsck_ext2fs.8 index f5703da3168..a431e83b584 100644 --- a/sbin/fsck_ext2fs/fsck_ext2fs.8 +++ b/sbin/fsck_ext2fs/fsck_ext2fs.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: fsck_ext2fs.8,v 1.12 2003/06/02 20:06:15 millert Exp $ +.\" $OpenBSD: fsck_ext2fs.8,v 1.13 2003/07/08 18:50:40 jmc Exp $ .\" $NetBSD: fsck_ext2fs.8,v 1.1 1997/06/11 11:21:48 bouyer Exp $ .\" .\" Copyright (c) 1997 Manuel Bouyer. @@ -169,9 +169,9 @@ this should be used with great caution as this is a free license to continue after essentially unlimited trouble has been encountered. .El .Pp -.Bl -enum -indent indent -compact Inconsistencies checked are as follows: .Pp +.Bl -enum -compact .It Blocks claimed by more than one inode or the free map. .It @@ -180,7 +180,7 @@ Blocks claimed by an inode outside the range of the filesystem. Incorrect link counts. .It Size checks: -.Bl -item -indent indent -compact +.Bl -item -compact .It Directory size not a multiple of filesystem block size. .It @@ -192,7 +192,7 @@ Bad inode format. Blocks not accounted for anywhere. .It Directory checks: -.Bl -item -indent indent -compact +.Bl -item -compact .It File pointing to unallocated inode. .It @@ -203,7 +203,7 @@ or having the wrong inode number. .El .It Super Block checks: -.Bl -item -indent indent -compact +.Bl -item -compact .It More blocks for inodes than there are in the filesystem. .It diff --git a/sbin/fsck_ffs/fsck_ffs.8 b/sbin/fsck_ffs/fsck_ffs.8 index 8fd06cdf113..6fed9151532 100644 --- a/sbin/fsck_ffs/fsck_ffs.8 +++ b/sbin/fsck_ffs/fsck_ffs.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: fsck_ffs.8,v 1.15 2003/06/03 13:16:08 jmc Exp $ +.\" $OpenBSD: fsck_ffs.8,v 1.16 2003/07/08 18:50:40 jmc Exp $ .\" $NetBSD: fsck_ffs.8,v 1.12 1996/09/23 16:18:34 christos Exp $ .\" .\" Copyright (c) 1980, 1989, 1991, 1993 @@ -241,9 +241,9 @@ then a default list of filesystems is read from the file .Pa /etc/fstab . .Pp -.Bl -enum -indent indent -compact Inconsistencies checked are as follows: .Pp +.Bl -enum -compact .It Blocks claimed by more than one inode or the free map. .It @@ -252,7 +252,7 @@ Blocks claimed by an inode outside the range of the filesystem. Incorrect link counts. .It Size checks: -.Bl -item -indent indent -compact +.Bl -item -compact .It Directory size not a multiple of DIRBLKSIZ. .It @@ -264,7 +264,7 @@ Bad inode format. Blocks not accounted for anywhere. .It Directory checks: -.Bl -item -indent indent -compact +.Bl -item -compact .It File pointing to unallocated inode. .It @@ -275,7 +275,7 @@ or having the wrong inode number. .El .It Super Block checks: -.Bl -item -indent indent -compact +.Bl -item -compact .It More blocks for inodes than there are in the filesystem. .It diff --git a/sbin/sysctl/sysctl.8 b/sbin/sysctl/sysctl.8 index 34bbf6ed2f6..a32c266acea 100644 --- a/sbin/sysctl/sysctl.8 +++ b/sbin/sysctl/sysctl.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sysctl.8,v 1.104 2003/06/29 07:23:19 jmc Exp $ +.\" $OpenBSD: sysctl.8,v 1.105 2003/07/08 18:50:40 jmc Exp $ .\" $NetBSD: sysctl.8,v 1.4 1995/09/30 07:12:49 thorpej Exp $ .\" .\" Copyright (c) 1993 @@ -358,18 +358,16 @@ The program can get or set debugging variables that have been identified for its display. This information can be obtained by using the command: -.Bd -literal -offset indent -$ sysctl debug -.Ed +.Pp +.Dl $ sysctl debug .Pp In addition, .Nm can extract information about the filesystems that have been compiled into the running system. This information can be obtained by using the command: -.Bd -literal -offset indent -$ sysctl vfs.mounts -.Ed +.Pp +.Dl $ sysctl vfs.mounts .Pp By default, only filesystems that are actively being used are listed. Use of the @@ -418,38 +416,32 @@ definitions for third level FFS identifiers .Sh EXAMPLES To retrieve the maximum number of processes allowed in the system: -.Bd -literal -offset indent -$ sysctl kern.maxproc -.Ed +.Pp +.Dl $ sysctl kern.maxproc .Pp To set the maximum number of processes allowed in the system to 1000: -.Bd -literal -offset indent -# sysctl -w kern.maxproc=1000 -.Ed +.Pp +.Dl # sysctl -w kern.maxproc=1000 .Pp To retrieve information about the system clock rate: -.Bd -literal -offset indent -$ sysctl kern.clockrate -.Ed +.Pp +.Dl $ sysctl kern.clockrate .Pp To retrieve information about the load average history: -.Bd -literal -offset indent -$ sysctl vm.loadavg -.Ed +.Pp +.Dl $ sysctl vm.loadavg .Pp To make the .Xr chown 2 system call use traditional BSD semantics (don't clear setuid/setgid bits): -.Bd -literal -offset indent -# sysctl -w fs.posix.setuid=0 -.Ed +.Pp +.Dl # sysctl -w fs.posix.setuid=0 .Pp To set the list of reserved TCP ports that should not be allocated by the kernel dynamically: -.Bd -literal -offset indent -# sysctl -w net.inet.tcp.baddynamic=749,750,751,760,761,871 -.Ed +.Pp +.Dl # sysctl -w net.inet.tcp.baddynamic=749,750,751,760,761,871 .Pp This can be used to keep daemons from stealing a specific port that another program needs to function. @@ -465,9 +457,8 @@ To adjust the number of kernel .Nm nfsio threads used to service asynchronous I/O requests on an NFS client machine: -.Bd -literal -offset indent -# sysctl -w vfs.nfs.iothreads=4 -.Ed +.Pp +.Dl # sysctl -w vfs.nfs.iothreads=4 .Pp The number of 4 is the default, 20 is the maximum. See @@ -478,7 +469,7 @@ for further discussion. .Pp To set the amount of shared memory available in the system and the maximum number of shared memory segments: -.Bd -literal noffset indent +.Bd -literal -offset indent # sysctl -w kern.shminfo.shmmax=33554432 # sysctl -w kern.shminfo.shmseg=32 .Ed |