Commit Graph

323 Commits

Author SHA1 Message Date
rgrimes
fbb811b7cf Removed Chris D. added --unlink option since our tar does not understand
it.
1993-08-26 15:59:21 +00:00
rgrimes
a8bdf793c4 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.
1993-08-26 03:36:37 +00:00
rgrimes
21839ecd51 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.
1993-08-26 03:23:20 +00:00
rgrimes
ef3b9f7e05 Removed mount -at ufs command, since it is now done by the .profile
file left by inst1.install.

Fixed cpio command so that it works with the new cpio that does not
ignore extra options.

Added echo's about building /dev files so the user knows it is doing something.
1993-08-26 03:20:28 +00:00
rgrimes
ddbff97992 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.
1993-08-26 03:16:51 +00:00
jkh
923281b9fd This commit was generated by cvs2svn to compensate for changes in r327,
which included commits to RCS files with non-trunk default branches.
1993-08-26 01:19:55 +00:00
jkh
e83dde8008 The release version of my package install suite. Please see man pages
for info.
1993-08-26 01:19:55 +00:00
alm
cd6817cfbf adding fpgetround(3) IEEE floating point environment support 1993-08-25 09:01:44 +00:00
rgrimes
d003152038 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..
1993-08-24 19:55:16 +00:00
rgrimes
44c046f5c5 Fix so that unit number 1 is found again. 1993-08-24 19:41:58 +00:00
swallace
8d4ee708fc Changed -r /fastboot to -e /fastboot. File just needs to exist for fastboot.
Otherwise, doesn't work for non-root owner of /fastboot.
1993-08-24 06:15:36 +00:00
rgrimes
5319cd53f8 Corrected off by 2 error in DELAY macro (it was delaying for 2 * value).
From Bruce Evans.
1993-08-24 01:24:43 +00:00
rgrimes
40778b27ae Changed install -o root -g bin to -o ${BINOWN} -g ${BINGRP} on the header
install commands to be consistent with other header files.
1993-08-23 05:26:19 +00:00
rgrimes
d21c0f16fb 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.
1993-08-22 10:20:05 +00:00
rgrimes
3be3a76264 Some more small nits in the printf's fixed. 1993-08-22 10:00:16 +00:00
rgrimes
78807a9290 New kernel config file for checking out the kernel sources. It does pulls
in every thing that is known to work, and a lot of things that don't!
1993-08-22 02:59:49 +00:00
rgrimes
10bd2abc94 Moved if_we.c to be back in alphabetic order.. 1993-08-21 23:52:36 +00:00
rgrimes
a9c4feab55 Update to be a clone of GENERICAH, but for syscons driver. 1993-08-21 23:48:06 +00:00
rgrimes
1d07ceee64 Added Id: string 1993-08-21 23:47:20 +00:00
rgrimes
8d386d3250 Updated GENERICAH to be more current, new kernel GENERICBT for bt/uha
systems cloned from new GENERICAH.
1993-08-21 23:46:42 +00:00
rgrimes
4b8ce95720 Removed patch kit header, added Id: 1993-08-21 22:24:24 +00:00
rgrimes
e2f9e9b45b Removal of patch kit header, removal of old scsi as device, added Id: 1993-08-21 22:20:50 +00:00
rgrimes
92947fa0c8 Fixed printf's so that they announce them selfs correctly (ie aha%d: before
every error message and every probe message).
1993-08-21 20:01:59 +00:00
alm
3213bee1b3 more cleanup (e.g., root and swap partitions are mandatory, not root and /usr)
no functional change
1993-08-20 21:47:42 +00:00
alm
760a594dcc added big loop to allow redoing the configuration 1993-08-20 18:07:39 +00:00
rgrimes
ddb2a98fca Added from: line to reference the pccons.c derivation of this code, otherwise
the BSD copyright would be very bad to have on this file.
1993-08-20 17:19:29 +00:00
alm
c35539c839 added default answers
changed units from sectors to cylinders
1993-08-20 17:17:04 +00:00
rgrimes
b067071425 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.
1993-08-20 12:51:53 +00:00
rgrimes
8515c9c892 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
1993-08-20 09:23:30 +00:00
rgrimes
67474ae923 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
1993-08-20 09:21:40 +00:00
rgrimes
20d0d77e15 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
1993-08-20 09:14:22 +00:00
rgrimes
60afe9cbcb Moved /sys/scsi code files information to independed files file where it
should have always been.
1993-08-20 08:53:08 +00:00
alm
1b6327eaa3 patch 1of2 to prevent kill -1 syslogd from hanging the console
blindly applied patch provided by Christoph Robitschko:
*** cons.c.orig	Sat Jun 12 07:57:53 1993
--- cons.c	Thu Aug 19 22:34:53 1993
***************
*** 56,61 ****
--- 56,62 ----
  #include "sys/tty.h"
  #include "sys/file.h"
  #include "sys/conf.h"
+ #include "sys/vnode.h"

  #include "cons.h"

***************
*** 105,118 ****
--- 106,130 ----
  	(*cp->cn_init)(cp);
  }

+ static struct vnode	*cnopenvp = NULLVP;
+
+
  cnopen(dev, flag, mode, p)
  	dev_t dev;
  	int flag, mode;
  	struct proc *p;
  {
+ 	int		error;
+
+
  	if (cn_tab == NULL)
  		return (0);
  	dev = cn_tab->cn_dev;
+ 	if (cnopenvp == NULLVP)
+ 		if ((error = getdevvp(dev, &cnopenvp, VCHR))) {
+ 			printf("cnopen: getdevvp returned %d !\n", error);
+ 			return(error);
+ 		}
  	return ((*cdevsw[major(dev)].d_open)(dev, flag, mode, p));
  }

***************
*** 121,130 ****
  	int flag, mode;
  	struct proc *p;
  {
  	if (cn_tab == NULL)
  		return (0);
  	dev = cn_tab->cn_dev;
! 	return ((*cdevsw[major(dev)].d_close)(dev, flag, mode, p));
  }

  cnread(dev, uio, flag)
--- 133,153 ----
  	int flag, mode;
  	struct proc *p;
  {
+ 	int		error;
+
+
  	if (cn_tab == NULL)
  		return (0);
  	dev = cn_tab->cn_dev;
! 	if (vcount(cnopenvp) <= 1)
! 		error = (*cdevsw[major(dev)].d_close)(dev, flag, mode, p);
! 	else
! 		error = 0;
! 	if (error == 0) {
! 		vrele(cnopenvp);
! 		cnopenvp = NULLVP;
! 	return(error);
! 	}
  }

  cnread(dev, uio, flag)
1993-08-20 05:46:09 +00:00
rgrimes
3f7b64f5f4 chess is now in src/gnu, moved here from src/games 1993-08-20 03:23:17 +00:00
rgrimes
ee12b17c82 Added libg++ since it is now in src/gnu 1993-08-20 03:06:18 +00:00
rgrimes
04b2ba8681 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.
1993-08-20 01:24:09 +00:00
alm
390c971c95 added Bustek 545 support (patch from Christoph Robitschko):
*** aha1542.c~	Thu Aug 19 14:25:33 1993
--- aha1542.c	Thu Aug 19 14:25:49 1993
***************
*** 954,959 ****
--- 954,960 ----
  	printf("aha%d:",unit);
  #define	PRNT(x) printf(x)
  #endif	__386BSD__
+ 	DELAY(1000);	/* for Bustek 545 */
  	aha_cmd(unit,0, sizeof(conf), 0 ,&conf, AHA_CONF_GET);
  	switch(conf.chan)
  	{
1993-08-19 21:32:59 +00:00
rgrimes
ef787663fc Replaced empty manual page with one that has atleast some of the stuff
in it.
From: Andreas Schulz <ats@g386bsd.first.gmd.de>

I have uploaded the man page from gas 2.1.1 under ~ats/as.1 .
1993-08-17 20:16:19 +00:00
jtc
e8b47fda70 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.
1993-08-17 16:06:00 +00:00
jtc
e417c238c0 SRCS should contain *.c's, not *.o's. 1993-08-16 16:22:34 +00:00
alm
cf9640baad Nullify pattern after failed regcomp 1993-08-16 09:30:18 +00:00
alm
9b94678077 add more notes and examples 1993-08-15 07:11:52 +00:00
nate
5021a168b3 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)
1993-08-14 22:00:14 +00:00
rgrimes
9551da310b Wrong path for uucp login, was /usr/lib instead of /usr/libexec. Fixed 1993-08-13 23:07:31 +00:00
rgrimes
a515958570 Fixed entry for t9600, baud rate was 19200, should be and now is 9600. 1993-08-13 23:05:49 +00:00
rgrimes
d0a67f9598 Enable lastlog install commands. 1993-08-13 06:11:18 +00:00
rgrimes
7de9a46164 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. :-)
1993-08-12 15:20:56 +00:00
rgrimes
b6e8922c0e /etc/termcap is now created as a symlink to /usr/share/misc/termcap,
fixed creation of link for /etc/localtime.
1993-08-12 14:51:09 +00:00
rgrimes
732f7813ef 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.
1993-08-12 09:21:20 +00:00
rgrimes
3995fe217f 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!
1993-08-12 07:18:34 +00:00