Changeset View
Changeset View
Standalone View
Standalone View
head/sbin/swapon/swapon.8
Show First 20 Lines • Show All 84 Lines • ▼ Show 20 Lines | |||||
.Fl q | .Fl q | ||||
option is used, | option is used, | ||||
informational messages will not be | informational messages will not be | ||||
written to standard output when a swap device is added. | written to standard output when a swap device is added. | ||||
The | The | ||||
.Fl E | .Fl E | ||||
option causes each of following devices to receive a | option causes each of following devices to receive a | ||||
.Dv BIO_DELETE | .Dv BIO_DELETE | ||||
command to mark all blocks as unused. | command. | ||||
This command marks the device's blocks as unused, except those that | |||||
might store a disk label. | |||||
This marking can erase a crash dump. | |||||
To delay | |||||
.Nm swapon | |||||
for a device until after | |||||
.Nm savecore | |||||
has copied the crash dump to another location, use the | |||||
.Dq late | |||||
option. | |||||
.Pp | .Pp | ||||
The | The | ||||
.Nm swapoff | .Nm swapoff | ||||
utility removes the specified swap devices from the system. | utility removes the specified swap devices from the system. | ||||
If the | If the | ||||
.Fl a | .Fl a | ||||
option is used, all swap devices in | option is used, all swap devices in | ||||
.Pa /etc/fstab | .Pa /etc/fstab | ||||
▲ Show 20 Lines • Show All 125 Lines • Show Last 20 Lines |