add unshare.1, swapon.8, swapoff.8 and update df.1
This commit is contained in:
parent
1c94fbbcd6
commit
9394409235
3
df.1
3
df.1
@ -9,7 +9,8 @@ If no arguments are given, df shows all the file systems using 512-byte
|
||||
blocks.
|
||||
.SH OPTIONS
|
||||
.TP
|
||||
\fB-a\fR Show all file systems including dummy ones.
|
||||
\fB-a\fR Show all file systems including dummy ones. This is the default
|
||||
option.
|
||||
.TP
|
||||
\fB-h\fR Not implemented.
|
||||
.TP
|
||||
|
11
swapoff.8
Normal file
11
swapoff.8
Normal file
@ -0,0 +1,11 @@
|
||||
.TH SWAPOFF 8 ubase-VERSION
|
||||
.SH NAME
|
||||
\fBswapoff\fR - disable devices and files for paging and swapping
|
||||
.SH SYNOPSIS
|
||||
\fBswapoff\fR [\fB-a\fI device\fR]
|
||||
.SH DESCRIPTION
|
||||
\fBswapoff\fR disables swapping on the specified devices and files.
|
||||
.SH OPTIONS
|
||||
.TP
|
||||
\fB-a\fR
|
||||
Disable swapping on all known swap devices and files as found in /etc/fstab.
|
19
swapon.8
Normal file
19
swapon.8
Normal file
@ -0,0 +1,19 @@
|
||||
.TH SWAPON 8 ubase-VERSION
|
||||
.SH NAME
|
||||
\fBswapon\fR - enable devices and files for paging and swapping
|
||||
.SH SYNOPSIS
|
||||
\fBswapon\fR [\fB-dp\fR] [\fB-a\fI device\fR]
|
||||
.SH DESCRIPTION
|
||||
\fBswapon\fR is used to specify devices on which paging and
|
||||
swapping are to take place.
|
||||
.SH OPTIONS
|
||||
.TP
|
||||
\fB-d\fR
|
||||
Discard freed swap pages before they are reused.
|
||||
.TP
|
||||
\fB-p\fR
|
||||
Set higher priority than the default to the new swap area.
|
||||
.TP
|
||||
\fB-a\fR
|
||||
Make all devices marked as ``swap'' in /etc/fstab are made
|
||||
available, except for those with the ``noauto'' option.
|
36
unshare.1
Normal file
36
unshare.1
Normal file
@ -0,0 +1,36 @@
|
||||
.TH UNSHARE 1 ubase-VERSION
|
||||
.SH NAME
|
||||
\fBunshare\fR - run program with some namespaces unshared from parent
|
||||
.SH SYNOPSIS
|
||||
\fBunshare\fR [\fB-muinpU\fR] cmd [\fIargs...\fR]
|
||||
.SH DESCRIPTION
|
||||
\fBunshare\fR
|
||||
Unshares the indicated namespaces from the parent process
|
||||
and then executes the specified program. The namespaces to be unshared are
|
||||
indicated via options.
|
||||
.SH OPTIONS
|
||||
.TP
|
||||
\fB-m\fR
|
||||
Unshare the mount namespace, so that the calling process has a private
|
||||
copy of its namespace which is not shared with any other process.
|
||||
.TP
|
||||
\fB-u\fR
|
||||
Unshare the UTS IPC namespace, so that the calling process has a
|
||||
private copy of the UTS namespace which is not shared with any other
|
||||
process.
|
||||
.TP
|
||||
\fB-i\fR
|
||||
Unshare the System V IPC namespace, so that the calling process has a
|
||||
private copy of the System V IPC namespace which is not shared with
|
||||
any other process.
|
||||
.TP
|
||||
\fB-n\fR
|
||||
Unshare the network namespace, so that the calling process is moved
|
||||
into a new network namespace which is not shared with any previously
|
||||
existing process.
|
||||
.TP
|
||||
\fB-p\fR
|
||||
Create the process in a new PID namespace.
|
||||
.TP
|
||||
\fB-U\fR
|
||||
The process will have a distinct set of UIDs, GIDs and capabilities.
|
Loading…
Reference in New Issue
Block a user