Commit Graph

8297 Commits

Author SHA1 Message Date
rgrimes
5d33b0f72f Reviewed by: wollman
Add a knob to make it easy to turn off RFC 1323 and RFC 1644 options.
1995-05-11 19:08:37 +00:00
phk
60432f212d Use spc, not spt, DUH! Thanks Bruce!
Submitted by:	bde
1995-05-11 16:19:50 +00:00
lars
943685a6ef Updated the text to reflect changes in the english version.
Also updated the text based upon suggestions from Havard.Eidnes.
1995-05-11 14:31:22 +00:00
jkh
b81c3965c6 1. Don't check CHUNK_BSD_COMPAT for now; it always returns "no" and is
getting in the way of testing right now.
2. Call system() on commands, not vsystem().  No need for vsystem() here.
3. Add a path for the shell.
1995-05-11 09:01:35 +00:00
jkh
69d179abe0 Add ls to the boot floppy - folks will be lost without it! 1995-05-11 08:52:11 +00:00
jkh
c10e3cc19e Revise this to actually print all the various isa_device field values
it really should have been printing all this time.  Also fix my rather
bogus handling of the id_conflicts value by moving it to the end of
isa_device and dealing with that correctly now.
1995-05-11 07:54:41 +00:00
bde
abe5650c04 Define _POSIX_VDISABLE so that it can be used in #if expressions. 1995-05-11 07:52:49 +00:00
bde
55d983e843 Add variable `idelayed' and macros setdelayed() and schedsofttty()
to access it.  setdelayed() actually ORs the bits in `idelayed' into
`ipending' and clears `idelayed'.

Call setdelayed() every (normal) clock tick to convert delayed
interrupts into pending ones.

Drivers can set bits in `idelayed' at any time to schedule an interrupt
at the next clock tick.  This is more efficient than calling timeout().
Currently only software interrupts can be scheduled.
1995-05-11 07:44:40 +00:00
jkh
a9c34ff40d Move conflicts flag to the end. 1995-05-11 07:41:52 +00:00
bde
539e9398fe Add loadandclear(). It atomically loads a value from memory, clears the
value in memory and returns the original value.
1995-05-11 07:24:35 +00:00
jkh
8c986a8d8d Drop the inode count down a bit - we ran out of inodes with the help files. 1995-05-11 07:18:11 +00:00
jkh
b496437c68 Argh! Get the args to tar right. It's late. I'm sleepy. 1995-05-11 07:11:24 +00:00
jkh
60a827795c Use the proper libs for sh. 1995-05-11 07:05:05 +00:00
jkh
3968f8077f 1. Fix a cd which somehow got capitalized.
2. Don't put CVS files on the floppy.
1995-05-11 07:03:33 +00:00
jkh
ddb0a6ab0d Clean this up a bit - add more documentation to the documentation menu. 1995-05-11 06:47:46 +00:00
jkh
c515849f48 Dump the help files onto the new floppy. 1995-05-11 06:40:40 +00:00
jkh
ee6a0b0ff4 Put a shell on the boot floppy. 1995-05-11 06:32:13 +00:00
jkh
9f9a4a5eda First round of changes after testing this on actual systems. Clean up
some of the badly displayed menus, use the proper notification box for
messages, make proceed work.
1995-05-11 06:10:56 +00:00
jkh
89601eb8cf DES -> des. Sigh! 1995-05-11 05:23:40 +00:00
phk
6bc5425294 Get the CHUNK_COMPAT_BSD flag right. 1995-05-11 05:22:54 +00:00
jkh
ed942743ae Lower-case the name of the DES directory. Yes, it's an acronym, but DOS
is still dOs.

					Jordan
1995-05-11 05:22:29 +00:00
jkh
2d808a792c Pass me the pointed chapeau - this typo somehow got through my testing. 1995-05-11 05:20:43 +00:00
wpaul
474ca00cb8 If you config a kernel with 'config kernel swap generic' and try to
boot diskless with it, you get a panic because setconf() is only
called for mountroot == ffs_mountroot. It really needs to be called
no matter what manner of rootfs we have. I can't really say if
swapgeneric will work with a CD-ROM though. (I get the feeling I'm
the only one who uses swapgeneric these days anyway.)
1995-05-11 02:50:11 +00:00
jkh
cd7c126573 Add a new `conflicts' flag for telling when a device is in conflict with
others.  The flag can be put in descriptive locations, e.g.:

device sb0      at isa? port 0x220 irq 7 conflicts drq 1 vector sbintr
or
device psm0	at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr

But is nonetheless boolean only.  You can't turn conflict checking off for
only a given type of conflict.  I didn't deem it worth the trouble at this
stage, and it's far better than the ALLOW_CONFLICT_* that preceeded it.
1995-05-11 02:21:34 +00:00
jkh
8419f800b7 Remove all vestiges of the ALLOW_CONFLICT_FOO evil and replace it with
something slightly less evil - a per device conflict flag.
1995-05-11 02:15:55 +00:00
jfieber
aa70d84967 Added "FreeBSD in a nutshell", swiped from the WWW pages with a
few modifications.
1995-05-11 02:03:38 +00:00
dg
d0deae3ce8 #ifdef'd my Nagel/ACK hack with "TCP_ACK_HACK", disabled by default. I'm
currently considering reducing the TCP fasttimo to 100ms to help improve
things, but this would be done as a seperate step at some point in the
future.
This was done because it was causing some sometimes serious performance
problems with T/TCP.
1995-05-11 01:41:06 +00:00
wpaul
2994d54847 Ack! One slipped through the cracks: remember to return the correctly
filled-in result structure to the caller when a resource allocation
error is encountered in ypbindproc_domain_2.
1995-05-11 00:16:54 +00:00
wollman
79d2595f3c Delete two debugging printfs that mistakenly crept in. 1995-05-11 00:16:44 +00:00
wollman
e2c23b9add Make networking domains drop-ins, through the magic of GNU ld. (Some day,
there may even be LKMs.)  Also, change the internal name of `unixdomain'
to `localdomain' since AF_LOCAL is now the preferred name of this family.
Declare netisr correctly and in the right place.
1995-05-11 00:13:26 +00:00
wpaul
7d572593d6 Performace improvements/simplifications/cleanups:
- Make the child process reaper signal-driven. (Previously, we called reaper()
  once a second each time we went through the select() loop. This was
  convenient, but inefficient.)

- Increase main select() timeout from 1 second to 60 seconds and use
  this as the ping timer instead of using timestamps in the _dom_binding
  structure. This nd the reaper() change noted above makes ypbind a little
  less CPU-intensive.

- Don't flag EINTR's from select() as errors since they will happen as a
  result of incoming SIGCHLD's interrupting select().

- Prevent possible resource hogging. Currently we malloc() memory
  each time a user process asks us to establish a binding for a domain,
  but we never free it. This could lead to serious memory leakage if a
  'clever' user did something like ask ypwhich to check the bindings
  for domains 0.0.0.0.0.0.0.0.0.0 through 9.9.9.9.9.9.9.9.9.9 inclusive.
  (This would also make a mess out of the /var/yp/binding directory.)

  We now avoid this silliness by a) limiting the maximum number of
  simultaneous bindings we can manage to 200, and b) free()ing _dom_binding
  structures of secondary domains whose servers have stopped responding.
  We unlink the /var/yp/binding/domain.vers files for the free()ed
  domains too.

  (This is safe to do since a client can prod us into reestablishing the
  binding, at which time we'll simply allocate a new _dom_binding structure
  for it.)

  We keep count of the total number of domains. If asked to
  allocate more than the maximum, we return an error. I have yet to hear
  of anybody needing 200 simultaneous NIS bindings, so this should be
  enough. (I chose the number 200 arbitrarily. It can be increased if need
  be.)

- Changed "server not responding"/"server OK" messages to display server
  IP addresses again since it looks spiffier.

- Use daemon() to daemonify ourselves,

- Added a SIGTERM handler that removes all binding files and unregisters
  the ypbind service from the portmapper when a SIGTERM in received.

- The comment 'blow away everything in BINDINGDIR' has no associated code.
  Give it some: clean out /var/yp/binding at startup (if it exists).

This completes my ypbind wishlist. Barring bug fixes, I shouldn't need to
go poking around in here anymore. (Of course, this means I can start
working on my ypserv whishlist now... :)
1995-05-10 23:02:41 +00:00
jkh
08c18f3924 Fix a long-standing bug that broke pkg_info utterly and probably made
pkg_add a little wiggy too.
1995-05-10 23:00:16 +00:00
jkh
f44afd3b68 Fix a long-standing bug that broke pkg_info utterly and probably made
pkg_add a little wiggy too.  Document the fact that pkg_info can also
take a URL.
1995-05-10 23:00:07 +00:00
jkh
972bf21fab Bump the number of allowable args by a factor of 4. I just scanned
all possible packing lists and found that at least one of them is
pretty large!
1995-05-10 22:33:55 +00:00
jfieber
64ac080093 Added Jordan's "brief history of FreeBSD", swiped from the WWW pages. 1995-05-10 22:12:01 +00:00
jkh
a579ce6ccb Document fetch-by-URL. 1995-05-10 20:56:19 +00:00
jkh
bfc680fe3e Re-work make_dist() routine to build the tar command more reasonably.
This should eliminate the problem with truncated packages.
1995-05-10 20:46:06 +00:00
jkh
98e1f2a792 Don't use curses routines until that part of the system is initialized. 1995-05-10 18:59:51 +00:00
dg
74291ba722 Unlock the vnode before sleeping on an OBJ_DEAD object. Should fix Bruce's
hang. Fixed some formatting anomolies and removed some unneeded casts.
1995-05-10 18:59:11 +00:00
dg
294da49cc6 Changed "handle" from type caddr_t to void *; "handle" is several different
types of pointers, and "char *" is a bad choice for the type.
1995-05-10 18:56:09 +00:00
jkh
df5e30298d Remove dmenu from the Makefile 1995-05-10 18:22:29 +00:00
jkh
307c5a1d22 Reviewed by:
Submitted by:
Obtained from:
1995-05-10 17:54:09 +00:00
jkh
d285ee1958 Remove ncftp from cpio - we don't need it any more.
Adjust boot floppy to (hopefully) include libdisk in the crunch.
1995-05-10 17:20:23 +00:00
wollman
d98e5514e5 Updated routing-socket code from Berkeley
Obtained from: Keith Bostic by way of Paul Traina
1995-05-10 16:48:52 +00:00
rgrimes
13fac0184f Submitted by: wpaul (with 2 lines moved by rgrimes)
Add support for kern_devconf structure.
1995-05-10 15:19:29 +00:00
jfieber
af1e01077f Toplevel reorganization and integration of Poul-Henning Kamp's section
on the booting process.
1995-05-10 11:34:07 +00:00
asami
d55102e290 Add new variable to override the "hey foobar-1.2.3 is already installed"
warning from fake-pkg.
# FORCE_PKG_REGISTER - If set, it will overwrite any existing package
#                      registration information in ${PKG_DBDIR}/${PKGNAME}.
1995-05-10 09:30:09 +00:00
jkh
3db059f37f Sync up to Poul - use his new Create_Chunk_DWIM() function and use the pointer
it passes back.  Thanks, Poul!
1995-05-10 09:25:49 +00:00
jkh
7dba2e32f5 Make sure that mountpoints start with a /. 1995-05-10 08:03:21 +00:00
jkh
4360e4402f Whoops - dispatch() takes multiple args now. 1995-05-10 08:00:47 +00:00