freebsd-skq/etc/rc.d/Makefile
Hiroki Sato 268a55bc98 - Add vnode-backed swap space specification support. This is enabled when
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)
2013-06-27 18:28:45 +00:00

192 lines
2.0 KiB
Makefile

# $FreeBSD$
.include <bsd.own.mk>
FILES= DAEMON \
FILESYSTEMS \
LOGIN \
NETWORKING \
SERVERS \
abi \
accounting \
addswap \
adjkerntz \
amd \
apm \
apmd \
archdep \
atm1 \
atm2 \
atm3 \
auditd \
auditdistd \
bgfsck \
bluetooth \
bootparams \
bridge \
bsnmpd \
bthidd \
ccd \
cleanvar \
cleartmp \
cron \
ddb \
defaultroute \
devd \
devfs \
dhclient \
dmesg \
dumpon \
faith \
fsck \
ftp-proxy \
ftpd \
gbde \
geli \
geli2 \
gptboot \
gssd \
hastd \
hcsecd \
hostapd \
hostid \
hostid_save \
hostname \
inetd \
initrandom \
ip6addrctl \
ipfilter \
ipfs \
ipfw \
ipmon \
ipnat \
ipsec \
${_ipxrouted} \
jail \
kadmind \
kerberos \
keyserv \
kfd \
kld \
kldxref \
kpasswdd \
ldconfig \
local \
localpkg \
lockd \
lpd \
mixer \
motd \
mountcritlocal \
mountcritremote \
mountlate \
mdconfig \
mdconfig2 \
mountd \
moused \
mroute6d \
mrouted \
msgs \
named \
natd \
netif \
netoptions \
netwait \
newsyslog \
nfsclient \
nfscbd \
nfsd \
nfsuserd \
nisdomain \
${_nscd} \
nsswitch \
ntpd \
ntpdate \
${_opensm} \
othermta \
pf \
pflog \
pfsync \
postrandom \
powerd \
power_profile \
ppp \
pppoed \
pwcheck \
quota \
random \
rarpd \
rctl \
resolv \
rfcomm_pppd_server \
root \
route6d \
routed \
routing \
rpcbind \
rtadvd \
rtsold \
rwho \
savecore \
sdpd \
securelevel \
sendmail \
serial \
sppp \
${_sshd} \
statd \
static_arp \
static_ndp \
stf \
swap \
swaplate \
syscons \
sysctl \
syslogd \
timed \
tmp \
${_ubthidhci} \
ugidfw \
${_utx} \
var \
virecover \
watchdogd \
wpa_supplicant \
ypbind \
yppasswdd \
ypserv \
ypset \
ypupdated \
ypxfrd \
zfs \
zvol
.if ${MK_IPX} != "no"
_ipxrouted= ipxrouted
.endif
.if ${MK_OFED} != "no"
_opensm= opensm
.endif
.if ${MK_OPENSSH} != "no"
_sshd= sshd
.endif
.if ${MK_NS_CACHING} != "no"
_nscd= nscd
.endif
.if ${MK_BLUETOOTH} != "no"
_ubthidhci= ubthidhci
.endif
.if ${MK_UTMPX} != "no"
_utx= utx
.endif
FILESDIR= /etc/rc.d
FILESMODE= ${BINMODE}
.include <bsd.prog.mk>