| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently, '/etc/rc.d/swaplate stop' removes all swap devices. This can be
very slow and may not even be possible if there is a lot of swap space in
use. However, removing swap devices is only needed for late swap devices
that may depend on daemons that subsequent shutdown steps stop. Normal swap
devices such as hard disk partitions will remain available throughout the
shutdown process and need not be removed.
In swapoff, interpret -aL to remove late swap devices only, and use this in
etc/rc.d/swaplate. The meaning of -aL in swapon remains unchanged (add all
swap devices, both normal and late).
PR: 187081
|
|
|
|
| |
option in fstab.
|
|
|
|
|
|
|
| |
- NSWAPDEV limit has gone.
Noticed by: Sergey V. Dyatko [1]
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
device names "md" or "md[0-9]*" and a "file" option are specified in
/etc/fstab like this:
md none swap sw,file=/swap.bin 0 0
- Add GBDE/GELI encrypted swap space specification support, which
rc.d/encswap supported. The /etc/fstab lines are like the following:
/dev/ada1p1.bde none swap sw 0 0
/dev/ada1p2.eli none swap sw 0 0
.eli devices accepts aalgo, ealgo, keylen, and sectorsize as options.
swapctl(8) can understand an encrypted device in the command line
like this:
# swapctl -a /dev/ada2p1.bde
- "-L" flag is added to support "late" option to defer swapon until
rc.d/mountlate runs.
- rc.d script change:
rc.d/encswap -> removed
rc.d/addswap -> just display a warning message if $swapfile is defined
rc.d/swap1 -> renamed to rc.d/swap
rc.d/swaplate -> newly added to support "late" option
These changes alleviate a race condition between device creation/removal
and swapon/swapoff.
MFC after: 1 week
Reviewed by: wblock (manual page)
|
|
|
|
|
|
| |
file.
MFC after: 1 month
|
|
|
|
|
| |
rc.d.
Note: errors are not affected by this flag.
|
|
|
|
|
|
|
| |
giving the output in a human-readable form. This behaviour is consistent
with most of system tools.
- Add -m and -g options to give output in megabytes and gigabytes
respectively.
|
| |
|
| |
|
|
|
|
|
|
| |
per letter dated July 22, 1999.
Approved by: core, imp
|
| |
|
|
|
|
|
| |
Submitted by: Andy Farkas <andyf@speednet.com.au>
Reviewed by: das
|
| |
|
|
|
|
|
|
| |
swapon(2), and correct HISTORY.
Reviewed by: mike (mentor)
|
|
|
|
|
|
|
|
|
|
|
| |
swapctl functionality. The idea is to create a swapctl command that is
fairly close to the OpenBSD and NetBSD version. FreeBSD does not implement
swap priority (and it would be a mistake if we did) so we didn't bother with
that part of it.
Submitted by: Eirik Nygaard <eirikn@bluezone.no>
Augmented by: dillon (extensively)
Reviewed by: David Schultz <dschultz@uclink.Berkeley.EDU>
|
|
|
|
|
|
|
| |
This should be considered highly experimental for the moment.
Submitted by: David Schultz <dschultz@uclink.Berkeley.EDU>
MFC after: 3 weeks
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
devices, but it's certainly possible to make use of them.
PR: 17013
Submitted by: Giorgos Keramidas <keramida@ceid.upatras.gr>
|
|
|
|
|
|
|
| |
already happened in an earlier commit.
PR: docs/13645
Submitted by: Stephen Roznowski <sjr@home.com>
|
|
|
|
|
|
| |
PR: docs/13702
Submitted by: Stephen J. Roznowski <sjr@home.com>
Reviewed by: mpp
|
| |
|
|
|
|
|
| |
PR: docs/11709
Submitted by: Matthew D. Fuller <fullermd@over-yonder.net>
|
|
|
|
| |
Sort #includes. Add rcsid.
|
|
|
|
| |
Submitted by: Bruce Evans
|
|
|
|
|
| |
PR: 5447
Submitted by: Craig Leres <leres@ee.lbl.gov>
|
|
|
|
|
| |
when he tried to figure out how to swap to a file and had to ask me for
help.
|
| |
|
|
|
|
|
|
|
|
| |
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
|
| |
|
|
|
|
| |
Submitted-By: David Leonard <d@scry.dstc.edu.au>
|
|
|
|
| |
Obtained from: NetBSD
|
|
Note: XNSrouted and routed NOT imported here, they shall be imported with
usr.sbin.
|