diff options
author | bde <bde@FreeBSD.org> | 1997-01-16 13:31:55 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1997-01-16 13:31:55 +0000 |
commit | 3ece85326eac10132c7b012edcf3557c580d65c9 (patch) | |
tree | 417df5b8a9a32ff4f21faf44508a9dc12f9721ca /sys/kern | |
parent | 89fb3ac98e09df96fdadddeee90a6daf8eb14a64 (diff) | |
download | FreeBSD-src-3ece85326eac10132c7b012edcf3557c580d65c9.zip FreeBSD-src-3ece85326eac10132c7b012edcf3557c580d65c9.tar.gz |
Added file kern_opt.c for putting warnings about defunct options in.
Warn about recently removed option EXTRAVNODES and about other rubbish
that hasn't been put in opt_defunct.h yet.
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/kern_opt.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/sys/kern/kern_opt.c b/sys/kern/kern_opt.c new file mode 100644 index 0000000..cefa7a8 --- /dev/null +++ b/sys/kern/kern_opt.c @@ -0,0 +1,17 @@ +#include "opt_defunct.h" + +#ifdef CHILD_MAX +#warning "obsolete option CHILD_MAX - rename it to PROC0_RLIMIT_NPROC" +#endif + +#ifdef GATEWAY +#warning "obsolete option EXTRAVNODES - use `sysctl -w kern.maxvnodes=value'" +#endif + +#ifdef GATEWAY +#warning "obsolete option GATEWAY - use `sysctl -w net.inet.ip_forwarding=1'" +#endif + +#ifdef OPEN_MAX +#warning "obsolete option OPEN_MAX - rename it to PROC0_RLIMIT_NOFILE" +#endif |