diff options
author | brian <brian@FreeBSD.org> | 2000-10-04 18:58:46 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2000-10-04 18:58:46 +0000 |
commit | 12f7c0812bc9307092b240ca79bd7b3670345cd6 (patch) | |
tree | a074e986be87ca2bbf5cfda73da3f9e780e2ea64 | |
parent | 5135c38a27d3cf791a98f149db31afd9e1a5294a (diff) | |
download | FreeBSD-src-12f7c0812bc9307092b240ca79bd7b3670345cd6.zip FreeBSD-src-12f7c0812bc9307092b240ca79bd7b3670345cd6.tar.gz |
Add a unaligned_print option (alpha only)
Document osf1_enable
Submitted by: Eric D. Futch <efutch@nyct.net>
PR: 21649
-rw-r--r-- | etc/defaults/rc.conf | 1 | ||||
-rw-r--r-- | etc/etc.alpha/rc.alpha | 8 | ||||
-rw-r--r-- | share/man/man5/rc.conf.5 | 9 |
3 files changed, 18 insertions, 0 deletions
diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf index abe2390..40e621a 100644 --- a/etc/defaults/rc.conf +++ b/etc/defaults/rc.conf @@ -296,6 +296,7 @@ kern_securelevel_enable="NO" # kernel security level (see init(8)), kern_securelevel="-1" # range: -1..3 ; `-1' is the most insecure update_motd="YES" # update version info in /etc/motd (or NO) start_vinum="" # set to YES to start vinum +unaligned_print="YES" # print unaligned access warnings on the alpha (or NO). entropy_file="/var/db/entropy" # Set to NO to disable caching entropy through reboots diff --git a/etc/etc.alpha/rc.alpha b/etc/etc.alpha/rc.alpha index 882197a..9be56e3 100644 --- a/etc/etc.alpha/rc.alpha +++ b/etc/etc.alpha/rc.alpha @@ -165,3 +165,11 @@ if [ -n "${allscreens_flags}" ] ; then fi echo '.' + +# knob for wether or not we should print out unaligned access warnings +# +case ${unaligned_print} in +[Nn][Oo]) + sysctl -w machdep.unaligned_print=0 + ;; +esac diff --git a/share/man/man5/rc.conf.5 b/share/man/man5/rc.conf.5 index d33b1bd..70dd800 100644 --- a/share/man/man5/rc.conf.5 +++ b/share/man/man5/rc.conf.5 @@ -1157,6 +1157,11 @@ this specifies a list of additional iBCS2 loaders to enable. .Ar YES if you wish to enable Linux/ELF binary emulation at system initial boot time. +.It Ar osf1_enable +(bool) Set to +.Ar YES +if you wish to enable OSF/1 (Digital UNIX) binary emulation at system +initial boot time. (alpha) .It Ar clear_tmp_enable (bool) Set to .Ar YES @@ -1216,6 +1221,10 @@ is set to these are the flags to pass to the .Xr sshd 8 daemon. +.It Ar unaligned_print +(bool) If set to +.Ar NO +then unaligned access warnings will not be printed. (alpha) .Sh FILES .Bl -tag -width /etc/defaults/rc.conf -compact .It Pa /etc/defaults/rc.conf |