summaryrefslogtreecommitdiffstats
path: root/sbin/swapon/swapon.8
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2011-10-25 01:47:33 +0000
committersobomax <sobomax@FreeBSD.org>2011-10-25 01:47:33 +0000
commit40cf9012a15ea5ea1f020f0afbb0c9012659549f (patch)
tree694a147829d71f1c4541a36a2562477c3ec2361d /sbin/swapon/swapon.8
parente1f2c1df247d1210f90b4261ae7b44f3882e2d55 (diff)
downloadFreeBSD-src-40cf9012a15ea5ea1f020f0afbb0c9012659549f.zip
FreeBSD-src-40cf9012a15ea5ea1f020f0afbb0c9012659549f.tar.gz
Add new option -F to specify alternative location of the /etc/fstab
file. MFC after: 1 month
Diffstat (limited to 'sbin/swapon/swapon.8')
-rw-r--r--sbin/swapon/swapon.822
1 files changed, 20 insertions, 2 deletions
diff --git a/sbin/swapon/swapon.8 b/sbin/swapon/swapon.8
index 40dba74..5602a9a 100644
--- a/sbin/swapon/swapon.8
+++ b/sbin/swapon/swapon.8
@@ -35,8 +35,14 @@
.Nm swapon , swapoff , swapctl
.Nd "specify devices for paging and swapping"
.Sh SYNOPSIS
-.Nm swapon Fl aq | Ar
-.Nm swapoff Fl aq | Ar
+.Nm swapon
+.Oo Fl F Ar fstab
+.Oc
+.Fl aq | Ar
+.Nm swapoff
+.Oo Fl F Ar fstab
+.Oc
+.Fl aq | Ar
.Nm swapctl
.Op Fl AghklmsU
.Oo
@@ -99,6 +105,18 @@ must move swapped pages out of the device being removed which could
lead to high system loads for a period of time, depending on how
much data has been swapped out to that device.
.Pp
+Other options supported by both
+.Nm swapon
+and
+.Nm swapoff
+are as follows:
+.Bl -tag -width indent
+.It Fl F Ar fstab
+Specify the
+.Pa fstab
+file to use.
+.El
+.Pp
The
.Nm swapctl
utility exists primarily for those familiar with other
OpenPOWER on IntegriCloud