[hackers] [ubase] add unshare.1, swapon.8, swapoff.8 and update df.1 || s-p-k
commit 9394409235203113bee25c86ec4ea7b96cc0056e
Author: s-p-k <mr.dwts_AT_gmail.com>
Date: Sat Apr 12 20:13:34 2014 +0300
add unshare.1, swapon.8, swapoff.8 and update df.1
diff --git a/df.1 b/df.1
index 87a55c3..8d447de 100644
--- a/df.1
+++ b/df.1
_AT_@ -9,7 +9,8 @@ If no arguments are given, df shows all the file systems using 512-byte
blocks.
.SH OPTIONS
.TP
-B-aR Show all file systems including dummy ones.
+B-aR Show all file systems including dummy ones. This is the default
+option.
.TP
B-hR Not implemented.
.TP
diff --git a/swapoff.8 b/swapoff.8
new file mode 100644
index 0000000..aa9518a
--- /dev/null
+++ b/swapoff.8
_AT_@ -0,0 +1,11 @@
+.TH SWAPOFF 8 ubase-VERSION
+.SH NAME
+BswapoffR - disable devices and files for paging and swapping
+.SH SYNOPSIS
+BswapoffR [B-aI deviceR]
+.SH DESCRIPTION
+BswapoffR disables swapping on the specified devices and files.
+.SH OPTIONS
+.TP
+B-aR
+Disable swapping on all known swap devices and files as found in /etc/fstab.
diff --git a/swapon.8 b/swapon.8
new file mode 100644
index 0000000..fe28035
--- /dev/null
+++ b/swapon.8
_AT_@ -0,0 +1,19 @@
+.TH SWAPON 8 ubase-VERSION
+.SH NAME
+BswaponR - enable devices and files for paging and swapping
+.SH SYNOPSIS
+BswaponR [B-dpR] [B-aI deviceR]
+.SH DESCRIPTION
+BswaponR is used to specify devices on which paging and
+swapping are to take place.
+.SH OPTIONS
+.TP
+B-dR
+Discard freed swap pages before they are reused.
+.TP
+B-pR
+Set higher priority than the default to the new swap area.
+.TP
+B-aR
+Make all devices marked as ``swap'' in /etc/fstab are made
+available, except for those with the ``noauto'' option.
diff --git a/unshare.1 b/unshare.1
new file mode 100644
index 0000000..40028a2
--- /dev/null
+++ b/unshare.1
_AT_@ -0,0 +1,36 @@
+.TH UNSHARE 1 ubase-VERSION
+.SH NAME
+BunshareR - run program with some namespaces unshared from parent
+.SH SYNOPSIS
+BunshareR [B-muinpUR] cmd [Iargs...R]
+.SH DESCRIPTION
+BunshareR
+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
+B-mR
+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
+B-uR
+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
+B-iR
+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
+B-nR
+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
+B-pR
+Create the process in a new PID namespace.
+.TP
+B-UR
+The process will have a distinct set of UIDs, GIDs and capabilities.
Received on Sat Apr 12 2014 - 20:37:11 CEST
This archive was generated by hypermail 2.3.0
: Sat Apr 12 2014 - 20:48:12 CEST