aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/Makefile402
-rw-r--r--etc/crontab2
-rw-r--r--etc/csh.login4
-rw-r--r--etc/daily25
-rwxr-xr-xetc/etc.i386/EXTRACT_bin.sh18
-rwxr-xr-xetc/etc.i386/EXTRACT_secr.sh15
-rwxr-xr-xetc/etc.i386/EXTRACT_src.sh41
-rw-r--r--etc/etc.i386/MAKEDEV152
-rw-r--r--etc/etc.i386/README.1ST (renamed from etc/etc.i386/floppy.install_notes)9
-rw-r--r--etc/etc.i386/README.INSTALL (renamed from etc/etc.i386/install_notes)216
-rw-r--r--etc/etc.i386/cdinst1.install15
-rw-r--r--etc/etc.i386/cpio.magic48
-rw-r--r--etc/etc.i386/cpio.rc13
-rwxr-xr-xetc/etc.i386/inst1.install14
-rw-r--r--etc/etc.i386/inst2.rc4
-rw-r--r--etc/group1
-rw-r--r--etc/hosts16
-rw-r--r--etc/inetd.conf2
-rw-r--r--etc/kerberosIV/README35
-rw-r--r--etc/kerberosIV/krb.conf9
-rw-r--r--etc/kerberosIV/krb.realms3
-rw-r--r--etc/login.access44
-rw-r--r--etc/make.conf71
-rw-r--r--etc/master.passwd2
-rw-r--r--etc/minfree1
-rw-r--r--etc/mtree/BSD.local.dist20
-rw-r--r--etc/mtree/BSD.root.dist8
-rw-r--r--etc/mtree/BSD.usr.dist4
-rw-r--r--etc/mtree/BSD.var.dist7
-rw-r--r--etc/netstart5
-rw-r--r--etc/rc26
-rw-r--r--etc/rc.local2
-rw-r--r--etc/rc.serial91
-rw-r--r--etc/root/dot.login4
-rw-r--r--etc/root/dot.profile6
-rw-r--r--etc/services2
-rw-r--r--etc/skey.access8
-rw-r--r--etc/termcap.small154
-rw-r--r--etc/ttys14
39 files changed, 1060 insertions, 453 deletions
diff --git a/etc/Makefile b/etc/Makefile
index 9b4b804c2471..f67591f79ddf 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -1,7 +1,5 @@
# from: @(#)Makefile 5.11 (Berkeley) 5/21/91
-# $Id: Makefile,v 1.53.2.5 1994/05/03 10:08:21 rgrimes Exp $
-
-NOOBJ= noobj
+# $Id: Makefile,v 1.76 1994/06/29 21:19:38 jkh Exp $
# disktab may be wrong -- hcx9 is a tahoe, but gets its own.
# -rw-r--r--
@@ -9,16 +7,23 @@ BINOWN= root
BINGRP= wheel
BIN1= aliases csh.cshrc csh.login csh.logout dm.conf \
ftpusers gettytab group hosts host.conf hosts.equiv hosts.lpd \
- inetd.conf motd myname netstart networks phones \
- printcap protocols rc rc.local remote security services shells \
- syslog.conf ttys etc.${MACHINE}/disktab rpc
+ inetd.conf login.access motd myname netstart \
+ networks phones printcap protocols rc rc.local remote \
+ security services shells skey.access \
+ syslog.conf ttys etc.${MACHINE}/disktab rpc make.conf \
+ ${.CURDIR}/../gnu/usr.bin/man/manpath/manpath.config \
+ ${.CURDIR}/../usr.bin/mail/misc/mail.rc
# -rw-rw-rw-
BIN2= motd
-# -rwxr-xr-x root.wheel, for the new f***ing cron root.wheel
+# -rwxr-xr-x root.wheel, for the new cron root.wheel
BIN3= daily weekly monthly
+CLEANFILES+= *.o *.lo *.c *.cache *.mk kcopy filesystem
+
+ZIPNSPLIT= gzip --no-name -9 -c | split -b 240640 -
+
MTREE= BSD.local.dist BSD.root.dist BSD.usr.dist BSD.var.dist
NAMEDB= localhost.rev named.boot root.cache
PCS= pcs750.bin
@@ -27,14 +32,14 @@ WCS2= fpevent fppwcs fppwcs_dual hdcwcs load_diags start_fpp wcs wcs_dual
# Special top level files for FreeBSD
COPYRIGHT= COPYRIGHT.386BSD COPYRIGHT.FreeBSD
-FREEBSD= CONTRIB.386BSD CONTRIB.FreeBSD
+FREEBSD= CONTRIB.386BSD CONTRIB.FreeBSD ROSTER.FreeBSD
FREEBSD+= MIRROR.SITES PERSONAL.ACKS RELNOTES.FreeBSD SUPPORT.TXT
FREEBSD+= ${COPYRIGHT}
#
# Floppy drive name and files for building FreeBSD Floppies
FLOPPY?= fd0
MOUNT?= /mnt
-FLOPPY_TYPE?= fd1200
+FLOPPY_TYPE?= fd1440
#
MDEC= usr/mdec/bootfd usr/mdec/fdboot
MDEC+= usr/mdec/bootsd usr/mdec/sdboot
@@ -42,10 +47,9 @@ MDEC+= usr/mdec/bootwd usr/mdec/wdboot
#
KC_DIRS= bin dev mnt sbin
KC_FILES= ${COPYRIGHT}
-KC_FILES+= bin/sh # XXX Crunch is broken!
-KC_FILES+= sbin/mount sbin/mount_isofs # XXX Crunch is broken!
-KC_LINKS= bin/[ bin/cp bin/echo bin/test
+KC_LINKS= bin/[ bin/cp bin/echo bin/sh bin/test
KC_LINKS+= sbin/fsck sbin/halt sbin/init
+KC_LINKS+= sbin/mount sbin/mount_isofs
KC_LINKS+= sbin/umount
#
CD_DIRS= etc usr
@@ -53,13 +57,12 @@ CD_DIRS= etc usr
FILESYSTEM_DIRS= bin dev etc mnt proc sbin usr usr/bin usr/mdec usr/sbin
FILESYSTEM_TREES= dev
FILESYSTEM_FILES= ${COPYRIGHT}
-FILESYSTEM_FILES+= bin/sh # XXX Crunch is broken!
FILESYSTEM_FILES+= dev/MAKEDEV
FILESYSTEM_FILES+= etc/group
FILESYSTEM_FILES+= etc/master.passwd etc/passwd etc/pwd.db
FILESYSTEM_FILES+= ${MDEC}
FILESYSTEM_LINKS= bin/[ bin/expr bin/ls bin/mkdir bin/rm
-FILESYSTEM_LINKS+= bin/sync bin/test
+FILESYSTEM_LINKS+= bin/sh bin/sync bin/test
FILESYSTEM_LINKS+= sbin/disklabel sbin/fdisk sbin/halt sbin/init
FILESYSTEM_LINKS+= sbin/mount sbin/mount_pcfs
FILESYSTEM_LINKS+= sbin/newfs
@@ -92,13 +95,13 @@ CPIO_CPIO+= usr/bin/awk usr/bin/chgrp usr/bin/cpio usr/bin/ex usr/bin/ftp
CPIO_CPIO+= usr/bin/gunzip usr/bin/gzcat usr/bin/gzip
CPIO_CPIO+= usr/bin/more usr/bin/tar usr/bin/tip
CPIO_CPIO+= usr/bin/vi usr/bin/view usr/bin/zcat
-CPIO_CPIO+= usr/lib/libc.so.1.0
-CPIO_CPIO+= usr/lib/libcurses.so.1.0
-CPIO_CPIO+= usr/lib/libgcc.so.1.0
-CPIO_CPIO+= usr/lib/libm.so.1.0
-CPIO_CPIO+= usr/lib/libtermlib.so.1.0
-CPIO_CPIO+= usr/lib/libtermcap.so.1.0
-CPIO_CPIO+= usr/lib/libutil.so.1.0
+CPIO_CPIO+= usr/lib/libc.so.1.1
+CPIO_CPIO+= usr/lib/libcurses.so.1.1
+CPIO_CPIO+= usr/lib/libgcc.so.1.1
+CPIO_CPIO+= usr/lib/libm.so.1.1
+CPIO_CPIO+= usr/lib/libtermlib.so.1.1
+CPIO_CPIO+= usr/lib/libtermcap.so.1.1
+CPIO_CPIO+= usr/lib/libutil.so.1.1
CPIO_CPIO+= usr/libexec/ld.so
CPIO_CPIO+= usr/sbin/bad144 usr/sbin/chown
CPIO_CPIO+= usr/share/misc/termcap
@@ -114,10 +117,10 @@ CRYPT_SRCS+= usr.bin/bdes usr.bin/lock usr.bin/login usr.bin/passwd
CRYPT_SRCS+= usr.bin/rlogin usr.bin/rsh usr.bin/su usr.bin/telnet
CRYPT_DIRS= bin sbin usr usr/bin usr/lib usr/libexec
-all clean cleandir depend etc install lint:
+all depend etc install lint:
crypt:
- rm -f ${LIBCRYPT};
+ rm -f /usr/lib/libcrypt*
(cd ${.CURDIR}/../${CRYPT_LIB}; \
${MAKE} cleandir obj depend all install)
for i in ${CRYPT_SRCS}; do \
@@ -126,41 +129,44 @@ crypt:
done
non-crypt:
- rm -f ${LIBCRYPT}
+ rm -f /usr/lib/libcrypt*
for i in ${CRYPT_SRCS}; do \
cd ${.CURDIR}/../$$i; \
${MAKE} cleandir obj depend all; \
done
distribution: distrib-dirs
- install -c -o ${BINOWN} -g ${BINGRP} -m 644 ${BIN1} ${DESTDIR}/etc
- install -c -o ${BINOWN} -g ${BINGRP} -m 666 ${BIN2} ${DESTDIR}/etc
- install -c -o root -g wheel -m 755 ${BIN3} ${DESTDIR}/etc
- install -c -o root -g wheel -m 644 crontab ${DESTDIR}/etc
- install -c -o root -g wheel -m 600 /dev/null ${DESTDIR}/var/cron/log
- install -c -o root -g wheel -m 600 master.passwd ${DESTDIR}/etc
- pwd_mkdb -p -d ${DESTDIR}/etc ${DESTDIR}/etc/master.passwd
+ (cd ${.CURDIR}; \
+ install -c -o ${BINOWN} -g ${BINGRP} -m 644 ${BIN1} ${DESTDIR}/etc; \
+ install -c -o ${BINOWN} -g ${BINGRP} -m 666 ${BIN2} ${DESTDIR}/etc; \
+ install -c -o ${BINOWN} -g ${BINGRP} -m 755 ${BIN3} ${DESTDIR}/etc; \
+ install -c -o ${BINOWN} -g ${BINGRP} -m 644 crontab ${DESTDIR}/etc; \
+ install -c -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \
+ ${DESTDIR}/var/cron/log; \
+ install -c -o ${BINOWN} -g ${BINGRP} -m 600 \
+ master.passwd ${DESTDIR}/etc; \
+ pwd_mkdb -p -d ${DESTDIR}/etc ${DESTDIR}/etc/master.passwd; \
install -c -o ${BINOWN} -g ${BINGRP} -m 555 \
- MAKEDEV.local etc.${MACHINE}/MAKEDEV ${DESTDIR}/dev
+ MAKEDEV.local etc.${MACHINE}/MAKEDEV ${DESTDIR}/dev )
.if defined(CDROMDIST)
- (cd ${DESTDIR}/dev; sh MAKEDEV all)
+ (cd ${DESTDIR}/dev; sh MAKEDEV all) ;
.endif
- (cd root; \
- install -c -o root -g wheel -m 644 dot.cshrc \
+ (cd ${.CURDIR}/root; \
+ install -c -o ${BINOWN} -g ${BINGRP} -m 644 dot.cshrc \
${DESTDIR}/root/.cshrc; \
- install -c -o root -g wheel -m 644 dot.klogin \
+ install -c -o ${BINOWN} -g ${BINGRP} -m 644 dot.klogin \
${DESTDIR}/root/.klogin; \
- install -c -o root -g wheel -m 644 dot.login \
+ install -c -o ${BINOWN} -g ${BINGRP} -m 644 dot.login \
${DESTDIR}/root/.login; \
- install -c -o root -g wheel -m 644 dot.profile \
+ install -c -o ${BINOWN} -g ${BINGRP} -m 644 dot.profile \
${DESTDIR}/root/.profile; \
rm -f ${DESTDIR}/.cshrc ${DESTDIR}/.profile; \
ln ${DESTDIR}/root/.cshrc ${DESTDIR}/.cshrc; \
ln ${DESTDIR}/root/.profile ${DESTDIR}/.profile)
- cd mtree; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${MTREE} \
- ${DESTDIR}/etc/mtree
- cd namedb; install -c -o ${BINOWN} -g ${BINGRP} -m 644 ${NAMEDB} \
- ${DESTDIR}/etc/namedb
+ cd ${.CURDIR}/mtree; install -c -o ${BINOWN} -g ${BINGRP} -m 444 \
+ ${MTREE} ${DESTDIR}/etc/mtree
+ cd ${.CURDIR}/namedb; install -c -o ${BINOWN} -g ${BINGRP} -m 644 \
+ ${NAMEDB} ${DESTDIR}/etc/namedb
install -c -o ${BINOWN} -g operator -m 664 /dev/null \
${DESTDIR}/etc/dumpdates
install -c -o nobody -g ${BINGRP} -m 664 /dev/null \
@@ -177,56 +183,75 @@ distribution: distrib-dirs
${DESTDIR}/var/log/wtmp
install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
${DESTDIR}/var/run/utmp
- (cd etc.${MACHINE}; install -c -o ${BINOWN} -g ${BINGRP} -m 444 \
- fstab.* ${DESTDIR}/etc)
+ install -c -o ${BINOWN} -g ${BINGRP} -m 664 ${.CURDIR}/minfree \
+ ${DESTDIR}/var/crash
+ (cd ${.CURDIR}/etc.${MACHINE}; install -c -o ${BINOWN} -g ${BINGRP} \
+ -m 444 fstab.* ${DESTDIR}/etc)
.if defined(NOCRYPT)
- ${MAKE} non-crypt
- (cd ..; NOCRYPT=nocrypt; export NOCRYPT; ${MAKE} install)
+ (cd ${.CURDIR}; ${MAKE} non-crypt)
+ (cd ${.CURDIR}/..; NOCRYPT=nocrypt; export NOCRYPT; ${MAKE} install)
.else
- ${MAKE} crypt
- (cd ..; ${MAKE} install)
+ (cd ${.CURDIR}; ${MAKE} crypt)
+ (cd ${.CURDIR}/..; ${MAKE} install)
.endif
- (cd ../usr.sbin/sendmail/src; \
+ (cd ${.CURDIR}/../usr.sbin/sendmail/src; \
${MAKE} install; \
cd ../cf/cf; \
${MAKE} obj; \
${MAKE} freefall.cf; \
- install -o root -g wheel -m 644 obj/freefall.cf \
+ install -o ${BINOWN} -g ${BINGRP} -m 644 obj/freefall.cf \
${DESTDIR}/etc/sendmail.cf)
- (cd ../; \
- install -c -o root -g wheel -m 444 ${FREEBSD} ${DESTDIR}/)
- (cd ..; ${MAKE} mdec; )
- (cd ../share/man; ${MAKE} makedb; )
+ (cd ${.CURDIR}/..; \
+ install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${FREEBSD} ${DESTDIR}/)
+ (cd ${.CURDIR}/..; ${MAKE} mdec; )
+ (cd ${.CURDIR}/../share/man; ${MAKE} makedb; )
.if ${MACHINE} == "tahoe"
- (cd etc.tahoe; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${WCS1} \
- ${DESTDIR}/)
+ (cd ${.CURDIR}/etc.tahoe; install -c -o ${BINOWN} -g ${BINGRP} \
+ -m 444 ${WCS1} ${DESTDIR}/)
.endif
.if ${MACHINE} == "vax"
- (cd etc.vax; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${PCS} \
- ${DESTDIR}/)
+ (cd ${.CURDIR}/etc.vax; install -c -o ${BINOWN} -g ${BINGRP} \
+ -m 444 ${PCS} ${DESTDIR}/)
.endif
+crunch:
+ crunchgen ${.CURDIR}/../contrib/crunch/examples/kcopy.conf
+ ${MAKE} -f kcopy.mk objs exe
+ crunchgen ${.CURDIR}/../contrib/crunch/examples/filesystem.conf
+ ${MAKE} -f filesystem.mk objs exe
+
+extract:
+ install -c -o ${BINOWN} -g ${BINGRP} -m 555 \
+ ${.CURDIR}/etc.i386/EXTRACT_bin.sh \
+ ${RELEASEDIR}/tarballs/bindist/EXTRACT.sh
+ install -c -o ${BINOWN} -g ${BINGRP} -m 555 \
+ ${.CURDIR}/etc.i386/EXTRACT_src.sh \
+ ${RELEASEDIR}/tarballs/srcdist/EXTRACT.sh
+ install -c -o ${BINOWN} -g ${BINGRP} -m 555 \
+ ${.CURDIR}/etc.i386/EXTRACT_secr.sh \
+ ${RELEASEDIR}/tarballs/secrdist/EXTRACT.sh
+
hcx9-distribution:
- (cd etc.tahoe; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${WCS2} \
- ${DESTDIR}/)
-
-kcopy-kernels: ../sys/i386/conf/GENERICAH ../sys/i386/conf/GENERICBT
- (cd ../sys/compile; rm -rf GENERICAH GENERICBT)
- (cd ../sys/i386/conf; config GENERICAH; config GENERICBT)
- (cd ../sys/compile/GENERICAH; ${MAKE} depend; ${MAKE} all; \
- install -c -o root -g wheel -m 755 386bsd \
+ (cd ${.CURDIR}/etc.tahoe; install -c -o ${BINOWN} -g ${BINGRP} \
+ -m 444 ${WCS2} ${DESTDIR}/)
+
+kcopy-kernels: ${.CURDIR}/../sys/i386/conf/GENERICAH ${.CURDIR}/../sys/i386/conf/GENERICBT
+ (cd ${.CURDIR}/../sys/compile; rm -rf GENERICAH GENERICBT)
+ (cd ${.CURDIR}/../sys/i386/conf; config GENERICAH; config GENERICBT)
+ (cd ${.CURDIR}/../sys/compile/GENERICAH; ${MAKE} depend; ${MAKE} all; \
+ install -c -o ${BINOWN} -g ${BINGRP} -m 755 386bsd \
${DESTDIR}/386bsd.GENERICAH)
- (cd ../sys/compile/GENERICBT; ${MAKE} depend; ${MAKE} all; \
- install -c -o root -g wheel -m 755 386bsd \
+ (cd ${.CURDIR}/../sys/compile/GENERICBT; ${MAKE} depend; ${MAKE} all; \
+ install -c -o ${BINOWN} -g ${BINGRP} -m 755 386bsd \
${DESTDIR}/386bsd.GENERICBT)
kcopy-floppy:
disklabel -w -r ${FLOPPY} ${FLOPPY_TYPE} \
- /usr/mdec/fdboot /usr/mdec/bootfd
- newfs -b 4096 -c 80 -f 512 -i 10240 -m 0 -o space \
+ ${DESTDIR}/usr/mdec/fdboot ${DESTDIR}/usr/mdec/bootfd
+ newfs -b 4096 -c 80 -f 512 -i 8192 -m 0 -o space \
r${FLOPPY} ${FLOPPY_TYPE}
mount /dev/${FLOPPY} ${MOUNT}
- chown root.wheel ${MOUNT}/.
+ chown ${BINOWN}.${BINGRP} ${MOUNT}/.
chmod 755 ${MOUNT}/.
(cd ${DESTDIR}/; \
ls -d ${KC_DIRS} | cpio -pdamuv ${MOUNT})
@@ -239,10 +264,10 @@ kcopy-floppy:
rm -rf rmcd*)
(cd ${DESTDIR}/; \
ls ${KC_FILES} | cpio -pdamuv ${MOUNT})
- install -c -o root -g wheel -m 755 etc.i386/kc.profile \
- ${MOUNT}/.profile
- install -c -o root -g wheel -m 755 ${RELEASEDIR}/distbin/kcopy \
- ${MOUNT}/bin/kcopy
+ install -c -o ${BINOWN} -g ${BINGRP} -m 755 \
+ ${.CURDIR}/etc.i386/kc.profile ${MOUNT}/.profile
+ install -c -o ${BINOWN} -g ${BINGRP} -m 755 \
+ kcopy ${MOUNT}/bin/kcopy
(cd ${MOUNT}/; \
for i in ${KC_LINKS}; do \
ln bin/kcopy $$i; \
@@ -250,27 +275,27 @@ kcopy-floppy:
kcopy_ah.flp:
${MAKE} kcopy-floppy
- (cd ../sys/compile/GENERICAH; \
- install -c -o root -g wheel -m 755 386bsd ${MOUNT}/)
+ (cd ${.CURDIR}/../sys/compile/GENERICAH; \
+ install -c -o ${BINOWN} -g ${BINGRP} -m 755 386bsd ${MOUNT}/)
df -ik ${MOUNT}
umount /dev/${FLOPPY}
fsck /dev/r${FLOPPY}
dd if=/dev/r${FLOPPY} of=${RELEASEDIR}/floppies/kcopy_ah.flp \
bs=15b count=160
gzip --no-name -9 -c ${RELEASEDIR}/floppies/kcopy_ah.flp \
- >${RELEASEDIR}/floppies/kcopy_ah.flp.gz
+ >${RELEASEDIR}/floppies/kcopy_ah.flp.gz &
kcopy_bt.flp:
${MAKE} kcopy-floppy
- (cd ../sys/compile/GENERICBT; \
- install -c -o root -g wheel -m 755 386bsd ${MOUNT}/)
+ (cd ${.CURDIR}/../sys/compile/GENERICBT; \
+ install -c -o ${BINOWN} -g ${BINGRP} -m 755 386bsd ${MOUNT}/)
df -ik ${MOUNT}
umount /dev/${FLOPPY}
fsck /dev/r${FLOPPY}
dd if=/dev/r${FLOPPY} of=${RELEASEDIR}/floppies/kcopy_bt.flp \
bs=15b count=160
gzip --no-name -9 -c ${RELEASEDIR}/floppies/kcopy_bt.flp \
- >${RELEASEDIR}/floppies/kcopy_bt.flp.gz
+ >${RELEASEDIR}/floppies/kcopy_bt.flp.gz &
cdins-floppy:
${MAKE} kcopy-floppy
@@ -280,44 +305,44 @@ cdins-floppy:
ln -s /cdrom/filesys/usr/libexec libexec; \
ln -s /cdrom/filesys/usr/lib lib)
mkdir ${MOUNT}/cdrom
- chown root.wheel ${MOUNT}/cdrom
+ chown ${BINOWN}.${BINGRP} ${MOUNT}/cdrom
chmod 755 ${MOUNT}/cdrom
- install -c -o root -g wheel -m 755 etc.i386/cdinst1.profile \
- ${MOUNT}/.profile
- install -c -o root -g wheel -m 755 etc.i386/cdinst1.install \
- ${MOUNT}/install
+ install -c -o ${BINOWN} -g ${BINGRP} -m 755 \
+ ${.CURDIR}/etc.i386/cdinst1.profile ${MOUNT}/.profile
+ install -c -o ${BINOWN} -g ${BINGRP} -m 755 \
+ ${.CURDIR}/etc.i386/cdinst1.install ${MOUNT}/install
cdins_ah.flp:
${MAKE} cdins-floppy
- (cd ../sys/compile/GENERICAH; \
- install -c -o root -g wheel -m 755 386bsd ${MOUNT}/)
+ (cd ${.CURDIR}/../sys/compile/GENERICAH; \
+ install -c -o ${BINOWN} -g ${BINGRP} -m 755 386bsd ${MOUNT}/)
df -ik ${MOUNT}
umount /dev/${FLOPPY}
fsck /dev/r${FLOPPY}
dd if=/dev/r${FLOPPY} of=${RELEASEDIR}/floppies/cdins_ah.flp \
bs=15b count=160
gzip --no-name -9 -c ${RELEASEDIR}/floppies/cdins_ah.flp \
- >${RELEASEDIR}/floppies/cdins_ah.flp.gz
+ >${RELEASEDIR}/floppies/cdins_ah.flp.gz &
cdins_bt.flp:
${MAKE} cdins-floppy
- (cd ../sys/compile/GENERICBT; \
- install -c -o root -g wheel -m 755 386bsd ${MOUNT}/)
+ (cd ${.CURDIR}/../sys/compile/GENERICBT; \
+ install -c -o ${BINOWN} -g ${BINGRP} -m 755 386bsd ${MOUNT}/)
df -ik ${MOUNT}
umount /dev/${FLOPPY}
fsck /dev/r${FLOPPY}
dd if=/dev/r${FLOPPY} of=${RELEASEDIR}/floppies/cdins_bt.flp \
bs=15b count=160
gzip --no-name -9 -c ${RELEASEDIR}/floppies/cdins_bt.flp \
- >${RELEASEDIR}/floppies/cdins_bt.flp.gz
+ >${RELEASEDIR}/floppies/cdins_bt.flp.gz &
filesyst.flp:
disklabel -w -r ${FLOPPY} ${FLOPPY_TYPE} \
- /usr/mdec/fdboot /usr/mdec/bootfd
+ ${DESTDIR}/usr/mdec/fdboot ${DESTDIR}/usr/mdec/bootfd
newfs -b 4096 -c 80 -f 512 -i 10240 -m 0 -o space \
r${FLOPPY} ${FLOPPY_TYPE}
mount /dev/${FLOPPY} ${MOUNT}
- chown root.wheel ${MOUNT}/.
+ chown ${BINOWN}.${BINGRP} ${MOUNT}/.
chmod 755 ${MOUNT}/.
(cd ${DESTDIR}/; \
ls -d ${FILESYSTEM_DIRS} | cpio -pdamuv ${MOUNT})
@@ -331,12 +356,12 @@ filesyst.flp:
(find ${FILESYSTEM_CPIO}; ls -d ${FILESYSTEM_CPIO_DIRS}) | \
cpio -H newc --block-size=16 -oav | \
gzip -9 >${MOUNT}/inst1.cpio.gz)
- install -c -o root -g wheel -m 755 etc.i386/inst1.profile \
- ${MOUNT}/.profile
- install -c -o root -g wheel -m 755 etc.i386/inst1.install \
- ${MOUNT}/install
- install -c -o root -g wheel -m 755 ${RELEASEDIR}/distbin/filesystem \
- ${MOUNT}/bin/filesystem
+ install -c -o ${BINOWN} -g ${BINGRP} -m 755 \
+ ${.CURDIR}/etc.i386/inst1.profile ${MOUNT}/.profile
+ install -c -o ${BINOWN} -g ${BINGRP} -m 755 \
+ ${.CURDIR}/etc.i386/inst1.install ${MOUNT}/install
+ install -c -o ${BINOWN} -g ${BINGRP} -m 755 \
+ filesystem ${MOUNT}/bin/filesystem
(cd ${MOUNT}/; \
for i in ${FILESYSTEM_LINKS}; do \
ln bin/filesystem $$i; \
@@ -354,153 +379,150 @@ filesyst.flp:
dd if=/dev/r${FLOPPY} of=${RELEASEDIR}/floppies/filesyst.flp \
bs=15b count=160
gzip --no-name -9 -c ${RELEASEDIR}/floppies/filesyst.flp \
- >${RELEASEDIR}/floppies/filesyst.flp.gz
+ >${RELEASEDIR}/floppies/filesyst.flp.gz &
cpio.flp:
disklabel -w -r ${FLOPPY} ${FLOPPY_TYPE} \
- /usr/mdec/fdboot /usr/mdec/bootfd
+ ${DESTDIR}/usr/mdec/fdboot ${DESTDIR}/usr/mdec/bootfd
newfs -b 4096 -c 80 -f 512 -i 65536 -m 0 -o space \
r${FLOPPY} ${FLOPPY_TYPE}
mount /dev/${FLOPPY} ${MOUNT}
- chown root.wheel ${MOUNT}/.
+ chown ${BINOWN}.${BINGRP} ${MOUNT}/.
chmod 755 ${MOUNT}/.
(cd ${DESTDIR}/; \
ls ${CPIO_FILES} | cpio -pdamuv ${MOUNT})
+ # This ugliness is because the default termcap file is simply too
+ # big and we don't need such a hugh one for the initial installation,
+ # yet we want the symlink in /etc to point to the right place so we
+ # need to install the smaller one in the same location. Same goes
+ # for the elvis hackery; just trying to bum as many bytes as we can
+ # here, and that's rarely a very pretty process.
+ mv ${DESTDIR}/usr/share/misc/termcap ${DESTDIR}/usr/share/misc/otermcap
+ install -c -o ${BINOWN} -g ${BINGRP} -m 755 \
+ ${.CURDIR}/termcap.small ${DESTDIR}/usr/share/misc/termcap
+ # Use cp so we don't destroy the links.
+ cp ${DESTDIR}/usr/bin/ex ${DESTDIR}/usr/bin/ex.bak
+ cp ${DESTDIR}/usr/bin/elvis ${DESTDIR}/usr/bin/ex
(cd ${DESTDIR}/; \
(find ${CPIO_CPIO}; ls -d ${CPIO_CPIO_DIRS}) | \
cpio -H newc --block-size=16 -oav | \
gzip -9 >${MOUNT}/inst2.cpio.gz)
- install -c -o root -g wheel -m 755 etc.i386/cpio.rc \
- ${MOUNT}/rc
- install -c -o root -g wheel -m 755 etc.i386/cpio.install \
- ${MOUNT}/install
- install -c -o root -g wheel -m 755 etc.i386/cpio.magic \
- ${MOUNT}/magic
+ # cpio is done, put everything back in shape for the bindist.
+ mv ${DESTDIR}/usr/share/misc/otermcap ${DESTDIR}/usr/share/misc/termcap
+ cp ${DESTDIR}/usr/bin/ex.bak ${DESTDIR}/usr/bin/ex
+ rm ${DESTDIR}/usr/bin/ex.bak
+ install -c -o ${BINOWN} -g ${BINGRP} -m 755 \
+ ${.CURDIR}/etc.i386/cpio.rc ${MOUNT}/rc
+ install -c -o ${BINOWN} -g ${BINGRP} -m 755 \
+ ${.CURDIR}/etc.i386/cpio.install ${MOUNT}/install
+ install -c -o ${BINOWN} -g ${BINGRP} -m 755 \
+ ${.CURDIR}/etc.i386/cpio.magic ${MOUNT}/magic
df -ik ${MOUNT}
umount /dev/${FLOPPY}
fsck /dev/r${FLOPPY}
dd if=/dev/r${FLOPPY} of=${RELEASEDIR}/floppies/cpio.flp \
bs=15b count=160
gzip --no-name -9 -c ${RELEASEDIR}/floppies/cpio.flp \
- >${RELEASEDIR}/floppies/cpio.flp.gz
+ >${RELEASEDIR}/floppies/cpio.flp.gz &
bin-tarball:
(cd ${DESTDIR}; \
tar cf - . | \
- gzip --no-name -9 -c | \
- split -b 240640 - \
- ${RELEASEDIR}/tarballs/bindist/bin_tgz.)
+ ${ZIPNSPLIT} ${RELEASEDIR}/tarballs/bindist/bin_tgz.)
+
+src-clean:
+ (cd ${DESTDIR}/usr/src; make cleandist)
+ find ${DESTDIR}/usr/src -name obj | xargs -n30 rm -rf
+ rm -rf ${DESTDIR}/usr/src/sys/compile/GENERIC*
+ chown -R bin:bin ${DESTDIR}/usr/src
+ chmod -R og-w ${DESTDIR}/usr/src
srcbase-tarball:
(cd ${DESTDIR}; \
- tar -cf - usr/src/[A-Z]* | \
- gzip --no-name -9 -c | \
- split -b 240640 - \
- ${RELEASEDIR}/tarballs/srcdist/base.)
+ tar --exclude CVS -cf - usr/src/[A-Z]* | \
+ ${ZIPNSPLIT} ${RELEASEDIR}/tarballs/srcdist/base.)
srcbin-tarball:
(cd ${DESTDIR}; \
- tar -cf - usr/src/bin | \
- gzip --no-name -9 -c | \
- split -b 240640 - \
- ${RELEASEDIR}/tarballs/srcdist/bin.)
+ tar --exclude CVS -cf - usr/src/bin | \
+ ${ZIPNSPLIT} ${RELEASEDIR}/tarballs/srcdist/srcbin.)
srccontrib-tarball:
(cd ${DESTDIR}; \
- tar -cf - usr/src/contrib | \
- gzip --no-name -9 -c | \
- split -b 240640 - \
- ${RELEASEDIR}/tarballs/srcdist/contrib.)
+ tar --exclude CVS -cf - usr/src/contrib | \
+ ${ZIPNSPLIT} ${RELEASEDIR}/tarballs/srcdist/contrib.)
srcetc-tarball:
(cd ${DESTDIR}; \
- tar -cf - usr/src/etc | \
- gzip --no-name -9 -c | \
- split -b 240640 - \
- ${RELEASEDIR}/tarballs/srcdist/etc.)
+ tar --exclude CVS -cf - usr/src/etc | \
+ ${ZIPNSPLIT} ${RELEASEDIR}/tarballs/srcdist/etc.)
srcgames-tarball:
(cd ${DESTDIR}; \
- tar -cf - usr/src/games | \
- gzip --no-name -9 -c | \
- split -b 240640 - \
- ${RELEASEDIR}/tarballs/srcdist/games.)
+ tar --exclude CVS -cf - usr/src/games | \
+ ${ZIPNSPLIT} ${RELEASEDIR}/tarballs/srcdist/games.)
srcgnu-tarball:
(cd ${DESTDIR}; \
- tar -cf - usr/src/gnu | \
- gzip --no-name -9 -c | \
- split -b 240640 - \
- ${RELEASEDIR}/tarballs/srcdist/gnu.)
+ tar --exclude CVS -cf - usr/src/gnu | \
+ ${ZIPNSPLIT} ${RELEASEDIR}/tarballs/srcdist/gnu.)
srcinclude-tarball:
(cd ${DESTDIR}; \
- tar -cf - usr/src/include | \
- gzip --no-name -9 -c | \
- split -b 240640 - \
- ${RELEASEDIR}/tarballs/srcdist/include.)
+ tar --exclude CVS -cf - usr/src/include | \
+ ${ZIPNSPLIT} ${RELEASEDIR}/tarballs/srcdist/include.)
srclib-tarball:
(cd ${DESTDIR}; \
- tar --exclude usr/src/${CRYPT_LIB} -cf - usr/src/lib | \
- gzip --no-name -9 -c | \
- split -b 240640 - \
- ${RELEASEDIR}/tarballs/srcdist/lib.)
+ tar --exclude usr/src/${CRYPT_LIB} --exclude CVS -cf - \
+ usr/src/lib | \
+ ${ZIPNSPLIT} ${RELEASEDIR}/tarballs/srcdist/lib.)
srclibcrypt-tarball:
(cd ${DESTDIR}; \
- tar -cf - usr/src/${CRYPT_LIB} | \
- gzip --no-name -9 -c | \
- split -b 240640 - \
- ${RELEASEDIR}/tarballs/secrdist/libcrypt.)
+ tar --exclude CVS -cf - usr/src/${CRYPT_LIB} | \
+ ${ZIPNSPLIT} ${RELEASEDIR}/tarballs/secrdist/libcrypt.)
srclibexec-tarball:
(cd ${DESTDIR}; \
- tar -cf - usr/src/libexec | \
- gzip --no-name -9 -c | \
- split -b 240640 - \
- ${RELEASEDIR}/tarballs/srcdist/libexec.)
+ tar --exclude CVS -cf - usr/src/libexec | \
+ ${ZIPNSPLIT} ${RELEASEDIR}/tarballs/srcdist/libexec.)
srcsbin-tarball:
(cd ${DESTDIR}; \
- tar -cf - usr/src/sbin | \
- gzip --no-name -9 -c | \
- split -b 240640 - \
- ${RELEASEDIR}/tarballs/srcdist/sbin.)
+ tar --exclude CVS -cf - usr/src/sbin | \
+ ${ZIPNSPLIT} ${RELEASEDIR}/tarballs/srcdist/sbin.)
srcshare-tarball:
(cd ${DESTDIR}; \
- tar -cf - usr/src/share | \
- gzip --no-name -9 -c | \
- split -b 240640 - \
- ${RELEASEDIR}/tarballs/srcdist/share.)
+ tar --exclude CVS -cf - usr/src/share | \
+ ${ZIPNSPLIT} ${RELEASEDIR}/tarballs/srcdist/share.)
srcsys-tarball:
(cd ${DESTDIR}; \
- tar -cf - usr/src/sys | \
- gzip --no-name -9 -c | \
- split -b 240640 - \
- ${RELEASEDIR}/tarballs/srcdist/sys.)
+ tar --exclude CVS -cf - usr/src/sys | \
+ ${ZIPNSPLIT} ${RELEASEDIR}/tarballs/srcdist/sys.)
srcusrbin-tarball:
(cd ${DESTDIR}; \
- tar -cf - usr/src/usr.bin | \
- gzip --no-name -9 -c | \
- split -b 240640 - \
- ${RELEASEDIR}/tarballs/srcdist/usrbin.)
+ tar --exclude CVS -cf - usr/src/usr.bin | \
+ ${ZIPNSPLIT} ${RELEASEDIR}/tarballs/srcdist/usrbin.)
srcusrsbin-tarball:
(cd ${DESTDIR}; \
- tar -cf - usr/src/usr.sbin | \
- gzip --no-name -9 -c | \
- split -b 240640 - \
- ${RELEASEDIR}/tarballs/srcdist/usrsbin.)
+ tar --exclude CVS -cf - usr/src/usr.sbin | \
+ ${ZIPNSPLIT} ${RELEASEDIR}/tarballs/srcdist/usrsbin.)
-src-tarball: srcbase-tarball srcbin-tarball srccontrib-tarball srcetc-tarball \
- srcgames-tarball srcgnu-tarball srcinclude-tarball srclib-tarball \
- srclibcrypt-tarball srclibexec-tarball srcsbin-tarball \
- srcshare-tarball srcsys-tarball srcusrbin-tarball \
- srcusrsbin-tarball
+srckrb-tarball:
+ (cd ${DESTDIR}; \
+ tar --exclude CVS -cf - usr/src/kerberosIV | \
+ ${ZIPNSPLIT} ${RELEASEDIR}/tarballs/secrdist/kerberos.)
+
+src-tarball: src-clean srcbase-tarball srcbin-tarball srccontrib-tarball \
+ srcetc-tarball srcgames-tarball srcgnu-tarball srcinclude-tarball \
+ srclib-tarball srclibcrypt-tarball srclibexec-tarball srcsbin-tarball \
+ srcshare-tarball srcsys-tarball srcusrbin-tarball srcusrsbin-tarball \
+ srckrb-tarball
des-tarball:
rm -rf ${RELEASEDIR}/tmpdes
@@ -530,30 +552,28 @@ des-tarball:
done
(cd ${RELEASEDIR}/tmpdes; \
tar cf - . | \
- gzip --no-name -9 -c | \
- split -b 240640 - \
- ${RELEASEDIR}/tarballs/secrdist/des_tgz.)
+ ${ZIPNSPLIT} ${RELEASEDIR}/tarballs/secrdist/des_tgz.)
rm -rf ${RELEASEDIR}/tmpdes
distrib-dirs:
- mtree -u -f mtree/BSD.root.dist -p ${DESTDIR}/
- mtree -u -f mtree/BSD.var.dist -p ${DESTDIR}/var
- mtree -u -f mtree/BSD.usr.dist -p ${DESTDIR}/usr
+ mtree -u -f ${.CURDIR}/mtree/BSD.root.dist -p ${DESTDIR}/
+ mtree -u -f ${.CURDIR}/mtree/BSD.var.dist -p ${DESTDIR}/var
+ mtree -u -f ${.CURDIR}/mtree/BSD.usr.dist -p ${DESTDIR}/usr
.if defined(CDROMDIST)
- mtree -u -f mtree/BSD.local.dist -p ${DESTDIR}/usr/local
+ mtree -u -f ${.CURDIR}/mtree/BSD.local.dist -p ${DESTDIR}/usr/local
.endif
cd ${DESTDIR}/; rm -f ${DESTDIR}/sys; ln -s usr/src/sys sys
floppies: kcopy_ah.flp kcopy_bt.flp filesyst.flp cpio.flp \
cdins_ah.flp cdins_bt.flp
-release: release-dirs distribution kcopy-kernels floppies \
- bin-tarball des-tarball
-
+release: release-dirs distribution crunch extract kcopy-kernels \
+ floppies bin-tarball des-tarball clean
+
release-dirs:
rm -rf ${RELEASEDIR}/filesys
mkdir ${RELEASEDIR}/filesys
- chown root.wheel ${RELEASEDIR}/filesys
+ chown ${BINOWN}.${BINGRP} ${RELEASEDIR}/filesys
chmod 755 ${RELEASEDIR}/filesys
rm -rf ${RELEASEDIR}/tarballs
mkdir ${RELEASEDIR}/tarballs
@@ -561,11 +581,11 @@ release-dirs:
mkdir ${RELEASEDIR}/tarballs/objdist
mkdir ${RELEASEDIR}/tarballs/secrdist
mkdir ${RELEASEDIR}/tarballs/srcdist
- chown -R root.wheel ${RELEASEDIR}/tarballs
+ chown -R ${BINOWN}.${BINGRP} ${RELEASEDIR}/tarballs
chmod -R 755 ${RELEASEDIR}/tarballs
rm -rf ${RELEASEDIR}/floppies
mkdir ${RELEASEDIR}/floppies
- chown root.wheel ${RELEASEDIR}/floppies
+ chown ${BINOWN}.${BINGRP} ${RELEASEDIR}/floppies
chmod 755 ${RELEASEDIR}/floppies
.include <bsd.prog.mk>
diff --git a/etc/crontab b/etc/crontab
index a68a42083960..dcdd3cae9668 100644
--- a/etc/crontab
+++ b/etc/crontab
@@ -1,6 +1,6 @@
# /etc/crontab - root's crontab for FreeBSD
#
-# $Id: crontab,v 1.5.2.1 1994/04/15 17:46:56 sean Exp $
+# $Id: crontab,v 1.6 1994/04/15 16:57:38 sean Exp $
# From: Id: crontab,v 1.6 1993/05/31 02:03:57 cgd Exp
#
SHELL=/bin/sh
diff --git a/etc/csh.login b/etc/csh.login
index 040ba69f2d1e..4b827013c9d9 100644
--- a/etc/csh.login
+++ b/etc/csh.login
@@ -3,5 +3,5 @@
# information is shown in K-Blocks
# setenv BLOCKSIZE K
# Uncomment this, if you want to have 8-bit clean 'tcsh'
-# (temporary solution until proper locale will be available)
-# setenv LANG ru
+# (any LANG value cause this, here example for russian language)
+# setenv LANG Russian.koi8-r
diff --git a/etc/daily b/etc/daily
index c14b0eac9269..b30682500c91 100644
--- a/etc/daily
+++ b/etc/daily
@@ -25,8 +25,10 @@ fi
if [ -d /scratch ]; then
cd /scratch && {
- find . ! -name . -atime +1 -exec rm -f -- {} \;
- find . ! -name . -type d -mtime +1 -exec rmdir -- {} \; \
+ find . ! -name . ! -fstype local -a -prune -o \
+ -atime +1 -exec rm -f -- {} \;
+ find . ! -name . ! -fstype local -a -prune -o \
+ -type d -mtime +1 -exec rmdir -- {} \; \
>/dev/null 2>&1; }
fi
@@ -54,13 +56,18 @@ if [ -f /etc/news.expire ]; then
/etc/news.expire
fi
-#echo ""
-#echo "Purging accounting records:"
-#mv /var/account/acct.2 /var/account/acct.3
-#mv /var/account/acct.1 /var/account/acct.2
-#mv /var/account/acct.0 /var/account/acct.1
-#cp /var/account/acct /var/account/acct.0
-#sa -s > /dev/null
+if [ -d /var/account ] ; then
+ echo ""
+ echo "Purging accounting records:"
+ cd /var/account
+ if [ -f acct.2 ] ; then mv -f acct.2 acct.3 ; fi
+ if [ -f acct.1 ] ; then mv -f acct.1 acct.2 ; fi
+ if [ -f acct.0 ] ; then mv -f acct.0 acct.1 ; fi
+ if [ -f acct ] ; then
+ cp -pf acct acct.0
+ sa -s > /dev/null
+ fi
+fi
echo ""
echo "Backup passwd and group files:"
diff --git a/etc/etc.i386/EXTRACT_bin.sh b/etc/etc.i386/EXTRACT_bin.sh
new file mode 100755
index 000000000000..d6821747b195
--- /dev/null
+++ b/etc/etc.i386/EXTRACT_bin.sh
@@ -0,0 +1,18 @@
+#!/bin/sh
+#
+# This file will extract all of the FreeBSD binaries into ${EXTRACT_TARGET}
+# if it is set, or / otherwise.
+#
+# CAUTION DO NOT USE THIS TO INSTALL THE BINARIES ONTO A RUNNING
+# SYSTEM, it will NOT WORK!!! You should use the extract command from /magic
+# for installing the bindist onto your system.
+SOURCEDIR=.
+if [ X"${EXTRACT_TARGET}" = X"" ]; then
+ echo "YOU DO NOT WANT TO DO THAT!!!"
+ exit
+ EXTRACT_TARGET=/
+fi
+
+cd $SOURCEDIR
+cat bin_tgz.* | gunzip | tar --unlink --directory ${EXTRACT_TARGET} -xpf -
+#NO_EXPORT#cat des_tgz.* | gunzip | tar --directory ${EXTRACT_TARGET} -xpf -
diff --git a/etc/etc.i386/EXTRACT_secr.sh b/etc/etc.i386/EXTRACT_secr.sh
new file mode 100755
index 000000000000..37b7b72aefe4
--- /dev/null
+++ b/etc/etc.i386/EXTRACT_secr.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+#
+# This file will extract all of the FreeBSD secure distribution into
+# ${EXTRACT_TARGET} if it is set, or / otherwise.
+#
+SOURCEDIR=.
+if [ X"${EXTRACT_TARGET}" = X"" ]; then
+ EXTRACT_TARGET=/
+fi
+
+cd $SOURCEDIR
+
+cat des_tgz.* | gunzip | tar --unlink --directory ${EXTRACT_TARGET} -xpf -
+cat libcrypt.aa | gunzip | tar --unlink --directory ${EXTRACT_TARGET} -xpf -
+cat kerberos.aa | gunzip | tar --unlink --directory ${EXTRACT_TARGET} -xpf -
diff --git a/etc/etc.i386/EXTRACT_src.sh b/etc/etc.i386/EXTRACT_src.sh
new file mode 100755
index 000000000000..fc1680c5b241
--- /dev/null
+++ b/etc/etc.i386/EXTRACT_src.sh
@@ -0,0 +1,41 @@
+#!/bin/sh
+#
+# This file will extract all of the FreeBSD sources into
+# ${EXTRACT_TARGET}/usr/src if it is set, or /usr/src otherwise.
+# If you do not want all the sources you can copy this file to your
+# disk and edit it to comment out the ones you do not want. You
+# will need to change the setting of SOURCEDIR to reflect where the srcdist
+# directory is (dependent on where your cdrom is mounted,
+# it might be /cdrom/tarballs/srcdist) .
+#
+if [ X"${SOURCEDIR}" = X"" ]; then
+ SOURCEDIR=.
+fi
+if [ X"${EXTRACT_TARGET}" = X"" ]; then
+ EXTRACT_TARGET=/
+fi
+
+cd $SOURCEDIR
+
+# Note that base.aa is REQUIRED to be able to use the source tree for
+# building in.
+#
+cat base.* | gunzip | tar --unlink --directory ${EXTRACT_TARGET} -xpf -
+
+#
+# The following are optional
+#
+cat srcbin.* | gunzip | tar --unlink --directory ${EXTRACT_TARGET} -xpf -
+cat contrib.* | gunzip | tar --unlink --directory ${EXTRACT_TARGET} -xpf -
+cat etc.aa | gunzip | tar --unlink --directory ${EXTRACT_TARGET} -xpf -
+cat games.* | gunzip | tar --unlink --directory ${EXTRACT_TARGET} -xpf -
+cat gnu.* | gunzip | tar --unlink --directory ${EXTRACT_TARGET} -xpf -
+cat include.* | gunzip | tar --unlink --directory ${EXTRACT_TARGET} -xpf -
+cat lib.* | gunzip | tar --unlink --directory ${EXTRACT_TARGET} -xpf -
+#NO_EXPORT#cat libcrypt.* | gunzip | tar --unlink --directory ${EXTRACT_TARGET} -xpf -
+cat libexec.* | gunzip | tar --unlink --directory ${EXTRACT_TARGET} -xpf -
+cat sbin.* | gunzip | tar --unlink --directory ${EXTRACT_TARGET} -xpf -
+cat share.* | gunzip | tar --unlink --directory ${EXTRACT_TARGET} -xpf -
+cat sys.* | gunzip | tar --unlink --directory ${EXTRACT_TARGET} -xpf -
+cat usrbin.* | gunzip | tar --unlink --directory ${EXTRACT_TARGET} -xpf -
+cat usrsbin.* | gunzip | tar --unlink --directory ${EXTRACT_TARGET} -xpf -
diff --git a/etc/etc.i386/MAKEDEV b/etc/etc.i386/MAKEDEV
index 9433a69698e5..7d7815d239a5 100644
--- a/etc/etc.i386/MAKEDEV
+++ b/etc/etc.i386/MAKEDEV
@@ -74,8 +74,9 @@
# speaker pc speaker
# tw* xten power controller
# snd* various sound cards
+# pcaudio PCM audio driver
#
-# $Id: MAKEDEV,v 1.28.2.1 1994/03/07 00:58:43 rgrimes Exp $
+# $Id: MAKEDEV,v 1.37 1994/06/17 21:50:07 jkh Exp $
#
PATH=/sbin:/bin/:/usr/bin:/usr/sbin:
@@ -89,9 +90,8 @@ all)
sh MAKEDEV wd0 wd1 fd0 fd1 ft0 wt0 sd0 sd1 st0 cd0 mcd0 # bdev
sh MAKEDEV pty0 tty0 tty1 pc0 lpt0 lpt1 lpt2 # cdev
sh MAKEDEV ch0 tw0 bpf0 dcf0 lpa0 lpa1 lpa2 # cdev
- sh MAKEDEV speaker mse0 ttyd2 ttyd3 # cdev
- # NOTE: co0 and vty04 are not done by a "sh MAKEDEV all"
- # these are for codrv and interfere with other devices! - rgrimes
+ sh MAKEDEV speaker pcaudio psm0 mse0 ttyd2 ttyd3 # cdev
+ sh MAKEDEV vty4 # cdev
;;
std)
rm -f console drum mem kmem null zero io tty klog stdin stdout stderr
@@ -108,7 +108,7 @@ std)
mknod stdout c 22 1; chmod 666 stdout; chown root.wheel stdout
mknod stderr c 22 2; chmod 666 stderr; chown root.wheel stderr
rm -f fd/*
- mkdir fd > /dev/null 2>&1
+ mkdir fd > null 2>&1
(cd fd && eval `echo "" | awk ' BEGIN { \
for (i = 0; i < 64; i++) \
printf("mknod %d c 22 %d;", i, i)}'`)
@@ -120,7 +120,7 @@ std)
# Create device files for new Archive/Wangtek QIC-02 tape driver (vak)
wt*)
- umask 2 ; u=`expr $i : '..\(.*\)'`
+ umask 7 ; u=`expr $i : '..\(.*\)'`
if [ x$u = x ]; then u=0; fi
rm -f r[Ww]t$u nr[Ww]t$u r[Ww]t$u[a-f] nr[Ww]t$u[a-f]
mknod rwt${u} c 10 `expr 0 + $u` # default density, 512b blocks
@@ -264,6 +264,14 @@ sd*|wd*)
mknod ${name}${unit}f b $blk `expr $unit '*' 8 + 5`
mknod ${name}${unit}g b $blk `expr $unit '*' 8 + 6`
mknod ${name}${unit}h b $blk `expr $unit '*' 8 + 7`
+ case $i in
+ wd*)
+ mknod ${name}${unit}i b $blk `expr $unit '*' 8 + 64`
+ mknod ${name}${unit}j b $blk `expr $unit '*' 8 + 65`
+ mknod ${name}${unit}k b $blk `expr $unit '*' 8 + 66`
+ mknod ${name}${unit}l b $blk `expr $unit '*' 8 + 67`
+ mknod ${name}${unit}m b $blk `expr $unit '*' 8 + 68`
+ esac
mknod r${name}${unit}a c $chr `expr $unit '*' 8 + 0`
mknod r${name}${unit}b c $chr `expr $unit '*' 8 + 1`
mknod r${name}${unit}c c $chr `expr $unit '*' 8 + 2`
@@ -272,8 +280,16 @@ sd*|wd*)
mknod r${name}${unit}f c $chr `expr $unit '*' 8 + 5`
mknod r${name}${unit}g c $chr `expr $unit '*' 8 + 6`
mknod r${name}${unit}h c $chr `expr $unit '*' 8 + 7`
- chgrp operator ${name}${unit}[a-h] r${name}${unit}[a-h]
- chmod 640 ${name}${unit}[a-h] r${name}${unit}[a-h]
+ case $i in
+ wd*)
+ mknod r${name}${unit}i c $chr `expr $unit '*' 8 + 64`
+ mknod r${name}${unit}j c $chr `expr $unit '*' 8 + 65`
+ mknod r${name}${unit}k c $chr `expr $unit '*' 8 + 66`
+ mknod r${name}${unit}l c $chr `expr $unit '*' 8 + 67`
+ mknod r${name}${unit}m c $chr `expr $unit '*' 8 + 68`
+ esac
+ chgrp operator ${name}${unit}[a-m] r${name}${unit}[a-m]
+ chmod 640 ${name}${unit}[a-m] r${name}${unit}[a-m]
;;
*)
echo bad unit for disk in: $i
@@ -292,7 +308,6 @@ com*)
unit=`expr $i : '...\(.*\)'`
rm -f tty0$unit
mknod tty0$unit c 8 $unit
- chown uucp.wheel tty0$unit
;;
pty*)
@@ -342,7 +357,7 @@ st*)
nrst${unit}.${mode} \
erst${unit}.${mode} \
st${unit}ctl.${mode}
- chmod 644 rst${unit}.${mode}\
+ chmod 640 rst${unit}.${mode}\
nrst${unit}.${mode} \
erst${unit}.${mode}
chmod 660 st${unit}ctl.${mode}
@@ -416,7 +431,7 @@ tw*)
# hv 22-apr-93 use this to create the necessary video device for
# pccons driver
-pc*)
+pc?)
chr=12
minor=0
name=ttyv0
@@ -427,7 +442,7 @@ pc*)
;;
# Use this to create virtual consoles for syscons, pcvt or codrv
-# /dev/ttyv0-b
+# ttyv0-b
# use as MAKEDEV vtyNN to create NN entries
vty*)
chr=12
@@ -469,19 +484,42 @@ speaker)
chown root.wheel speaker
;;
-cua*|ttyd*)
- unit=`expr $i : '...d*\(.\)'`
- rm -f tty0$unit cua0$unit ttyd$unit
- mknod ttyd$unit c 28 $unit
- mknod cua0$unit c 28 `expr $unit + 128`
- chown uucp.wheel ttyd$unit cua0$unit
+cua0?|cua?|ttyd?)
+ unit=`expr $i : '...[d0]*\(.\)$'`
+ rm -f tty*0$unit cua*0$unit tty*d$unit
+ case $unit in
+ [0-9]) m=$unit;;
+ a) m=10;; b) m=11;; c) m=12;; d) m=13;; e) m=14;; f) m=15;; g) m=16;;
+ h) m=17;; i) m=18;; j) m=19;; k) m=20;; l) m=21;; m) m=22;; n) m=23;;
+ o) m=24;; p) m=25;; q) m=26;; r) m=27;; s) m=28;; t) m=29;; u) m=30;;
+ v) m=31;;
+ *) echo too many devices; exit 1;;
+ esac
+ mknod ttyd$unit c 28 $m
+ mknod ttyid$unit c 28 `expr $m + 32`
+ mknod ttyld$unit c 28 `expr $m + 64`
+ mknod cua0$unit c 28 `expr $m + 128`
+ mknod cuai0$unit c 28 `expr $m + 32 + 128`
+ mknod cual0$unit c 28 `expr $m + 64 + 128`
+ chown uucp.dialer cua*0$unit
+ chmod 660 cua*0$unit
;;
-tty*)
- unit=`expr $i : 'tty\(.\)'`
- rm -f tty0$unit cua0$unit ttyd$unit
+tty0?|tty?)
+ unit=`expr $i : 'tty0*\(.\)$'`
+ rm -f tty*0$unit cua*0$unit tty*d$unit
+ case $unit in
+ [0-9]) m=$unit;;
+ a) m=10;; b) m=11;; c) m=12;; d) m=13;; e) m=14;; f) m=15;; g) m=16;;
+ h) m=17;; i) m=18;; j) m=19;; k) m=20;; l) m=21;; m) m=22;; n) m=23;;
+ o) m=24;; p) m=25;; q) m=26;; r) m=27;; s) m=28;; t) m=29;; u) m=30;;
+ v) m=31;;
+ *) echo too many devices; exit 1;;
+ esac
umask 0
- mknod tty0$unit c 28 $unit
+ mknod tty0$unit c 28 $m
+ mknod ttyi0$unit c 28 `expr $m + 32`
+ mknod ttyl0$unit c 28 `expr $m + 64`
umask 77
;;
@@ -510,47 +548,55 @@ mouse*)
ln -s $name mouse
;;
+pcaudio)
+ rm -f pcaudio pcaudioctl
+ mknod pcaudio c 24 0
+ mknod pcaudioctl c 24 128
+ chown root.wheel pcaudio pcaudioctl
+ chmod 666 pcaudio pcaudioctl
+ ;;
+
snd*)
chr=30
- rm -f /dev/mixer # Mixer [ Control ]
- mknod /dev/mixer c $chr 0
- chmod 666 /dev/mixer
+ rm -f mixer # Mixer [ Control ]
+ mknod mixer c $chr 0
+ chmod 666 mixer
- rm -f /dev/sequencer # Sequencer [ FM Synth and MIDI output ]
- mknod /dev/sequencer c $chr 1
- chmod 666 /dev/sequencer
+ rm -f sequencer # Sequencer [ FM Synth and MIDI output ]
+ mknod sequencer c $chr 1
+ chmod 666 sequencer
- rm -f /dev/midi # Midi input [ Not implemented ]
- mknod /dev/midi c $chr 2
+ rm -f midi # Midi input [ Not implemented ]
+ mknod midi c $chr 2
- rm -f /dev/dsp # DSP [ Digitized voice ]
- mknod /dev/dsp c $chr 3
- chmod 666 /dev/dsp
+ rm -f dsp # DSP [ Digitized voice ]
+ mknod dsp c $chr 3
+ chmod 666 dsp
- rm -f /dev/audio # SPARC audio [ Not fully implemented ]
- mknod /dev/audio c $chr 4
- chmod 666 /dev/audio
+ rm -f audio # SPARC audio [ Not fully implemented ]
+ mknod audio c $chr 4
+ chmod 666 audio
- rm -f /dev/dsp16 # DSP16 [ Same as /dev/dsp, except 16 bits ]
- mknod /dev/dsp16 c $chr 5
- chmod 666 /dev/dsp16
+ rm -f dsp16 # DSP16 [ Same as dsp, except 16 bits ]
+ mknod dsp16 c $chr 5
+ chmod 666 dsp16
- rm -f /dev/sndstat # Status Device [ Debugging interface ]
- mknod /dev/sndstat c $chr 6
- chmod 666 /dev/sndstat
+ rm -f sndstat # Status Device [ Debugging interface ]
+ mknod sndstat c $chr 6
+ chmod 666 sndstat
- rm -f /dev/pro_midi # PRO_MIDI [PAS midi input and output]
- mknod /dev/pro_midi c $chr 15
- chmod 666 /dev/pro_midi
+ rm -f pro_midi # PRO_MIDI [PAS midi input and output]
+ mknod pro_midi c $chr 15
+ chmod 666 pro_midi
- rm -f /dev/dsp1 # DSP 1 [ SB emulation of PAS16 or 2nd audio ]
- mknod /dev/dsp1 c $chr 19
- chmod 666 /dev/dsp1
+ rm -f dsp1 # DSP 1 [ SB emulation of PAS16 or 2nd audio ]
+ mknod dsp1 c $chr 19
+ chmod 666 dsp1
- rm -f /dev/audio1 # Sparc Audio 1 [ SB emulation of PAS16 or 2nd audio ]
- mknod /dev/audio1 c $chr 20
- chmod 666 /dev/audio1
+ rm -f audio1 # Sparc Audio 1 [ SB emulation of PAS16 or 2nd audio ]
+ mknod audio1 c $chr 20
+ chmod 666 audio1
;;
local)
@@ -558,5 +604,9 @@ local)
sh MAKEDEV.local
;;
+*)
+ echo $i - no such device name
+ ;;
+
esac
done
diff --git a/etc/etc.i386/floppy.install_notes b/etc/etc.i386/README.1ST
index 5b457018ee82..eccb3aab208a 100644
--- a/etc/etc.i386/floppy.install_notes
+++ b/etc/etc.i386/README.1ST
@@ -1,9 +1,12 @@
FLOPPY INSTALLATION NOTES
FreeBSD
- Release 1.1
+ Release 1.1.5
Welcome to FreeBSD! This document has been put together in an effort
to make initial installation of the system from floppy as easy as possible.
+It also provides a simple description for those eager to get started as soon as
+possible. Please see the file README.INSTALL for more detailed installation
+instructions.
1. To install FreeBSD you will need 3 (or 4 if you choose to add the optional
DOS floppy) floppies, as well as the bulk of the distribution on some
@@ -103,7 +106,7 @@ to make initial installation of the system from floppy as easy as possible.
12. Reboot so that the system comes up multiuser by typing ``reboot''.
-13. You are now running FreeBSD! Congradulations! You may now continue
+13. You are now running FreeBSD! Congratulations! You may now continue
with installing the source distribution, or stop here for now.
14. The file /magic contains the special sh commands used during
@@ -140,4 +143,4 @@ to make initial installation of the system from floppy as easy as possible.
freebsd.cdrom.com - please have a look around! You may also find
this a good time to read the release notes in RELNOTES.FreeBSD.
-End of $Id: floppy.install_notes,v 1.13.2.1 1994/05/05 03:58:27 rgrimes Exp $
+End of $Id: README.1ST,v 1.1 1994/06/28 09:01:53 jkh Exp $
diff --git a/etc/etc.i386/install_notes b/etc/etc.i386/README.INSTALL
index fbf74c83aecc..b8f69d23c5c5 100644
--- a/etc/etc.i386/install_notes
+++ b/etc/etc.i386/README.INSTALL
@@ -1,7 +1,13 @@
INSTALLATION NOTES
FreeBSD
- Release 1.1
+ Release 1.1.5
+These notes have been prepared from those written originally for NetBSD
+0.9. The conversion was done by someone who has had experience with
+installing and upgrading 386bsd, but who is not a unix guru, so there
+will be slant towards this experience. Corrections/updates are
+welcomed, it is difficult/impossible to test every last hardware
+combination.
Be sure to read _ALL_ of this document before you try to install
FreeBSD. FreeBSD probably looks a bit similar to things that you've
@@ -14,7 +20,7 @@ FreeBSD Release Contents:
The FreeBSD Release consists of the following elements:
-Bootable Kernel copy floppies
+Bootable Kernel-copy floppies
These disks are bootable and have enough utilities on
board to copy a new kernel to a prepared hard disk. While
@@ -22,22 +28,22 @@ Bootable Kernel copy floppies
also make upgrading to a new kernel easy: boot from it,
and copy a new kernel to disk.
- You must choose between one of two kernel copy floppy
+ You must choose between one of two kernel-copy floppy
images, depending on your disk controller type. The
- "kcopy_ah.flp" image supports the Adaptec 154x and 1742
- SCSI adapters, while "kcopy_bt.flp" supports the Bustek
+ "kcopy-ah-floppy" image supports the Adaptec 154x and 1742
+ SCSI adapters, while "kcopy-bt-floppy" supports the Bustek
742 and Ultrastore SCSI adapters. For systems with only
MFM, RLL, ESDI or IDE disk controllers, either image can
be used.
Installation floppies
- In addition to a bootable floppy, currently two additional
- disks are required to prepare your hard drive for FreeBSD
- and to install the FreeBSD distribution. Like the boot
+ In addition to a bootable floppy, two additional floppies are
+ required to prepare your hard drive for FreeBSD and to install
+ the FreeBSD base distribution. Like the boot
floppies, these are distributed as binary images. They are
- are referred to below as the "filesyst.flp" and the
- "cpio.flp".
+ are referred to below as the "filesystem-floppy" and the
+ "cpio-floppy".
There is also an optional fourth installation disk referred
to as the "dos-floppy". Unlike the other install disks,
@@ -48,14 +54,6 @@ Installation floppies
programs have been put in a tools directory at FreeBSD
archives sites.
-Upgrade floppies
-
- These facilitate upgrading to FreeBSD from any previous
- patch-kit level of 386BSD 0.1. They are still in testing,
- but should be available by the time you read this from
- the tools/upgrade directory at FreeBSD archive sites.
- [the current version is:
- tools/upgrade/386BSD-to-FreeBSD-update-LATE-BETA.tar.gz]
FreeBSD distribution sets
@@ -67,14 +65,14 @@ FreeBSD distribution sets
The binary distribution set can be found in the "bindist"
subdirectory of the FreeBSD archive sites. It consists
- of files named bin_tgz.aa to bin_tgz.ce (i.e., 57 files
+ of files named bin_tgz.aa to bin_tgz.cm (i.e., 65 files
all told). A CKSUMS file (* see note below) is included
for verifying the integrity of these.
- The source distribution sets can be found in the
+ The source distribution sets can be found in under
"srcdist" subdirectory of archive sites. It is consists
- of files named base.aa to usrsbin.ae (i.e., 86 files
- all told), plus the file CKSUMS*.
+ of files named for each logical group of src files (split into
+ "catagories"), plus the CKSUMS file.
Finally, the security distribution set contains
usr/src/libcrypt/*, the source files for the DES encryption
@@ -82,6 +80,16 @@ FreeBSD distribution sets
be found in the "secrdist" subdirectory on sites which
choose to carry the complete FreeBSD distribution.
+ NOTE: Individuals who are not in the U.S.A. but who still want
+ to use encryption without violating U.S. export laws should read
+ the FreeBSD FAQ entry regarding foreign distribution of independently
+ developed encryption technology. Look in:
+
+ /usr/src/contrib/FAQ
+
+ Or, on the net, freebsd.cdrom.com:~ftp/pub/FreeBSD/FAQ
+
+
The individual files in each collection are no more than
235 Kbytes in size. (The last file is just long enough
to contain the rest of the data for that distribution
@@ -94,14 +102,10 @@ FreeBSD distribution sets
cat bin* | gunzip | tar tvf - | more
- or to extract the files themselves:
-
- cat bin* | gunzip | tar xvfp -
-
- Using this method, the files are extracted in the current
- directory. So to install the binary distribution, for
- instance, you have to run the "tar xvfp" from the root
- directory (/).
+ You should NOT extract the distribution directly, but rather
+ use the `extract' command available at installation time.
+ This command performs special-case handling to avoid possible
+ problems in extracting a release on a new system.
In each of the distribution directories, there is a file
named "CKSUMS" which contains the checksums of the files
@@ -121,68 +125,22 @@ FreeBSD distribution sets
System Requirements and Supported Devices:
------ ------------ --- --------- -------
-FreeBSD runs on ISA (AT-Bus) and EISA systems, with 386 and 486
-processors, with or without math coprocessors. It does NOT support
-Micro-channel systems, such as some IBM PS/2 systems. The minimal
-configuration includes 4Meg of RAM, and an 80Meg hard disk, but to
-install the entire system you'll need much more disk space, and to run
-X or compile the system more RAM is recommended. (4Meg will actually
-allow you to run X and/or compile, but it's extremely slow.)
-
-Supported devices include:
-
- Standard floppy controllers
-
- Standard hard disk controllers:
- MFM
- ESDI
- IDE
- RLL
-
- SCSI hard disk controllers:
- Adaptec 154x series * [kcopy_ah.flp]
- Adaptec 174x series
- Buslogic 545S
- Bustek 742 (EISA) [kcopy_bt.flp]
- DTC 3290 in 1542 emulation mode *
- Ultrastor 14f and 34f
-
- * Your system can NOT have more than 16MB of memory with
- these controllers.
-
- Display Adaptors:
- MDA
- CGA
- VGA (and SVGA)
- HGC
-
- Serial communications ports
- 8250
- 16450
- 16550A
- [4-port multi-serial cards - require kernel built
- with MULTI_PORT option]
- [We do not support the Intel 82501 serial chip used
- in some PC's at this time]
-
- Ethernet controllers
- SMC/WD 8003, 8013, and equivalents
- (including the SMC "Elite" series)
- Novell NE1000, NE2000, NE2100
- 3COM 3c503
- ISOLAN ISOLink
-
- Tape drives:
- QIC-02 format tape drives
- most SCSI tape/DAT drives
- [an early QIC-40 or QIC-80 tape driver exists,
- but is not yet incorporated into FreeBSD]
-
- CD-ROM drives:
- Mitsumi CDROM drive with Mitsumi Controller
- Most SCSI CD-ROM drives on a supported SCSI controller
-
-To be detected by the distributed kernels, the devices must
+FreeBSD runs on ISA (AT-Bus), EISA and some PCI systems with 386, 486 and
+Pentium processors. A math coprocessor is recommended but not essential.
+It does NOT support Micro-channel systems, such as some IBM PS/2 systems.
+The minimal configuration should include 4Meg of RAM and an 80Meg hard disk,
+but to install the entire system (with sources) you'll need much more disk
+space, and to run X or compile programs on the system, more RAM is recommended.
+(4Meg will actually allow you to run X and/or compile, but it's extremely slow).
+
+For a complete list of supported cards and peripherals, please see the
+file RELNOTES.FreeBSD. It should be installed in the root directory
+of your newly installed system, or can be fetched off the net from:
+
+ freebsd.cdrom.com:~ftp/pub/FreeBSD/RELNOTES
+
+
+To be detected by the distributed kernels, certain devices must
be configured as follows: (Note: IRQ 9 is the same as IRQ 2
on ISA/EISA based machines)
@@ -193,15 +151,15 @@ Floppy Cntlr. fd0 0x3f0 6 2
Std. Hard Disk Cntlr.
wd0 0x1f0 14
-AHA-154x SCSI Cntlr. 0x330 11 5 [kcopy_ah.flp]
+AHA-154x SCSI Cntlr. 0x330 11 5 [kcopy-ah-floppy]
-AHA-174x SCSI Cntlr. automatically configured [kcopy_ah.flp]
+AHA-174x SCSI Cntlr. automatically configured [kcopy-ah-floppy]
-BT742 SCSI Cntlr. 0x330 12 [kcopy_bt.flp]
+BT742 SCSI Cntlr. 0x330 12 [kcopy-bt-floppy]
UHA-14f SCSI Cntlr. or
-UHA-34f SCSI Cntlr. 0x330 14 5 [kcopy_bt.flp]
-(In FreeBSD 1.0 GAMMA and before, UHA was on IRQ 11)
+UHA-34f SCSI Cntlr. 0x330 14 5 [kcopy-bt-floppy]
+(In FreeBSD GAMMA and before, UHA was on IRQ 11)
SCSI Disks sd[0-2] automatically configured
@@ -214,6 +172,8 @@ Serial Ports com0 0x3f8 4
com2 0x3e8 5
com3 0x3f8 9
+Mitsumi CDROM 0x300 5 1 [kcopy-ah-floppy]
+
SMC/WD Ethernet or
3COM 3c503 ed0 0x280 5 iomem 0xd8000
@@ -242,6 +202,7 @@ Interruptless Parallel (Printer) Port
N.B.: Disable the lpt interrupt on the board or you will
have problems using the lpa drivers.
+
Hard-Disk Storage Requirements
--------- ------- ------------
@@ -251,9 +212,9 @@ the three installation disks, which don't support a multi-user
shell.
The full binary distribution extracts to about 46 MB.
-The full source distribution extracts to about 86 MB.
+The full source distribution extracts to about 72 MB.
The kernel source only extracts to about 7 MB.
-To recompile the sources requires an additional 50 MB.
+To recompile the sources requires an additional 55 MB.
To recompile the kernel requires an additional 2 MB.
Since additional room is required for extracting the distributions,
@@ -278,31 +239,31 @@ Installation is supported from several media types, including:
Kermit
No matter what you do, however, you'll need at least three disks (1.2M
-or 1.44M) handy, on which you will put the kernel copy image and the
+or 1.44M) handy, on which you will put the kernel-copy image and the
install (or upgrade) floppy images.
The images are available from the directory "floppies", under the root
-of the FreeBSD/FreeBSD-1.1 tree at your favorite archive site.
+of the FreeBSD/FreeBSD-1.1.5 tree at your favorite archive site.
They're available both as raw disk images, and gzipped, to save time
downloading.
If you are using an AHA-154x or AHA-1742 SCSI host adapter, you need
-the kcopy_ah.flp image. If you're using a BT-742 SCSI host adapter
-or an Ultrastor adaptor, then you'll need the kcopy_bt.flp image.
+the kcopy-ah-floppy image. If you're using a BT-742 SCSI host adapter
+or an Ultrastor adaptor, then you'll need the kcopy-bt-floppy image.
If you're using MFM/RLL/IDE disk controllers, you can use either
-kernel copy floppy image.
+kernel-copy floppy image.
If you are using UNIX to make the floppies, you should use the command
-dd(1) to write the raw floppy images (i.e., kcopy_ah.flp or
-kcopy_bt.flp, filesyst.flp and cpio.flp) to the floppies.
-For example, to write kcopy_ah.flp to a 5.25" 1.2 Mb floppy
+dd(1) to write the raw floppy images (i.e., kcopy-ah-floppy or
+kcopy-bt-floppy, filesystem-floppy and cpio-floppy) to the floppies.
+For example, to write kcopy-ah-floppy to a 5.25" 1.2 Mb floppy
disk under 386BSD, use:
- $ dd if=kcopy_ah.flp of=/dev/fd0a bs=30b count=80
+ $ dd if=kcopy-ah-floppy of=/dev/fd0a bs=30b count=80
or for a 3.5" 1.44 Mb floppy:
- $ dd if=kcopy_ah.flp of=/dev/fd0a bs=36b count=80
+ $ dd if=kcopy-ah-floppy of=/dev/fd0a bs=36b count=80
If you are using DOS to make the floppies, use the rawrite.exe
utility. This can be found in the "tools" subdirectory of the
@@ -513,7 +474,7 @@ The following is a walk-through of the steps necessary to get FreeBSD
installed on your hard disk. If you wish to stop the installation, you
may hit Control-C at any prompt and then type `halt'.
- Boot from the kcopy_ah or kcopy_bt floppy, depending on
+ Boot from the kcopy-ah or kcopy-bt floppy, depending on
your hard disk controller type.
When prompted to insert the filesystem floppy, remove the
@@ -630,7 +591,7 @@ may hit Control-C at any prompt and then type `halt'.
Read the message and note which partition (e.g., sd0a or wd0a)
you need to copy a kernel to. Reboot the machine off the
- kcopy_xx.flp disk, but this time at the prompt asking
+ kcopy-xx-floppy disk, but this time at the prompt asking
you to insert a file system floppy, do _not_ replace the
floppy, just press <enter>.
@@ -653,7 +614,7 @@ may hit Control-C at any prompt and then type `halt'.
Once again, this stage can take up to two minutes, so DO NOT
PANIC!
- You will be asked to insert the cpio.flp into a floppy
+ You will be asked to insert the cpio-floppy into a floppy
drive, and enter that drive's number. "0" corresponds to
DOS's "A:" drive, "1" corresponds to DOS's "B:" drive.
@@ -668,7 +629,7 @@ may hit Control-C at any prompt and then type `halt'.
binary. Or if you are using SCSI tape, the dos-floppy should
contain the st command.
- To load the dos-floppy, remove the cpio.flp from the
+ To load the dos-floppy, remove the cpio-floppy from the
drive, insert the dos-floppy and enter a "yes" response
at the prompt. Otherwise, enter "no" at the prompt.
@@ -681,7 +642,8 @@ may hit Control-C at any prompt and then type `halt'.
CONGRATULATIONS: You now have the minimum base of FreeBSD
files on your hard disk! Now you get to install the
distribution file sets. Remember that, at minimum, you must
- install the bin_tgz.xx file set (see below for instructions).
+ install the bin.tar.gz.xx file set (see below for
+ instructions).
After the machine is done booting, you will be presented
with a screenful of information about what to do next.
@@ -772,7 +734,7 @@ may hit Control-C at any prompt and then type `halt'.
To install via FTP or NFS:
First you must decide on a temporary directory to hold
- the <set>.xx files. The directory /usr/distrib
+ the <set>.tar.gz.xx files. The directory /usr/distrib
is suggested. You should cd to it, if necessary do
a mkdir first. Use set_tmp_dir to identify this
directory to the install process.
@@ -854,7 +816,7 @@ may hit Control-C at any prompt and then type `halt'.
To install via Kermit:
First you must decide on a temporary directory to hold
- the <set>.xx files. The directory /usr/distrib
+ the <set>.tar.gz.xx files. The directory /usr/distrib
is suggested. You should cd to it, if necessary do
a mkdir first. Use set_tmp_dir to identify this
directory to the install process.
@@ -930,20 +892,26 @@ may hit Control-C at any prompt and then type `halt'.
Further Tips on Installing FreeBSD
------- ---- -- ---------- -------
- You might wish to install the bindist first, get that
+ You might wish to install the binarydist first, get that
working, and then at a later point in time have a go at
- installing the sourcedist.
+ installing the sourcedist. BEFORE YOU REBOOT AFTER INSTALLING
+ THE BINARYDIS, you must preserve the commands that do the
+ extracting. They are kept in the single-user-mode .profile
+ file called /.profile. Proceed like this:
+
+ mv /.profile /.profile.install
+ ln /root/.profile /.profile
When you are ready to install the sourcedist at some time
in the future, get into multi-user mode (i.e., the normal
- means of running FreeBSD) and issue this command:
+ means of running FreeBSD) and issue these commands:
+ cp /.profile.install /.profile
shutdown now
- This will cause the system to go into single-user mode. To
- get the install commands active again issue this command:
-
- . /magic
+ This will cause the system to go into single-user mode, and
+ the install profile will be active (i.e., you will find the
+ commands load_dos, extract etc available to you again).
If your disk has several operating systems, you may want
to install a boot manager such as Thomas Wolfram's os-bs
@@ -1040,4 +1008,4 @@ THANKS FOR USING THIS; that's what makes it all worthwhile.
as they will end up in our personal mail spools. We will be
happy to make other arrangements]
-This is $Id: install_notes,v 1.13.2.2 1994/05/05 09:08:55 rgrimes Exp $
+This is $Id: README.INSTALL,v 1.1 1994/06/28 09:01:55 jkh Exp $
diff --git a/etc/etc.i386/cdinst1.install b/etc/etc.i386/cdinst1.install
index f60f833f4e05..bb8380ed5063 100644
--- a/etc/etc.i386/cdinst1.install
+++ b/etc/etc.i386/cdinst1.install
@@ -1,7 +1,7 @@
#!/bin/sh
# cd install floppy disk /install script
#
-# $Id: cdinst1.install,v 1.1.2.3 1994/05/05 04:11:20 rgrimes Exp $
+# $Id: cdinst1.install,v 1.6 1994/06/29 06:46:01 rgrimes Exp $
# ${OPSYSTEM}, the mounting of the cdrom drive, and the path are all
# setup by .profile
@@ -432,7 +432,7 @@ sync
verified_install=""
while [ ! "$verified_install" ]; do # Begin of Big Loop
-rotdelay=""
+rotdelay="-d 0 -n 1"
drivename=wd0
drivetype=wd
sect_fwd=""
@@ -459,13 +459,11 @@ e*|E*|st*|ST*)
;;
i*|I*)
type=ST506
- rotdelay="-d 0"
;;
sc*|SC*)
drivename=sd0
drivetype=sd
type=SCSI
- rotdelay="-d 0"
DEFSECT=32
DEFHEAD=64
;;
@@ -474,6 +472,11 @@ sc*|SC*)
type=ST506
;;
esac
+echo -n "Install onto which drive [$drivename] "
+read resp junk
+drivename=${resp:-${drivename}}
+echo
+echo "Disk $drivename is of device type $drivetype."
if [ ! "$partition" ]; then
echo
echo "Please wait. Examining device /dev/r${drivename}d..."
@@ -859,7 +862,7 @@ if [ "$sect_fwd" = "sf:" ]; then
bad_read=$(expr "$data" : '[^(]*(read)[^0-9]*\([0-9]*\)')
[ "$bad_seek" -o "$bad_read" ] && echo -n "$bad_seek $bad_read "
done)
- [ "$badlist" ] && bad144 -a -c $drivename "$badlist"
+ [ "$badlist" ] && bad144 -a -c $drivename $badlist
echo " done."
fi
@@ -991,7 +994,7 @@ n*)
echo -n "What is the netmask? [0xffffff00] "
read resp
if [ "$resp" = "" ]; then
- ifnetmask="netmask 0xffffff00"
+ ifnetmask="netmask 0xffffff00
else
ifnetmask="netmask $resp"
fi
diff --git a/etc/etc.i386/cpio.magic b/etc/etc.i386/cpio.magic
index d3a8e028533b..a4353d943dbc 100644
--- a/etc/etc.i386/cpio.magic
+++ b/etc/etc.i386/cpio.magic
@@ -1,5 +1,5 @@
#!bin/sh
-# $Id: cpio.magic,v 1.2.2.4 1994/05/01 20:53:40 rgrimes Exp $
+# $Id: cpio.magic,v 1.13 1994/06/29 20:29:12 jkh Exp $
#
set_tmp_dir()
{
@@ -104,7 +104,7 @@ load_fd()
echo;
if [ "$drive" != "C" ]; then
echo "Insert floppy in drive $drive:, then press RETURN to copy files,"
- echo -n "or enter option (? for help): "
+ echo -n "or enter option (? for help): "
else
echo -n "Press RETURN to copy files, or enter option (? for help): "
fi
@@ -219,14 +219,14 @@ load_qic_tape()
tmp_dir
echo -n "Insert tape into QIC tape drive and hit return to continue: "
read foo
- tar xvf /dev/rwt0
+ tar --unlink -xvf /dev/rwt0
}
load_scsi_tape()
{
tmp_dir
echo -n "Insert tape into SCSI tape drive and hit return to continue: "
read foo
- tar xvf /dev/nrst0
+ tar --unlink -xvf /dev/nrst0
}
extract()
{
@@ -242,12 +242,7 @@ extract()
tarverbose=
;;
esac
- #XXX ugly hack to eliminate busy files, copy them to /tmp and use them
- #from there... even uglier.. we CAN NOT LOAD libc.so.1.0 from the tar
- #balls or it spams tar!!
- cp -p /bin/cat /usr/bin/gunzip /usr/bin/tar /tmp
-
- #XXX more ugly hacks to get around busy text files/symlink problems.
+ #XXX ugly hacks to get around busy text files/symlink problems.
if [ X"$1" = X"bin" ]; then
rm -f /bin/sh.$$ /sbin/init.$$ /etc/termcap.$$
mv /bin/sh /bin/sh.$$
@@ -259,11 +254,10 @@ extract()
mv /sbin/init /sbin/init.$$
fi
for i in $*; do
- /tmp/cat "$i"* |
- /tmp/gunzip |
- (cd / ; /tmp/tar --extract --file - --preserve-permissions --exclude libc.so.1.0 ${tarverbose} )
+ cat "$i"* |
+ gunzip |
+ (cd / ; tar --unlink --extract --file - --preserve-permissions ${tarverbose} )
done
- rm -f /tmp/cat /tmp/gunzip /tmp/tar
sync
[ X"$1" = X"bin" ] && echo "Run \`configure' to complete installation."
echo "(wd is now: `pwd`)"
@@ -359,6 +353,32 @@ configure()
;;
esac
+ echo
+ echo "Setting up access to a nameserver:"
+ echo -n "Do you want to configure /etc/resolv.conf? [n]: "
+ read resp
+ case "$resp" in
+ y*)
+ echo "OK: Configuring your /etc/resolv.conf"
+ echo "If you need more information about resolv.conf"
+ echo "type \"man 5 resolver\" once you have COMPLETED"
+ echo "installation of the binary distribution."
+ echo ""
+
+ nameserver=
+ while [ "$nameserver" = "" ]; do
+ echo -n "Enter the IP number of your nameserver: "
+ read nameserver
+ done
+
+ echo "nameserver $nameserver" > /etc/resolv.conf
+
+ echo " "
+ ;;
+ *)
+ ;;
+ esac
+
sync
echo
diff --git a/etc/etc.i386/cpio.rc b/etc/etc.i386/cpio.rc
index b7832ef7d339..5ef92dc31760 100644
--- a/etc/etc.i386/cpio.rc
+++ b/etc/etc.i386/cpio.rc
@@ -1,4 +1,4 @@
-# $Id: cpio.rc,v 1.1.2.1 1994/03/06 08:44:08 rgrimes Exp $
+# $Id: cpio.rc,v 1.4 1994/06/04 12:00:51 jkh Exp $
#
stty status '^T'
@@ -56,11 +56,20 @@ rm -f /fastboot
(cd /var/run && { rm -rf -- *; cp /dev/null utmp; chmod 644 utmp; })
OPSYSTEM=FreeBSD
-RELEASE="1.1"
+RELEASE="1.1.5"
+NVTTYS="4"
echo "${OPSYSTEM} Base System Release ${RELEASE}"
echo ""
echo "Congratulations, you've got ${OPSYSTEM} on the hard disk!"
echo
+echo "Your system has been configured with ${NVTTYS} virtual terminals,"
+echo "though one has been reserved for X (should you need it) and has no"
+echo "login prompt on it. Once you've loaded the binary distribution and"
+echo "have rebooted the system, you can access these virtual terminals by"
+echo "pressing ALT-F<n>, where n is the function key number representing"
+echo "the virtual terminal you want to use. For more information, read"
+echo "the screen(4), kbdcontrol(1) and vidcontrol(1) man pages."
+echo
echo "Press the return key for more installation instructions"
read junkit
echo
diff --git a/etc/etc.i386/inst1.install b/etc/etc.i386/inst1.install
index d6fce87bc433..e3941174fb9e 100755
--- a/etc/etc.i386/inst1.install
+++ b/etc/etc.i386/inst1.install
@@ -9,7 +9,7 @@ export PATH
OPSYSTEM=FreeBSD
OPSYSID=165
-ROOTMIN=7
+ROOTMIN=8
SWAPMIN=8
USRMIN=7
DISKMIN=`expr $ROOTMIN + $SWAPMIN + 1`
@@ -438,7 +438,7 @@ sync
verified_install=""
while [ ! "$verified_install" ]; do # Begin of Big Loop
-rotdelay=""
+rotdelay="-d 0 -n 1"
drivename=wd0
drivetype=wd
sect_fwd=""
@@ -465,13 +465,11 @@ e*|E*|st*|ST*)
;;
i*|I*)
type=ST506
- rotdelay="-d 0"
;;
sc*|SC*)
drivename=sd0
drivetype=sd
type=SCSI
- rotdelay="-d 0"
DEFSECT=32
DEFHEAD=64
;;
@@ -481,7 +479,11 @@ sc*|SC*)
;;
esac
echo
-echo "Disk is of device type $drivetype."
+echo -n "Install onto which drive [$drivename] "
+read resp junk
+drivename=${resp:-${drivename}}
+echo
+echo "Disk $drivename is of device type $drivetype."
if [ ! "$partition" ]; then
echo
echo "Examining device /dev/r${drivename}d..."
@@ -878,7 +880,7 @@ if [ "$sect_fwd" = "sf:" ]; then
bad_read=$(expr "$data" : '[^(]*(read)[^0-9]*\([0-9]*\)')
[ "$bad_seek" -o "$bad_read" ] && echo -n "$bad_seek $bad_read "
done)
- [ "$badlist" ] && bad144 -a -c $drivename "$badlist"
+ [ "$badlist" ] && bad144 -a -c $drivename $badlist
echo " done."
fi
diff --git a/etc/etc.i386/inst2.rc b/etc/etc.i386/inst2.rc
index c64ebfd30d27..acb3f1c6eee9 100644
--- a/etc/etc.i386/inst2.rc
+++ b/etc/etc.i386/inst2.rc
@@ -1,4 +1,4 @@
-# $Id: inst2.rc,v 1.1.2.2 1994/03/18 03:11:06 rgrimes Exp $
+# $Id: inst2.rc,v 1.4 1994/06/15 19:23:33 jkh Exp $
#
stty status '^T'
@@ -59,7 +59,7 @@ rm -f /fastboot
(cd /var/run && { rm -rf -- *; cp /dev/null utmp; chmod 644 utmp; })
OPSYSTEM=FreeBSD
-RELEASE="1.1"
+RELEASE="1.1.5"
echo "${OPSYSTEM} Base System Release ${RELEASE}"
echo ""
echo "Congratulations, you've got ${OPSYSTEM} on the hard disk!"
diff --git a/etc/group b/etc/group
index 5c38d3667727..2bd4805a19fa 100644
--- a/etc/group
+++ b/etc/group
@@ -11,6 +11,7 @@ games:*:13:
staff:*:20:root
guest:*:31:root
nobody:*:39:
+uucp:*:66:
ingres:*:74:ingres
dialer:*:117:
nogroup:*:32766:
diff --git a/etc/hosts b/etc/hosts
index 08645ce9b767..6528805a96f4 100644
--- a/etc/hosts
+++ b/etc/hosts
@@ -1,4 +1,4 @@
-# $Id: hosts,v 1.2 1993/11/11 22:32:36 wollman Exp $
+# $Id: hosts,v 1.4 1994/06/24 23:50:16 wollman Exp $
#
# Host Database
# This file should contain the addresses and aliases
@@ -10,10 +10,18 @@
127.0.0.1 localhost localhost.my.domain
#
# Imaginary network.
-#0.2 myname.my.domain myname
-#0.3 myfriend.my.domain myfriend
+#10.0.0.2 myname.my.domain myname
+#10.0.0.3 myfriend.my.domain myfriend
#
-# NB: 0 is not a valid network number. PLEASE PLEASE PLEASE do not try
+# According to RFC 1597, you can use the following IP networks for
+# private nets which will never be connected to the Internet:
+#
+# 10.0.0.0 - 10.255.255.255
+# 172.16.0.0 - 172.31.255.255
+# 192.168.0.0 - 192.168.255.255
+#
+# In case you want to be able to connect to the Internet, you need
+# real official assigned numbers. PLEASE PLEASE PLEASE do not try
# to invent your own network numbers but instead get one from your
# network provider (if any) or from the Internet Registry (ftp to
# rs.internic.net, directory `/templates').
diff --git a/etc/inetd.conf b/etc/inetd.conf
index 12bad1601099..127fe26017c6 100644
--- a/etc/inetd.conf
+++ b/etc/inetd.conf
@@ -30,12 +30,12 @@ klogin stream tcp nowait root /usr/libexec/rlogind rlogind -k
eklogin stream tcp nowait root /usr/libexec/rlogind rlogind -k -x
kshell stream tcp nowait root /usr/libexec/rshd rshd -k
# Services run ONLY on the Kerberos server
+# Neither of these work in FreeBSD 1.x.
#krbupdate stream tcp nowait root /usr/libexec/registerd registerd
#kpasswd stream tcp nowait root /usr/libexec/kpasswdd kpasswdd
#
# RPC based services
# You MUST have portmapper running to use these!
-#mountd/1 dgram rpc/udp wait root /sbin/mountd mountd
#rstatd/1-3 dgram rpc/udp wait root /usr/libexec/rpc.rstatd rpc.rstatd
#rusersd/1-2 dgram rpc/udp wait root /usr/libexec/rpc.rusersd rpc.rusersd
#walld/1 dgram rpc/udp wait root /usr/libexec/rpc.rwalld rpc.rwalld
diff --git a/etc/kerberosIV/README b/etc/kerberosIV/README
new file mode 100644
index 000000000000..1482e99cd1df
--- /dev/null
+++ b/etc/kerberosIV/README
@@ -0,0 +1,35 @@
+# @(#)README 5.1 (Berkeley) 6/30/90
+
+Notes about the contents of the /etc/kerberosIV directory:
+
+The file master_key contains a copy of the master key under which the
+entire Kerberos database is encrypted. Disclosing this key would be bad
+news. The reason it is stored in the filesystem is because the following
+programs need to inspect or modify the kereros database, and so the key
+must be available for them, (or else it would have to be typed in by
+hand):
+ - kerberos (the server itself)
+ - registerd (for new user registration)
+ - kpasswdd (for changing passwords)
+
+The srvtab file contains the encryption keys for each service on the local
+host. Any host offering network services would have a key here, although
+many such files can be used.
+
+The principal.* files comprise the Kerberos database itself, and contain
+keys for all principles, and should not be world-readable.
+
+The kerberos.conf file contains the configuration for this machine:
+ - which realm I'm in
+ - which servers I should talk to for this realm
+
+The kerberos.realms file contains the name of Kerberos servers for
+various (sub)domains.
+
+Kerberos log information it placed in /var/log/kerberos.log
+(see rc.local to change it)
+
+The register_keys directory contains a set of files (all of which begin
+with "."), each of which contains a des key used for registering new users
+with the system. It is used only by the "registerd" program, and only on
+a Kerberos server host.
diff --git a/etc/kerberosIV/krb.conf b/etc/kerberosIV/krb.conf
new file mode 100644
index 000000000000..11ac1ac78b01
--- /dev/null
+++ b/etc/kerberosIV/krb.conf
@@ -0,0 +1,9 @@
+CS.BERKELEY.EDU
+CS.BERKELEY.EDU okeeffe.berkeley.edu
+ATHENA.MIT.EDU kerberos.mit.edu
+ATHENA.MIT.EDU kerberos-1.mit.edu
+ATHENA.MIT.EDU kerberos-2.mit.edu
+ATHENA.MIT.EDU kerberos-3.mit.edu
+LCS.MIT.EDU kerberos.lcs.mit.edu
+TELECOM.MIT.EDU bitsy.mit.edu
+ARC.NASA.GOV trident.arc.nasa.gov
diff --git a/etc/kerberosIV/krb.realms b/etc/kerberosIV/krb.realms
new file mode 100644
index 000000000000..1f1bec58ae95
--- /dev/null
+++ b/etc/kerberosIV/krb.realms
@@ -0,0 +1,3 @@
+.berkeley.edu CS.BERKELEY.EDU
+.MIT.EDU ATHENA.MIT.EDU
+.mit.edu ATHENA.MIT.EDU
diff --git a/etc/login.access b/etc/login.access
new file mode 100644
index 000000000000..5cf54541463d
--- /dev/null
+++ b/etc/login.access
@@ -0,0 +1,44 @@
+# Login access control table.
+#
+# When someone logs in, the table is scanned for the first entry that
+# matches the (user, host) combination, or, in case of non-networked
+# logins, the first entry that matches the (user, tty) combination. The
+# permissions field of that table entry determines whether the login will
+# be accepted or refused.
+#
+# Format of the login access control table is three fields separated by a
+# ":" character:
+#
+# permission : users : origins
+#
+# The first field should be a "+" (access granted) or "-" (access denied)
+# character. The second field should be a list of one or more login names,
+# group names, or ALL (always matches). The third field should be a list
+# of one or more tty names (for non-networked logins), host names, domain
+# names (begin with "."), host addresses, internet network numbers (end
+# with "."), ALL (always matches) or LOCAL (matches any string that does
+# not contain a "." character). If you run NIS you can use @netgroupname
+# in host or user patterns.
+#
+# The EXCEPT operator makes it possible to write very compact rules.
+#
+# The group file is searched only when a name does not match that of the
+# logged-in user. Only groups are matched in which users are explicitly
+# listed: the program does not look at a user's primary group id value.
+#
+##############################################################################
+#
+# Disallow console logins to all but a few accounts.
+#
+#-:ALL EXCEPT wheel shutdown sync:console
+#
+# Disallow non-local logins to privileged accounts (group wheel).
+#
+#-:wheel:ALL EXCEPT LOCAL .win.tue.nl
+#
+# Some accounts are not allowed to login from anywhere:
+#
+#-:wsbscaro wsbsecr wsbspac wsbsym wscosor wstaiwde:ALL
+#
+# All other accounts are allowed to login from anywhere.
+#
diff --git a/etc/make.conf b/etc/make.conf
new file mode 100644
index 000000000000..da2c51abf17d
--- /dev/null
+++ b/etc/make.conf
@@ -0,0 +1,71 @@
+# $Id: make.conf,v 1.8 1994/06/16 17:13:53 ache Exp $
+#
+# This file, if present, will be read by make (see /usr/share/mk/sys.mk)
+# It allows you to override macro definitions to make, without changing
+# in your source tree, or anything the source tree installs.
+#
+# You have to find the things you can put here in the Makefiles and
+# documentation of the source tree.
+#
+# This file must have a syntax as a Makefile.
+#
+# One, and probably the most common, use could be:
+#
+#CFLAGS= -O -m486 -pipe
+# A lot of people report that -O2 works fine, but there are known
+# bugs in gcc. -pipe will almost always speed up compilation.
+#
+#
+# Another useful entry could be:
+#
+#NOPROFILE= no_way
+# Avoid compiling profiled libraries
+#
+#
+# To compile and install the Sun libm instead of the default use:
+#
+#WANT_MSUN= yes
+#
+#
+# If you have a FPU (i387, i486DX, Pentium), you can make
+# the Sun libm use the FPU:
+#
+#HAVE_FPU= yes
+#
+#
+# If you do not want unformatted manual pages to be compressed
+# when they are installed:
+#
+#NOMANCOMPRESS= no_way
+#
+#
+# Default format for system documentation, depends on your printer.
+# Set this to "ascii" for simple printers or screen
+#
+#PRINTER= ps
+#
+#
+# How many times to check if a key has been pressed before giving up and
+# booting the default kernel. 0 actually means check once, but saves the
+# loop overhead.
+#
+#BOOTWAIT=0
+#BOOTWAIT=640000
+#
+#
+# Allow 'cc' to generate all FPU codes. Do not use this if you intend to
+# generate code to run on machines with broken FPU emulator. Beware, this
+# is a compile-time static option to 'cc'.
+#
+#CCFPU= yes
+#
+#
+# If you use national 8-bit charset and your charset description is
+# installed into /usr/share/locale (see setlocale(3)), you can
+# automatically setup all ctype-oriented application to understand
+# your charset properly by two things:
+# 1) uncomment following option
+# 2) set environment variable "LANG" to your charset name
+#
+#STARTUP_LOCALE= yes
+#
diff --git a/etc/master.passwd b/etc/master.passwd
index f4c94367502c..6ebb2fe02b3e 100644
--- a/etc/master.passwd
+++ b/etc/master.passwd
@@ -5,7 +5,7 @@ operator:*:2:20::0:0:System &:/usr/guest/operator:/bin/csh
bin:*:3:7::0:0:Binaries Commands and Source,,,:/:/nonexistent
games:*:7:13::0:0:Games pseudo-user:/usr/games:
man:*:9:9::0:0:Mister Man Pages:/usr/share/man:
-uucp:*:66:1::0:0:UUCP pseudo-user:/var/spool/uucppublic:/usr/libexec/uucp/uucico
+uucp:*:66:66::0:0:UUCP pseudo-user:/var/spool/uucppublic:/usr/libexec/uucp/uucico
ingres:*:267:74::0:0:& Group:/usr/ingres:/bin/csh
falcon:*:32766:31::0:0:Prof. Steven &:/usr/games:/usr/games/wargames
nobody:*:32767:9999::0:0:Unprivileged user:/nonexistent:/nonexistent
diff --git a/etc/minfree b/etc/minfree
new file mode 100644
index 000000000000..c873496a2275
--- /dev/null
+++ b/etc/minfree
@@ -0,0 +1 @@
+2048
diff --git a/etc/mtree/BSD.local.dist b/etc/mtree/BSD.local.dist
index 9ff8a52c4b2d..cec50217217d 100644
--- a/etc/mtree/BSD.local.dist
+++ b/etc/mtree/BSD.local.dist
@@ -1,4 +1,4 @@
-# $Id: BSD.local.dist,v 1.4 1994/02/22 05:43:07 rgrimes Exp $
+# $Id: BSD.local.dist,v 1.5 1994/05/20 22:50:36 jkh Exp $
#
/set type=file uname=bin gname=bin mode=0755
@@ -15,23 +15,23 @@ lib type=dir uname=bin gname=bin mode=0755
..
man type=dir uname=bin gname=bin mode=0755
- cat1 type=dir uname=bin gname=bin mode=0755
+ cat1 type=dir uname=man gname=bin mode=0755
..
- cat2 type=dir uname=bin gname=bin mode=0755
+ cat2 type=dir uname=man gname=bin mode=0755
..
- cat3 type=dir uname=bin gname=bin mode=0755
+ cat3 type=dir uname=man gname=bin mode=0755
..
- cat4 type=dir uname=bin gname=bin mode=0755
+ cat4 type=dir uname=man gname=bin mode=0755
..
- cat5 type=dir uname=bin gname=bin mode=0755
+ cat5 type=dir uname=man gname=bin mode=0755
..
- cat6 type=dir uname=bin gname=bin mode=0755
+ cat6 type=dir uname=man gname=bin mode=0755
..
- cat7 type=dir uname=bin gname=bin mode=0755
+ cat7 type=dir uname=man gname=bin mode=0755
..
- cat8 type=dir uname=bin gname=bin mode=0755
+ cat8 type=dir uname=man gname=bin mode=0755
..
- catl type=dir uname=bin gname=bin mode=0755
+ catl type=dir uname=man gname=bin mode=0755
..
man1 type=dir uname=bin gname=bin mode=0755
..
diff --git a/etc/mtree/BSD.root.dist b/etc/mtree/BSD.root.dist
index 5d767c825b5a..250d39f56478 100644
--- a/etc/mtree/BSD.root.dist
+++ b/etc/mtree/BSD.root.dist
@@ -1,10 +1,10 @@
-# $Id: BSD.root.dist,v 1.10 1994/02/17 03:52:28 rgrimes Exp $
+# $Id: BSD.root.dist,v 1.13 1994/06/12 16:20:36 csgr Exp $
#
# top-level files are owned by root.wheel
# (else too easy to get root by compromising these)
-/set type=file uname=root gname=wheel mode=0775
+/set type=file uname=root gname=wheel mode=0755
sys type=link size=12 link=usr/src/sys
@@ -20,7 +20,9 @@ etc type=dir
..
namedb type=dir
..
- uucp type=dir uname=root gname=wheel mode=0755
+ uucp type=dir uname=uucp gname=uucp mode=0770
+ ..
+ kerberosIV type=dir
..
..
diff --git a/etc/mtree/BSD.usr.dist b/etc/mtree/BSD.usr.dist
index 98ec625552d7..85e39bb09064 100644
--- a/etc/mtree/BSD.usr.dist
+++ b/etc/mtree/BSD.usr.dist
@@ -1,4 +1,4 @@
-# $Id: BSD.usr.dist,v 1.9.2.1 1994/04/18 03:19:42 rgrimes Exp $
+# $Id: BSD.usr.dist,v 1.15 1994/06/01 02:39:37 ache Exp $
#
/set type=file uname=bin gname=bin mode=0755
@@ -37,7 +37,7 @@ lib type=dir uname=bin gname=bin mode=0755
libexec type=dir uname=bin gname=bin mode=0755
lpr type=dir uname=bin gname=bin mode=0755
..
- uucp type=dir uname=bin gname=bin mode=0755
+ uucp type=dir uname=bin gname=bin mode=0755
..
..
diff --git a/etc/mtree/BSD.var.dist b/etc/mtree/BSD.var.dist
index 1646c9da0716..72b1a69a078c 100644
--- a/etc/mtree/BSD.var.dist
+++ b/etc/mtree/BSD.var.dist
@@ -1,4 +1,4 @@
-# $Id: BSD.var.dist,v 1.9 1994/02/15 10:38:50 rgrimes Exp $
+# $Id: BSD.var.dist,v 1.15 1994/05/31 07:49:53 ache Exp $
#
/set type=dir uname=bin gname=bin mode=0755
@@ -36,7 +36,7 @@ rwho
..
spool
/set type=dir uname=bin gname=daemon mode=0755
- lock uname=uucp
+ lock uname=uucp gname=dialer mode=0775
..
lpd
..
@@ -44,7 +44,7 @@ spool
..
output
..
- /set type=dir uname=uucp gname=daemon mode=0755
+ /set type=dir uname=uucp gname=uucp mode=0775
uucp
.Preserve
..
@@ -57,6 +57,7 @@ spool
.Xqtdir
..
..
+ /set type=dir uname=uucp gname=uucp mode=0777
uucppublic
..
..
diff --git a/etc/netstart b/etc/netstart
index a078218a76ba..a32e3f5e1443 100644
--- a/etc/netstart
+++ b/etc/netstart
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $Id: netstart,v 1.8.2.3 1994/05/04 08:57:11 rgrimes Exp $
+# $Id: netstart,v 1.12 1994/06/17 19:29:05 jkh Exp $
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
routedflags=-q
@@ -32,6 +32,9 @@ fi
if [ -e /etc/hostname.is0 ]; then
ifconfig is0 `cat /etc/hostname.is0`
fi
+if [ -e /etc/hostname.ze0 ]; then
+ ifconfig ze0 `cat /etc/hostname.ze0`
+fi
# set the address for the loopback interface
ifconfig lo0 inet localhost
diff --git a/etc/rc b/etc/rc
index ee1b96427d73..84b3e41fc595 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: rc,v 1.19.2.2 1994/04/18 04:14:19 rgrimes Exp $
+# $Id: rc,v 1.27 1994/06/06 17:45:37 phk Exp $
# From: @(#)rc 5.27 (Berkeley) 6/5/91
# System startup script run by init on autoboot
@@ -59,6 +59,12 @@ trap "echo 'Reboot interrupted'; exit 1" 3
swapon -a
+# Check for diskless boot, and remount the root RW.
+a=`mount`
+if [ 0 != `expr "$a" : '^[^/]*:/.* on /'` ] ; then
+ mount -u -o rw /
+fi
+
umount -a >/dev/null 2>&1
mount -a -t nonfs
rm -f /fastboot # XXX (root now writeable)
@@ -69,15 +75,21 @@ rm -f /fastboot # XXX (root now writeable)
# the machine runs UTC CMOS clock). See adjkerntz(8) for details.
adjkerntz -i
+# configure serial devices
+if [ -f /etc/rc.serial ]
+then
+ sh /etc/rc.serial
+fi
+
# set hostname, turn on network
echo 'starting network'
. /etc/netstart
# clean up left-over files
rm -f /etc/nologin
-rm -f /var/spool/uucp/LCK.*
-rm -f /var/spool/uucp/STST/*
-# don't add .[a-z]* to rm, because of .adjkerntz file
+rm -f /var/spool/lock/*
+rm -f /var/spool/uucp/.Temp/*
+# don't add .[a-z]* to rm, because of .adjkerntz file name
(cd /var/run && { rm -rf -- *; cp /dev/null utmp; chmod 644 utmp; })
echo -n 'starting system logger'
@@ -156,7 +168,7 @@ fi
# If $routedflags == NO, routed isn't run.
if [ X${gated} = X"YES" -a -r /etc/gated.conf ]; then
echo -n ' gated'; gated $gatedflags
-elif [ X${routedflags} != X"NO" ]; then
+elif [ X"${routedflags}" != X"NO" ]; then
echo -n ' routed'; routed $routedflags
fi
@@ -207,6 +219,10 @@ echo '.'
mount -a -t nfs >/dev/null 2>&1 & # XXX shouldn't need background
+# if [ -x /usr/libexec/xtend ]; then
+# echo -n ' xtend'; /usr/libexec/xtend
+# fi
+
# Make shared lib searching a little faster. Leave /usr/lib first if you
# add your own entries or you may come to grief.
if [ -x /sbin/ldconfig ]; then
diff --git a/etc/rc.local b/etc/rc.local
index dbbd909a5b91..34e9ca28536c 100644
--- a/etc/rc.local
+++ b/etc/rc.local
@@ -10,7 +10,7 @@ uname -a > $T
echo "" >> $T
sed '1,/^$/d' < /etc/motd >> $T
cp $T /etc/motd
-chmod 666 /etc/motd
+chmod 644 /etc/motd
rm -f $T
echo -n 'starting local daemons:'
diff --git a/etc/rc.serial b/etc/rc.serial
new file mode 100644
index 000000000000..7f042e84e666
--- /dev/null
+++ b/etc/rc.serial
@@ -0,0 +1,91 @@
+# Change some defauls for serial devices.
+# Standard defaults are:
+# dtrwait 300
+# initial cflag from <sys/ttydefaults.h> = cread cs8 hupcl
+# initial iflag, lflag and oflag all 0
+# speed 9600
+# special chars from <sys/ttydefaults.h>
+# nothing locked
+# except for serial consoles the initial iflag, lflag and oflag are from
+# <sys/ttydefaults.h> and clocal is locked on.
+
+default() {
+ # Reset everything changed by the other functions to initial defaults.
+ for i in $*
+ do
+ comcontrol /dev/ttyd$i dtrwait 300
+ stty </dev/ttyid$i -clocal crtscts hupcl 9600 reprint ^R
+ stty </dev/ttyld$i -clocal -crtscts -hupcl 0
+ stty </dev/cuai0$i -clocal crtscts hupcl 9600 reprint ^R
+ stty </dev/cual0$i -clocal -crtscts -hupcl 0
+ done
+}
+
+maybe() {
+ # Special settings.
+ for i in $*
+ do
+ # Don't use ^R; it breaks bash's ^R when typed ahead.
+ stty </dev/ttyid$i reprint undef
+ stty </dev/cuai0$i reprint undef
+ # Lock clocal off on dialin device for security.
+ stty </dev/ttyld$i clocal
+ # Lock the speeds to use old binaries that don't support them.
+ # Any legal speed works to lock the initial speed.
+ stty </dev/ttyld$i 300
+ stty </dev/cual0$i 300
+ done
+}
+
+modem() {
+ # Modem that supports CTS and perhaps RTS handshaking.
+ for i in $*
+ do
+ comcontrol /dev/ttyd$i dtrwait 100 # may depend on modem
+ # Lock crtscts on.
+ # Speed reasonable for V42bis.
+ stty </dev/ttyid$i crtscts 57600
+ stty </dev/ttyld$i crtscts
+ stty </dev/cuai0$i crtscts 57600
+ stty </dev/cual0$i crtscts
+ done
+}
+
+mouse() {
+ # Mouse on either callin or callout port.
+ for i in $*
+ do
+ # Lock clocal on, hupcl off.
+ # Standard speed for Microsoft mouse.
+ stty </dev/ttyid$i clocal -hupcl 1200
+ stty </dev/ttyld$i clocal hupcl
+ stty </dev/cuai0$i clocal -hupcl 1200
+ stty </dev/cual0$i clocal hupcl
+ done
+}
+
+terminal() {
+ # Terminal that supports CTS and perhaps RTS handshaking
+ # with the cable or terminal arranged so that DCD is on
+ # at least while the terminal is on.
+ # Also works for bidirectional communications to another pc
+ # provided at most one side runs getty.
+ # Same as modem() except we want a faster speed and no dtrwait.
+ modem $*
+ for i in $*
+ do
+ comcontrol /dev/ttyd$i dtrwait 0
+ stty </dev/ttyid$i 115200
+ stty </dev/cuai0$i 115200
+ done
+}
+
+# Don't use anything from this file unless you have some buggy programs
+# that require it.
+#
+# Edit the functions and the examples to suit your system.
+#
+# maybe 0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v
+# mouse 2
+# modem 1
+# terminal 0
diff --git a/etc/root/dot.login b/etc/root/dot.login
index def29c181a80..dee76bb3d30a 100644
--- a/etc/root/dot.login
+++ b/etc/root/dot.login
@@ -1,6 +1,6 @@
-# $Id: dot.login,v 1.4 1994/02/21 20:36:02 rgrimes Exp $
+# $Id: dot.login,v 1.5 1994/06/15 22:58:47 jkh Exp $
#
tset -Q \?$TERM
-stty crt erase ^\?
+stty crt erase ^h
umask 2
echo "Don't login as root, use su"
diff --git a/etc/root/dot.profile b/etc/root/dot.profile
index a817750a3df0..4e80d030dfda 100644
--- a/etc/root/dot.profile
+++ b/etc/root/dot.profile
@@ -1,8 +1,8 @@
-# $Id: dot.profile,v 1.4 1994/02/21 20:36:03 rgrimes Exp $
+# $Id: dot.profile,v 1.5 1994/06/15 22:58:49 jkh Exp $
#
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin:.
-echo 'erase ^?, kill ^U, intr ^C'
-stty crt erase  kill  intr 
+echo 'erase ^h, kill ^U, intr ^C'
+stty crt erase  kill  intr 
export PATH
HOME=/root
export HOME
diff --git a/etc/services b/etc/services
index 040b814c7343..61440a190ede 100644
--- a/etc/services
+++ b/etc/services
@@ -7,7 +7,7 @@
# Updated from RFC 1340, ``Assigned Numbers'' (July 1992). Not all ports
# are included, only the more common ones.
#
-# $Id: services,v 1.5.2.1 1994/03/06 08:43:38 rgrimes Exp $
+# $Id: services,v 1.7 1994/03/02 17:58:29 wollman Exp $
# From: @(#)services 5.8 (Berkeley) 5/9/91
#
tcpmux 1/tcp # TCP port service multiplexer
diff --git a/etc/skey.access b/etc/skey.access
new file mode 100644
index 000000000000..22cdb69fe107
--- /dev/null
+++ b/etc/skey.access
@@ -0,0 +1,8 @@
+# First word says if UNIX passwords are to be permitted or denied.
+# remainder of the rule is a networknumber and mask. A rule matches a
+# host if any of its addresses satisfies:
+#
+# network = (address & mask)
+#
+#what network mask
+permit 0.0.0.0 0.0.0.0
diff --git a/etc/termcap.small b/etc/termcap.small
new file mode 100644
index 000000000000..9af048d553a3
--- /dev/null
+++ b/etc/termcap.small
@@ -0,0 +1,154 @@
+# Copyright (c) 1980, 1985, 1989 The Regents of the University of California.
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are met:
+# 1. Redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+# 2. Redistributions in binary form must reproduce the above copyright
+# notice, this list of conditions and the following disclaimer in the
+# documentation and/or other materials provided with the distribution.
+# 3. All advertising materials mentioning features or use of this software
+# must display the following acknowledgement:
+# This product includes software developed by the University of
+# California, Berkeley and its contributors.
+# 4. Neither the name of the University nor the names of its contributors
+# may be used to endorse or promote products derived from this software
+# without specific prior written permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+# ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+# SUCH DAMAGE.
+#
+# @(#)termcap.src 5.88 (Berkeley) 4/30/91
+#
+#
+# for syscons
+cons25|ansi|ansi80x25:\
+ :al=\E[L:am:bs:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:cm=\E[%i%d;%dH:co#80:\
+ :dc=\E[P:dl=\E[M:do=\E[B:bt=\E[Z:ei=:ho=\E[H:ic=\E[@:im=:li#25:\
+ :ms:nd=\E[C:pt:rs=\E[x\E[m\Ec:so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:up=\E[A:\
+ :k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:k5=\E[Q:k6=\E[R:\
+ :k7=\E[S:k8=\E[T:k9=\E[U:k0=\E[V:k10=\E[V:k11=\E[W:k12=\E[X:\
+ :kb=^h:ku=\E[A:kd=\E[B:kl=\E[D:kr=\E[C:le=^H:eo:sf=\E[S:sr=\E[T:\
+ :IC=\E[%d@:DC=\E[%dP:SF=\E[%dS:SR=\E[%dT:AL=\E[%dL:DL=\E[%dM:\
+ :DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
+ :mb=\E[5m:md=\E[1m:me=\E[m:
+cons50|ansil|ansi80x50:\
+ :li#50:tc=cons25:
+dosansi|ANSI.SYS standard crt:\
+ :am:bs:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:co#80:\
+ :do=\E[B:li#25:mi:nd=\E[C:\
+ :se=\E[m:so=\E[7m:up=\E[A:us=\E[4m:ue=\E[m:\
+ :md=\E[1m:mh=\E[m:mb=\E[5m:me=\E[m:\
+ :kh=\EG:kb=^h:ku=\EH:kd=\EP:kl=\EK:kr=\EM:\
+ :k1=\E;:k2=\E<:k3=\E=:k4=\E>:k5=\E?:\
+ :k6=\E@:k7=\EA:k8=\EB:k9=\EC:k0=\ED:
+
+# The following is a version of the ibm-pc entry distributed with PC/IX,
+# (Interactive Systems' System 3 for the Big Blue), modified by Richard
+# McIntosh at UCB/CSM. The :pt: and :uc: have been removed from the original,
+# (the former is untrue, and the latter failed under UCB/man); standout and
+# underline modes have been added. Note: this entry describes the "native"
+# capabilities of the PC monochrome display, without ANY emulation; most
+# communications packages (but NOT PC/IX connect) do some kind of emulation.
+pc|ibmpc|ibm pc PC/IX:\
+ :li#24:co#80:am:bs:bw:eo:\
+ :cd=\E[J:ce=\E[K:cl=\Ec:cm=\E[%i%2;%2H:do=\E[B:ho=\E[;H:\
+ :nd=\E[C:up=\E[A:so=\E[7m:se=\E[0m:us=\E[4m:ue=\E[0m:
+pc3mono|IBM PC 386BSD Console with monochrome monitor:\
+ :so=\E[0;1r\E[m:tc=pc3:
+pc3|ibmpc3|IBM PC 386BSD Console:\
+ :AL=\E[%dL:\
+ :DL=\E[%dM:\
+ :DO=\E[%dB:\
+ :K1=\E[H:\
+ :K2=\E[I:\
+ :K3=\E[E:\
+ :K4=\E[F:\
+ :K5=\E[G:\
+ :LE=\E[%dD:\
+ :RI=\E[%dC:\
+ :SF=\E[%dS:\
+ :SR=\E[%dT:\
+ :UP=\E[%dA:\
+ :al=\E[L:\
+ :am:\
+ :bl=^G:\
+ :bs:\
+ :cb=\E[1K:\
+ :cd=\E[J:\
+ :ce=\E[K:\
+ :cl=\E[H\E[J:\
+ :cm=\E[%i%d;%dH:\
+ :co#80:\
+ :cr=^M:\
+ :dl=\E[M:\
+ :do=^J:\
+ :ho=\E[H:\
+ :is=\E[m:\
+ :k0=\E[V:\
+ :k1=\E[M:\
+ :k2=\E[N:\
+ :k3=\E[O:\
+ :k4=\E[P:\
+ :k5=\E[Q:\
+ :k6=\E[R:\
+ :k7=\E[S:\
+ :k8=\E[T:\
+ :k9=\E[U:\
+ :kD=\177:\
+ :kH=\E[F:\
+ :kN=\E[G:\
+ :kP=\E[I:\
+ :kb=\177:\
+ :kd=\E[B:\
+ :kh=\E[H:\
+ :kl=\E[D:\
+ :kr=\E[C:\
+ :ku=\E[A:\
+ :le=^H:\
+ :li#25:\
+ :ms:\
+ :nd=\E[C:\
+ :pt:\
+ :rs=\E[m:\
+ :se=\E[m:\
+ :sf=\E[S:\
+ :so=\E[7;1r\E[7m:\
+ :sr=\E[T:\
+ :ta=^I:\
+ :te=\E[m:\
+ :ti=\E[m:\
+ :up=\E[A:
+# Syscons console with koi8-r russian code table.
+# Some non-standard termcap extentions added at the end (after 'ac')
+# for compatibility with current russian software.
+# You might need to add correct filename to Ct entry
+pc3r|ibmpc3r|FreeBSD console for syscons koi8-r code table:\
+ :li#25:co#80:am:bs:bw:eo:cu=\222:\
+ :UP=\E[%dA:DO=\E[%dB:RI=\E[%dC:LE=\E[%dD:AL=\E[%dL:DL=\E[%dM:\
+ :IC=\E[%d@:DC=\E[%dP:le=^H:ic=\E[@:dc=\E[P:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
+ :cm=\E[%i%d;%dH:do=^J:ho=\E[H:al=\E[L:dl=\E[M:nd=\E[C:up=\E[A:\
+ :so=\E[7m:se=\E[m:ms:rs=\E[x\E[m\Ec:pt:\
+ :mb=\E[5m:mr=\E[7m:md=\E[1m:mh=\E[30m\E[1m:me=\E[m:\
+ :kb=^H:kh=\E[H:ku=\E[A:kd=\E[B:kl=\E[D:kr=\E[C:\
+ :kN=\E[G:kP=\E[I:kH=\E[F:kI=\E[L:kD=\E[K:kB=\E[Z:\
+ :k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:\
+ :k9=\E[U:k0=\E[V:k.=\E[W:k-=\E[X:ko=k.,k-:kC=\E[E:\
+ :sr=\E[T:sf=\E[S:SR=\E[%dT:SF=\E[%dS:\
+ :ac=q\200x\201m\204v\211j\205t\206n\212u\207l\202w\210k\203y\230z\231f\234~\225a\221:\
+ :Nf#16:Nb#8:Cf=\E[=%dF:Cb=\E[=%dG:\
+ :gs=:ge=:g1=\200\201\204\211\205\206\212\207\202\210\203:\
+ :g2=\240\241\253\273\256\261\276\265\245\270\250:\
+ :f1=\E[M:f2=\E[N:f3=\E[O:f4=\E[P:f5=\E[Q:f6=\E[R:f7=\E[S:f8=\E[T:\
+ :f9=\E[U:f0=\E[V:f.=\E[W:f-=\E[X:CY:Cs=:Ce=:Ct=:
diff --git a/etc/ttys b/etc/ttys
index 20fda7f79126..93406544ad30 100644
--- a/etc/ttys
+++ b/etc/ttys
@@ -3,17 +3,21 @@
#
# name getty type status comments
#
-ttyv0 "/usr/libexec/getty Pc" pc3 on secure
+# This entry needed for asking password when init goes to single-user mode
+# If you want to be asked for password, change "secure" to "insecure" here
+console none unknown off secure
+#
+ttyv0 "/usr/libexec/getty Pc" cons25 on secure
# Virtual terminals
-ttyv1 "/usr/libexec/getty Pc" cons25 off secure
-ttyv2 "/usr/libexec/getty Pc" cons25 off secure
+ttyv1 "/usr/libexec/getty Pc" cons25 on secure
+ttyv2 "/usr/libexec/getty Pc" cons25 on secure
ttyv3 "/usr/libexec/getty Pc" cons25 off secure
# Hardwired terminals
tty00 "/usr/libexec/getty std.9600" unknown off secure
tty01 "/usr/libexec/getty std.9600" unknown off secure
# Dialin terminals
-ttyd2 "/usr/libexec/getty std.9600" unknown off secure
-ttyd3 "/usr/libexec/getty std.9600" unknown off secure
+ttyd2 "/usr/libexec/getty std.9600" unknown off secure
+ttyd3 "/usr/libexec/getty std.9600" unknown off secure
# Pseudo terminals
ttyp0 none network
ttyp1 none network