Author: s-p-k <firstname.lastname@example.org>
Date: Sat, 12 Apr 2014 20:13:34 +0300
add unshare.1, swapon.8, swapoff.8 and update df.1
4 files changed, 68 insertions(+), 1 deletion(-)
diff --git a/df.1 b/df.1
@@ -9,7 +9,8 @@ If no arguments are given, df shows all the file systems using 512-byte
-\fB-a\fR Show all file systems including dummy ones.
+\fB-a\fR Show all file systems including dummy ones. This is the default
\fB-h\fR Not implemented.
diff --git a/swapoff.8 b/swapoff.8
@@ -0,0 +1,11 @@
+.TH SWAPOFF 8 ubase-VERSION
+\fBswapoff\fR - disable devices and files for paging and swapping
+\fBswapoff\fR [\fB-a\fI device\fR]
+\fBswapoff\fR disables swapping on the specified devices and files.
+Disable swapping on all known swap devices and files as found in /etc/fstab.
diff --git a/swapon.8 b/swapon.8
@@ -0,0 +1,19 @@
+.TH SWAPON 8 ubase-VERSION
+\fBswapon\fR - enable devices and files for paging and swapping
+\fBswapon\fR [\fB-dp\fR] [\fB-a\fI device\fR]
+\fBswapon\fR is used to specify devices on which paging and
+swapping are to take place.
+Discard freed swap pages before they are reused.
+Set higher priority than the default to the new swap area.
+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
@@ -0,0 +1,36 @@
+.TH UNSHARE 1 ubase-VERSION
+\fBunshare\fR - run program with some namespaces unshared from parent
+\fBunshare\fR [\fB-muinpU\fR] cmd [\fIargs...\fR]
+Unshares the indicated namespaces from the parent process
+and then executes the specified program. The namespaces to be unshared are
+indicated via options.
+Unshare the mount namespace, so that the calling process has a private
+copy of its namespace which is not shared with any other process.
+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
+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.
+Unshare the network namespace, so that the calling process is moved
+into a new network namespace which is not shared with any previously
+Create the process in a new PID namespace.
+The process will have a distinct set of UIDs, GIDs and capabilities.