Commit Graph

16521 Commits

Author SHA1 Message Date
wosch
000fb64288 delete doubled words, e.g.: "the the" -> "the" 1996-10-05 22:27:30 +00:00
ache
e5ff1bbc6e Use full path for cvsup 1996-10-05 19:41:31 +00:00
ache
6489788a4c Add CVSup block (commented out) 1996-10-05 18:51:45 +00:00
wosch
65b9eae0ee delete doubled words, e.g.: "the the" -> "the" 1996-10-05 18:37:31 +00:00
ache
a41a5e8dce Use SUP and SUPFLAGS variables to change them to cvsup if needed 1996-10-05 18:36:38 +00:00
peter
a066ea9800 For the -delete option, emulate the behavior of "rm -f" when dealing with
user-immutable files.

Requested by: ache
1996-10-05 18:21:05 +00:00
joerg
43846dc578 When MODE SELECT'ing, the ``device-specific parameter'' field is
reserved by the SCSI-2 specs.  Hence, zero it out.  Some drives
(correctly) complain about this otherwise.

Reviewed by:	craigs@os.com (Craig Shrimpton)
1996-10-05 17:40:20 +00:00
jkh
5ab8a530e6 Make the save_userconfig() stuff conditional and turned off by default
(for now - still a few more wrinkles here).  Add more debugging code
and some cosmetic tweaks.
1996-10-05 16:33:05 +00:00
peter
57a32f2a60 syslogd has always bugged me with it's async startup at boot time.
For me, more often than not, the backgrounded syslogd daemon is not
yet ready to process log messages before other things (such as named)
want to log a heap of them.  It seems that it's the O_SYNC writes of
the stuff coming in from /dev/klog that's the slowdown.

Anyway, instead of using the libc daemon, roll a modified version.  This
one has a timeout.  The child will wait for either the timeout to expire
or the child process to signal it to let it know that it's "ready" and
the /dev/log socket is set up and active, so it's safe to continue the
boot.  It adds a small fraction of a second pause to the boot time, but on
the other hand the overall boot time is *quicker* since the disk is not
being thrashed while the log messages are getting written out synchronously
one by one while other daemons are loading in parallel.

The timeout is in case the child segfaults or something before becoming
fully operational.
1996-10-05 15:20:51 +00:00
alex
a35caa54e5 Added 210 (San Antonio, TX) and 630 (IL) area codes. 1996-10-05 13:42:44 +00:00
jkh
13dac2ef48 Erm. I'm sleepy. Handle the null-field case the way I actually meant
to the first time.
1996-10-05 13:30:43 +00:00
jkh
a0fd39b29f OK, *now* the symbol file is being generated in the correct place. 1996-10-05 13:10:01 +00:00
jkh
eec9c7de18 Wait for any stray processes we might be sent while running as init.
I have cautious hopes that this will fix the package installer zombie
accumulation problem.
1996-10-05 12:28:36 +00:00
jkh
dfd125f0a8 Correct check for ensuring that the network configuration isn't fiddled with
when running multi-user.
1996-10-05 12:16:49 +00:00
jkh
4da4b8bed3 1. Change device probing so that high speed network devices are found before
SLIP/PPP devices, putting them before the others in the network device
   selection menu.

2. Change "Other" to "URL" so as not to conflict with the keyboard accellerator
   for the "OK" button in FTP site selection menu.

3. Detect the NULL last symbol in the name list and initialize the other
   members correctly.
1996-10-05 11:56:50 +00:00
jkh
b9987ee7d0 Document USERCONFIG_BOOT, even though it doesn't belong where it is. ;-) 1996-10-05 11:01:24 +00:00
jkh
92667e3313 Multiple changes stacked as one commit since they all depend on one another.
First, change sysinstall and the Makefile rules to not build the kernel
nlist directly into sysinstall now.  Instead, spit it out as an ascii
file in /stand and parse it from sysinstall later.  This solves the chicken-n-
egg problem of building sysinstall into the fsimage before BOOTMFS is built
and can have its symbols extracted.  Now we generate the symbol file in
release.8.

Second, add Poul-Henning's USERCONFIG_BOOT changes.  These have two
effects:

	1. Userconfig is always entered, rather than only after a -c
	   (don't scream yet, it's not as bad as it sounds).

	2. Userconfig reads a message string which can optionally be
	   written just past the boot blocks.  This string "preloads"
	   the userconfig input buffer and is parsed as user input.
	   If the first command is not "USERCONFIG", userconfig will
	   treat this as an implied "quit" (which is why you don't need
	   to scream - you never even know you went through userconfig
	   and back out again if you don't specifically ask for it),
	   otherwise it will read and execute the following commands
	   until a "quit" is seen or the end is reached, in which case
	   the normal userconfig command prompt will then be presented.

  How to create your own startup sequences, using any boot.flp image
from the next snap forward (not yet, but soon):

	% dd of=/dev/rfd0 seek=1 bs=512 count=1 conv=sync <<WAKKA_WAKKA_DOO
USERCONFIG
irq ed0 10
iomem ed0 0xcc000
disable ed1
quit
WAKKA_WAKKA_DOO


Third, add an intro screen to UserConfig so that users aren't just thrown
into this strange screen if userconfig is auto-launched.  The default
boot.flp startup sequence is now, in fact, this:

	USERCONFIG
	intro
	visual

(Since visual never returns, we don't need a following "quit").

Submitted-By: phk & jkh
1996-10-05 10:44:07 +00:00
ache
89c99ff0c6 Fix Moscow timezone rule 1996-10-05 09:03:37 +00:00
jkh
0d7120a70d Correct a misuse of the GENERIC kernel where I should have referenced
the BOOTMFS kernel instead.
1996-10-05 07:46:54 +00:00
jkh
614dce302f Fix bogon with kernel name. 1996-10-05 06:10:58 +00:00
jkh
904a4501a7 Add stuff to CLEANFILES. 1996-10-05 06:04:03 +00:00
jkh
4dd7c82ff7 Yet Another Bogon Fix. 1996-10-05 05:51:12 +00:00
jkh
922c3327ae Simplify the compiled-in nlist case a bit by naming the structures
the same.
1996-10-05 02:12:35 +00:00
sef
92a8c6e3f9 Print out a summary of the loss percentages for each hop. No manual changes
just yet, I know, evil of me.

Reviewed by:	jkh
1996-10-05 01:43:13 +00:00
julian
3259298288 If we have no console device it is possible to be
1/ session leader
2/ Have a console device vnode (/dev/console)
3/ have  NULL pointer for a consoel tty struct.

fix the only case where the tty struct is referenced without a prior
check for existance.
1996-10-04 23:43:12 +00:00
peter
8b748f9115 Fix the previous commit. The second of the 8-character columns was
a duplicate of the first column of 8...
1996-10-04 23:29:38 +00:00
wosch
7f1fa64208 a bunch of spelling errors 1996-10-04 22:54:17 +00:00
joerg
8fd1ca9d49 Add a man page describing the interrupt priority `levels'.
Comments by: bde

Lousy MCI network link :(, my commit message for the Makefile has been
botched.
1996-10-04 21:22:49 +00:00
joerg
7b89e31db1 Reviewed by:
Submitted by:
Obtained from:
1996-10-04 21:20:07 +00:00
ache
0a8cdcdc94 Better users list 1996-10-04 20:05:13 +00:00
peter
dceaaf8e82 Oops, an editing error at one point meant I had missed the osfcn.h header
(it was directly underneath where bool.h used to be in the list, I think
 I must have not been paying attention and deleted a word from the wrong
 line.  The machine that I was testing on still had an (old?) osfcn.h file)

Pointed out by: Andreas Klemm <andreas@klemm.gtn.com>
1996-10-04 15:11:42 +00:00
jkh
aa98e00181 Various cosmetic tweaks. 1996-10-04 14:53:52 +00:00
jkh
a1b79cd5d0 Whoops! Fix a stupid bogon. 1996-10-04 14:25:23 +00:00
dg
b38c34237f Oops, missed a chunk in that last commit. 1996-10-04 14:17:32 +00:00
wosch
d4381b80bd typos 1996-10-04 14:01:55 +00:00
jkh
177253487a Syncronize my tree so Eric can access the latest code. 1996-10-04 13:33:49 +00:00
jkh
82c3fac15a "CONTINUE" was just too long. Make it a nice "OK" now. 1996-10-04 13:06:48 +00:00
peter
342c1e0794 Implement a -delete option to find. The code is extremely paranoid and
goes to a fair degree of trouble to enable something like this to
be safe:  cd /tmp && find . -mtime +7 -delete

It removes both files and directories.  It does not attempt to remove
immutable files (an earlier version I showed to a few people did a chflags
and tried to blow away even immutable files.  Too risky..)

It is thought to be safe because it forces the fts(3) driven descent to
only do "minimal risk" stuff.  specifically, -follow is disabled, it does
checking to see that it chdir'ed to the directory it thought it was
going to, it will *not* pass a pathname with a '/' character in it to
unlink(), so it should be totally immune to symlink tree races.  If it runs
into something "fishy", it bails out rather than blunder ahead.. It's better
to do that if somebody is trying to compromise security rather than risk
giving them an opportunity.  Since the unlink()/rmdir() is being called
from within the current working directory during the tree descent, there
are no fork/exec overheads or races.

As a side effect of this paranoia, you cannot do a
"find /somewhere/dir -delete", as the last argument to rmdir() is
"/somewhere/dir", and the checking won't allow it.  Besides, one would use
rm -rf for that case anyway. :-)

Reviewed by: pst (some time ago, but I've removed the immutable file
deletion code that he complained about since he last saw it)
1996-10-04 12:54:07 +00:00
jkh
76b116d2fd Relax the argument checking - it caused it to fail in the perfectly
legitimate cd-to-worm copy case.
1996-10-04 12:30:16 +00:00
dg
eefb56463e Implemented a more sophisticated mechanism for finding the chip iobase
so that 32Y boards will work.
Fixed bogus indenting and added a pair of parens.
1996-10-04 10:33:13 +00:00
peter
5ba3a9a5ed To the Attic we go.. 1996-10-04 09:02:59 +00:00
peter
18630e6339 Add LIBSTDCPLUSPLUS
(can't use the '+' char in variable names, same as LIBGPLUSPLUS)
1996-10-04 08:55:05 +00:00
peter
eb900c1b4e libresolv.a doesn't exist anymore... Hmm, what's the right thing to do
here?  Can we just undefine it?  What about 3rd party bmakefiles?
1996-10-04 08:52:43 +00:00
peter
f27b081045 Remove temporary hack to disable use of libstdc++ now that it's built and
installed (and hopefully: working).
1996-10-04 08:51:18 +00:00
peter
f163ad2484 Add some 'world' hooks for libg++-2.7.2, specifically the new libstdc++
directory.  Also, add gnu/usr.bin/as to the lib-tools target since libgcc
generates weak symbols, and libstdc++/libg++ use them.  ie: coming from a
2.1.x system will fail without 'as'.
1996-10-04 08:48:27 +00:00
peter
2108e41875 Add genclass to the subdir list 1996-10-04 08:45:34 +00:00
peter
0aaab405e6 Add libstdc++ to the SUBDIR list 1996-10-04 08:44:26 +00:00
peter
2fd17c4485 Update to use the contrib/libg++ version, now that my (slow) 486 has
finished a 'make world'.
1996-10-04 08:43:37 +00:00
peter
90009f2575 Initial attempt at a bmakefile for genclass. 1996-10-03 23:00:09 +00:00
peter
874858c88f This commit was generated by cvs2svn to compensate for changes in r18667,
which included commits to RCS files with non-trunk default branches.
1996-10-03 22:58:33 +00:00