alm [Fri, 27 Aug 1993 22:14:24 +0000 (22:14 +0000)]
Only a single slash (/) is now necessary to repeat a search as per Theo's
request. So the command:
/pattern/;/
finds the second line containing "pattern" after the current line.
Caveat: The commands `st' and `sr' are now both legal and have very
different meanings. This is because ed(1) extends POSIX to include the
old Berkeley syntax s[rgp]*.
(So should two slashes still be required in the case of the substitute
command, as SunOS ed does?)
rgrimes [Thu, 26 Aug 1993 03:36:37 +0000 (03:36 +0000)]
Removed LOCATIME and TZDIR stuff since it is now handled correctly by
share/zoneinfo and was just duplicated here.
Fixed the directory owner ships on the inst1 floppy by adding all of the
directories that get created on the floppy to INST1_DIR, since cpio was
not picking up the source dir protections, but instead using the current
process uid, gid, and umask values.
Removed /bin/df from inst1 to make room for mount_pcfs. Also removed
/etc/disktab since it just got overwritten by the install tools.
Removed zcat from INST2_CPIO since it is now installed from the
INST2_FILES files on the floppy. This fixes things so that all
of the gzip tools get linked to the same image.
Much of the .if machine i386 stuff moved to be system independent
since it really was.
Added sd1 support to the inst1 and kc floppies. No room for wd1 support,
oh well.
Fix permissions on top level of floppy, it was not getting set.
rgrimes [Thu, 26 Aug 1993 03:23:20 +0000 (03:23 +0000)]
Added a real ugle hack so that cat, tar and gzip tools used to do the
extract can be over writen. This is done by coping them to /tmp
before the extract begins, running them from /tmp, then removing them
after the extract has completed.
Removed all section about setting up sendmail.cf, since this was for the
old sendmail stuff and should not be required by the new sendmail.cf file
that is shipped with the system.
rgrimes [Thu, 26 Aug 1993 03:16:51 +0000 (03:16 +0000)]
Added DEFBLOCKING to hold the default blocking factor after the question
has been asked once. Disabled the ability to have different blocking
factors on different partitions since this is known to trash the vm system.
Removed many extranious echo's of the users answers. This was probably put
in for debugging and never removed. It was quite confusing to my test users.
Added autoscan of disk for bad blocks for bad144 type disks using the new
bad144 -s option.
Renabled the asking for verbose installation. Why was this disabled??
Added creation of etc/disktab.install on the hard disk that is a copy
of the disktab used to create the disk with.
Added a mount -at ufs to the .profile so that all the diskpartitions get
mounted on first boot from hard disk, this is so commands that may have been
loaded into a seperate usr partition can be found.
rgrimes [Tue, 24 Aug 1993 19:55:16 +0000 (19:55 +0000)]
Changed prompt from "> " to "kc > " so that it does not look like the
halt prompt. Changed the prompt for destination of the kernel copy to
be "copy kernel to > " so that it is clear what it wants..
rgrimes [Sun, 22 Aug 1993 10:20:05 +0000 (10:20 +0000)]
Added kc-kernel target that builds both GENERICAH and GENERICBT kernels.
Added kc-floppy that does the common part of building the kc floppies.
Added kc-bt-floppy to build GENERICBT kernel floppy.
Fixed kc-ah-floppy to use kc-floppy.
rgrimes [Fri, 20 Aug 1993 12:51:53 +0000 (12:51 +0000)]
Enabled call to sddump so that if you have options SCSIDUMP in your kernel
you'll get to the dump code. If you don't trust this on your disk also
add option NOT_TRUSTED, that disables the dump code, but prints out what
it WOULD do it it was going to scrible on your disk.
rgrimes [Fri, 20 Aug 1993 09:23:30 +0000 (09:23 +0000)]
Update scsi code to the latest from Julian. This code is now identical
to the last copy from Julian. After this commit I will be commiting the
local fixes and makeing diffs to send back to Julian so he can update his
code.
----
From julian@jules.DIALix.oz.au Thu Aug 5 09:25:23 1993
To: hd@world.std.com, julian@jules.DIALix.oz.au Cc: nate@bsd.coe.montana.edu
Subject: Re: new scsi
----
From julian@jules.DIALix.oz.au Sat Aug 7 04:13:17 1993
To: hd@world.std.com (HD Associates) Cc: nate@bsd.coe.montana.edu
Subject: Re: timeout diffs
Here are the diffs to take the scsi stuff to my latest tree from what
Nate and you received..
the changes remove all the local timeout stuff and use (un)timeout(),
----
From julian@jules.DIALix.oz.au Sat Aug 7 04:13:45 1993
To: hd@world.std.com (HD Associates) Cc: nate@bsd.coe.montana.edu, briggs@csugrad.cs.vt.edu
here is a fix for a silly bug in the scsiconf I just sent out
and a similar fix for st.c
rgrimes [Fri, 20 Aug 1993 09:21:40 +0000 (09:21 +0000)]
Update scsi code to the latest from Julian. This code is now identical
to the last copy from Julian. After this commit I will be commiting the
local fixes and makeing diffs to send back to Julian so he can update his
code.
----
>From julian@jules.DIALix.oz.au Thu Aug 5 09:25:23 1993
To: hd@world.std.com, julian@jules.DIALix.oz.au Cc: nate@bsd.coe.montana.edu
Subject: Re: new scsi
----
>From julian@jules.DIALix.oz.au Sat Aug 7 04:13:17 1993
To: hd@world.std.com (HD Associates) Cc: nate@bsd.coe.montana.edu
Subject: Re: timeout diffs
Here are the diffs to take the scsi stuff to my latest tree from what
Nate and you received..
the changes remove all the local timeout stuff and use (un)timeout(),
----
>From julian@jules.DIALix.oz.au Sat Aug 7 04:13:45 1993
To: hd@world.std.com (HD Associates) Cc: nate@bsd.coe.montana.edu, briggs@csugrad.cs.vt.edu
here is a fix for a silly bug in the scsiconf I just sent out
and a similar fix for st.c
rgrimes [Fri, 20 Aug 1993 09:14:22 +0000 (09:14 +0000)]
Update scsi code to the latest from Julian. This code is now identical
to the last copy from Julian. After this commit I will be commiting the
local fixes and makeing diffs to send back to Julian so he can update his
code.
----
From julian@jules.DIALix.oz.au Thu Aug 5 09:25:23 1993
To: hd@world.std.com, julian@jules.DIALix.oz.au Cc: nate@bsd.coe.montana.edu
Subject: Re: new scsi
----
From julian@jules.DIALix.oz.au Sat Aug 7 04:13:17 1993
To: hd@world.std.com (HD Associates) Cc: nate@bsd.coe.montana.edu
Subject: Re: timeout diffs
Here are the diffs to take the scsi stuff to my latest tree from what
Nate and you received..
the changes remove all the local timeout stuff and use (un)timeout(),
----
From julian@jules.DIALix.oz.au Sat Aug 7 04:13:45 1993
To: hd@world.std.com (HD Associates) Cc: nate@bsd.coe.montana.edu, briggs@csugrad.cs.vt.edu
here is a fix for a silly bug in the scsiconf I just sent out
and a similar fix for st.c
rgrimes [Fri, 20 Aug 1993 01:24:09 +0000 (01:24 +0000)]
Removed gcc1 from top level make file, moving gcc1 to ports, gcc is becoming
the system default compiler. The move of gcc1 in the cvs repository will
be done specially to retain all history. You will only see a commit
message for it's removal, the addition of it to ports will be done, you
just won't see the commit.
jtc [Tue, 17 Aug 1993 16:06:00 +0000 (16:06 +0000)]
1003.2 requires that lexical comparisons be done in locale specific manner,
so we have to use strcoll() instead of strcmp().
1003.2 requires that a null string be returned if a string does not match
a \( \) subexpression.
Replaced fprintf/exit with calls to err and errx as appropriate.
nate [Sat, 14 Aug 1993 22:00:14 +0000 (22:00 +0000)]
Removed Jordan's DO_LINKS from the Makefile, since this behavior is not
'normal' CVS behavior, and we've never used nor depended on it.
(And at times I've gotten bit by it)
rgrimes [Thu, 12 Aug 1993 15:20:56 +0000 (15:20 +0000)]
Commented out installation of /var/log/lastlog:
The problem with having it enable is that lastlog grows big, none
of the current scripts deal with rotation of /var/log/lastlog,
so it shouldn't necessary be installed at first. This has traditionally
been something the sysadmin has had to touch after system installations.
Nate:
(Besides, you're forced to learn more about the system by reading the man
pages if it doesn't exist. :-)
rgrimes [Thu, 12 Aug 1993 09:21:20 +0000 (09:21 +0000)]
Fixed poor timeout code in out_fdc. The timeout counter was not being
reinitialized between while loops. Added comments about what was going
on in the out_fdc routine.
out_fdc now returns if the direction bit is not set in time instead of
trying to wait for MRQ to get cleared.
rgrimes [Thu, 12 Aug 1993 07:18:34 +0000 (07:18 +0000)]
Added 3 targets (kc-ah-floppy, inst1-floppy, inst2-floppy) which build
3 of the 4 needed floppies for FreeBSD.
Still need to do kc-bt-floppy for the Bustek/Ultrastore controllers.
Fixed installation of boot blocks in distribution:, now use a variable
(${MDEC}) instead of a find so that my zzz files don't end up in
the distribution!
rgrimes [Thu, 12 Aug 1993 07:14:23 +0000 (07:14 +0000)]
Heavily modified from NetBSD sources to FreeBSD, many fixes and enhancements,
now users cpio instead of tar. All displayed references to NetBSD changed
to ${OPSYSTEM}, OPSYSTEM=FreeBSD.
root [Wed, 11 Aug 1993 13:23:23 +0000 (13:23 +0000)]
Due to broken pwd_mkdb always wanting to do it's work in /etc I have
had to add this file to src/etc, and do a special case install of it
to get things working right.
rgrimes [Tue, 10 Aug 1993 14:22:34 +0000 (14:22 +0000)]
Added support to build i386-kc_floppy:, kernel copy floppy for FreeBSD.
Added support to build and install GENERICISA kernel in the binary
distribution.
rgrimes [Mon, 9 Aug 1993 17:02:17 +0000 (17:02 +0000)]
Added installation of CONTRIB.386BSD CONTRIB.FreeBSD and COPYRIGHT to /
when building a distribution for the i386 case. This keeps us from violating
Berkeley's and Bill Jolitz's copyrights.
rgrimes [Mon, 9 Aug 1993 15:18:02 +0000 (15:18 +0000)]
Due to the bug with the console drivers and kill syslogd I have disabled that
in the daily and weekly scripts so that we don't get bug reports about
something we already know. There are explanory comments in the files.
rgrimes [Mon, 9 Aug 1993 14:39:37 +0000 (14:39 +0000)]
Removal of support for old scsi as.c driver, removal off old unneeded
kernel config files since AH?TEST are now supported by GENERICISA,
and the others used the old as driver they are no longer valid.
rgrimes [Mon, 9 Aug 1993 06:16:42 +0000 (06:16 +0000)]
From guido@gvr.win.tue.nl Sat Aug 7 06:58:04 1993
I posted some patches on the 386bsd_patchkit list to prohibit io access.
Because of a noninitialised filed in the tss, this was possible.
It is included below as the patch to machdep.c
However, when you do this *necessary* fix (security), it will be
impossible form within user space to do io.
therefor, I included another fix: when you open /dev/io, you
get the access. Of course you can rewrite it to use another minor
and thus giving access to the iospace when /dev/mem is opened, e.g.
NOTE: The /dev/io entry has not been added to /dev/MAKEDEV yet.
The patch is in NetBSD.
rgrimes [Sun, 8 Aug 1993 07:03:21 +0000 (07:03 +0000)]
Fixed for DQFLQUIET flag from: Terry Lee <terry@uivlsisd.csl.uiuc.edu>
I submitted the part of patch00155 that fixes wd.c not reporting any
bad blocks. Unfortunately, the patch created a new problem that makes new
installations using that kernel impossible. I have included a patch below that
should fix both problems. The fix comes from Tom Ivar Helbekkmo's wd driver
(the Norway wd driver). I've also eliminated the use of the DKFL_QUIET flag
completely, since it is not used anymore.
Fixed wdgetctrl routines for so that it returns a meaniful string for
non IDE disk drives. It also nolonger returns success when a drive is
not really there.
rgrimes [Sun, 8 Aug 1993 06:24:15 +0000 (06:24 +0000)]
Removed the asking for a root file system when booting from floppy as that
is now handled by the new boot blocks immediatly after the kernel is loaded.
rgrimes [Sun, 8 Aug 1993 04:46:37 +0000 (04:46 +0000)]
Added printf for cases AHB_ASN (async even notification) and AHB_HW_ERR so
that we are notified when these events occur. This may lead us to the
cause of certain AHB timeout/lockup problems.
jkh [Sat, 7 Aug 1993 22:33:48 +0000 (22:33 +0000)]
This is GNU cpio 2.3. It handles tar files and is fully compatible
with SYSV cpio. It's also supposed to integrate rmt support, though
I haven't tried this.
rgrimes [Sat, 7 Aug 1993 09:58:37 +0000 (09:58 +0000)]
Fixed daily so that it no longer does accounting since FreeBSD does not
yet have the accounting stuff in it. Disabled ncheck search in security
due to missing ncheck.
rgrimes [Fri, 6 Aug 1993 12:11:52 +0000 (12:11 +0000)]
Removed tabs from the front of XXU: messages to make it fit the other
messages closer. Added missing new line to the message about to many
scsi cd drives.
jkh [Wed, 4 Aug 1993 17:51:47 +0000 (17:51 +0000)]
Added man page - it looks a little odd in places (the 'i' and 'o'
commands), but this is the way it looked in the texinfo docs so I
stayed faithful to RMS's original presentation.
root [Tue, 3 Aug 1993 17:42:35 +0000 (17:42 +0000)]
Added install of /var/cron/log.
Made it clean up in /sys/i386/boot after building and installing the
boot blocks.
Moved the cd ..; make install to be after the special case stuff for
sendmail.
Added the installation of tcpproto.cf as /etc/sendmail.cf