| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
Notes:
svn path=/head/; revision=252310
|
| |
|
|
| |
Notes:
svn path=/head/; revision=189694
|
| |
|
|
|
|
|
|
| |
is degraded upon the next reboot and will have to be rebuild.
Thus call swapoff when rebooting (read: when stopping swap1)
Notes:
svn path=/head/; revision=189624
|
| |
|
|
|
|
|
|
| |
rc.d.
Note: errors are not affected by this flag.
Notes:
svn path=/head/; revision=179966
|
| |
|
|
|
|
|
|
| |
with theirs, so this information doesn't need to be in the live file.
Having it in our CVS history is enough.
Notes:
svn path=/head/; revision=174438
|
| |
|
|
|
|
|
|
| |
Now gmirror use shutdown hooks to mark mirrors as clean on shutdown,
so this is not needed anymore.
Notes:
svn path=/head/; revision=137255
|
| |
|
|
|
|
|
|
|
|
| |
makes any sense.
Discussed with: dougb, brooks
MFC after: 3 days
Notes:
svn path=/head/; revision=136224
|
| |
|
|
|
|
|
|
|
| |
Without this change, if one had a swap-on-mirror configuration, gmirror
will rebuild mirror component(s) on boot, because they are dirty (they
were open on shutdown).
Notes:
svn path=/head/; revision=135389
|
| |
|
|
|
|
|
| |
Some suggestions from: rwatson, Ruben de Groot <mail25@bzerk.org>
Notes:
svn path=/head/; revision=126744
|
| |
|
|
|
|
|
|
|
|
|
|
| |
in keeping the scripts under rc.d in sync with us. So, remove
NetBSD specific stuff (which made our scripts more complicated
than necessary).
The NetBSD ident string will be left intact, both for history and
also incase we wish to pull in future versions.
Notes:
svn path=/head/; revision=124622
|
| |
|
|
|
|
|
|
|
| |
in keeping the scripts under rc.d in sync with us. So, begin removal
of NetBSD specific stuff (which made our scripts more complicated
than necessary), starting with the NetBSD KEYWORD.
Notes:
svn path=/head/; revision=124616
|
| |
|
|
|
|
|
| |
OS-dependent case switches.
Notes:
svn path=/head/; revision=103019
|
| |
|
|
|
|
|
|
|
|
|
| |
while. This is only the script pieces, the glue for the build comes next.
Submitted by: Mike Makonnen <makonnen@pacbell.net>
Reviewed by: silence on -current and -hackers
Prodded by: rwatson
Notes:
svn path=/head/; revision=98184
|
|
|
Note that `rc' and `rc.shutdown' could not be imported because we already
have files with those names.
Notes:
svn path=/vendor/NetBSD/dist/; revision=78344
|