Commit Graph

29964 Commits

Author SHA1 Message Date
bde
af9053c52e Fixed a printf format error. Didn't fix assumption that sigset_t is
integral.
1998-06-30 18:00:11 +00:00
bde
53e5892174 Fixed printf format errors. 1998-06-30 17:30:22 +00:00
bde
e9a4005006 Fixed scanf format errors. The error handling is not quite bug for bug
compatible.  I think small negative uids are handled compatibly but
other out of bounds ones are truncated differently for certain sizes of
uid_t.
1998-06-30 17:21:48 +00:00
bde
2312b6276f Fixed printf format errors. Don't assume so many things about time_t.
Obtained from:	partial merge of ADO version tzcode96h (was fully merged
                in 1.10 but backed out in 1.11; the FreeBSD code for %s
		was earlier, prettier but buggier).
1998-06-30 16:49:47 +00:00
sos
3f9005123d Leading whitespace in Makefile are TABS not spaces.... 1998-06-30 16:09:28 +00:00
bde
a468add075 Fixed printf format errors. 1998-06-30 15:19:51 +00:00
bde
eede544ec3 Nuked opt_defunct.h and kern_opt.c. config(8) now generates good enough
warnings about all unknown options.
1998-06-30 14:43:04 +00:00
jmg
21cfaa17d8 add new opt_nfs.h to cleanfiles... 1998-06-30 11:29:01 +00:00
jmg
95ee86d880 fix more of my breakage... :(
create opt_vmpage.h
1998-06-30 11:28:06 +00:00
phk
f22ffcd312 Sigh, we need this one now. 1998-06-30 11:20:19 +00:00
jmg
c8ef0cb9cd fix buildworld hopefully be3fore anyone complains...
NFS_*TIMO should possibly be converted to sysctl vars (jkh's suggestion),
but in some cases it looks like nfs keeps a copy of the value in a struct

hash sizes are already ifdef'd KERNEL, so there aren't userland inpact
from them...
1998-06-30 11:19:22 +00:00
phk
406115eeb3 These are a selection of small problems and annoyances with the netboot
code. Apart from the first one, none really affect typical configurations
but are nevertheless unnecessary limitations. We use netbooted PCs as
student X-terminals and all of the below fixes have been useful. Apologies
for including them all in one PR, but some are just too silly or trivial
to send on their own!

a)     Newer SMC cards have hardware addresses starting with 00:E0.
      Netboot compares the MAC address with 00:00:C0 to determine
      if it is a WD/SMC card, so it fails to detect these.

b)     Netboot is unable to boot kzipped kernels, as it assumes that
      the kernel load address is 0x100000.

c)     Users can abort the booting process and enter arbitrary network
      addresses, or boot from a floppy disk. This can be a problem when
      netbooted machines are used in a student environment.

d)     It is not possible to set all options via bootp. For example there
      is no way to remotely force a client to boot from disk. With both
      SECURE_BOOT(patch below) and NO_TFTP defined, short of unplugging
      the eprom there is no way at all to get the client to boot locally.
      A generic solution is to allow complete netboot commands to be sent
      using bootp lines such as:
	      :T132="diskboot":
e)     The last character of netboot command names is not checked. You
      can type 'iz 10.0.0.1' and it will be interpreted as 'ip'. This
      is only important if you try to add a new command which is the
      same as an existing one except for the last character.

f)     We have a configuration where multiple servers are willing to serve
      a diskless client. The tftp config file, or the bootptab entry on
      each server must specify the root and swap filesystems as 'ip:/fs'
      even though 'ip' will usually be the responding server's IP address.
      It would be nice if netboot could automatically prepend the server's
      IP address to an entry specified as just '/fs', so that multiple
      servers can use the same tftp or bootp configuration files. Admittedly
      this is hardly a major problem!

PR:		7098
Submitted by:	Ian Dowse <iedowse@maths.tcd.ie>
1998-06-30 11:10:29 +00:00
phk
32d70b3967 #include sys/libkern.h instead of stdlib.h.
PR:		7105
Reviewed by:	phk
Submitted by:	Robert Watson <robert+freebsd@cyrus.watson.org>
1998-06-30 11:05:11 +00:00
phk
cdd3d49d95 Byte count statistics of multicast vifs are invalid.
The problem is caused by a wrong endianess in the sum.

PR:		7115
Submitted by:	Joao Carlos Mendes Luis <jonny@jonny.eng.br>
1998-06-30 10:56:31 +00:00
jmg
b5aa561ef9 remove option LINUX as it did nothing, add DEBUG_LINUX to debug the
linux emulation...

(actually moved LINUX to opt_dontuse.h)
1998-06-30 08:40:33 +00:00
jmg
4ec564fe9d move OVERRIDE_TUNER from i386 to general options... it's not i386
specific
1998-06-30 08:32:51 +00:00
jmg
259c08f7ab document options to hardwire GUS irq/dmas... 1998-06-30 08:24:02 +00:00
jmg
d2eac828b0 document PCI_QUIET that prevents pci from compiling in so many strings 1998-06-30 08:13:27 +00:00
jkh
ad22b67422 Re-alphabetize and update the subdir descriptions.
PR:		7116
1998-06-30 08:08:05 +00:00
jmg
92fb44f7fe document some VM paging options for cache sizes:
PQ_NOOPT	no coloring
PQ_LARGECACHE	used for 512k/16k cache
PQ_HUGECACHE	used for 1024k/16k cache
1998-06-30 08:01:30 +00:00
jmg
9d60e9f53f make NO_SCSI_SENSE a proper option (already documented in LINT) 1998-06-30 07:47:44 +00:00
jmg
9ac79945c7 document and make EXPORTMFS a new style option 1998-06-30 07:36:33 +00:00
charnier
cd33291658 Add rcsid. Remove unused #includes. Use err(3) and check spelling. Reorganize
man page.
1998-06-30 06:28:18 +00:00
charnier
6dee3abbe8 Split usage string. 1998-06-30 06:23:42 +00:00
charnier
05c01b56f4 Document -r flag, document use of TAPE env variable. Add rcsid. Use err(3).
Remove unused vars (-Wall).
1998-06-30 06:22:08 +00:00
charnier
7bb53ac8a4 Do not dot terminate SEE ALSO list. Add rcsid, remove unused #includes. Err(3)
messages should start with a lowercase letter.
1998-06-30 06:18:44 +00:00
charnier
20389da2bf Add SYNOPSIS section and change NULL to NUL in man page. Add rcsid, missing
#includes. Use err(3).
1998-06-30 06:12:44 +00:00
charnier
8ec6fdf54b Add rcsid. Remove unused #includes. Use err(3). 1998-06-30 06:09:37 +00:00
jmg
0e50288276 convert some nfs tunables to options, these are:
NFS_MINATTRTIMO         VREG attrib cache timeout in sec
NFS_MAXATTRTIMO
NFS_MINDIRATTRTIMO      VDIR attrib cache timeout in sec
NFS_MAXDIRATTRTIMO
NFS_GATHERDELAY         Default write gather delay (msec)
NFS_UIDHASHSIZ          Tune the size of nfssvc_sock with this
NFS_WDELAYHASHSIZ       and with this
NFS_MUIDHASHSIZ         Tune the size of nfsmount with this
NFS_NOSERVER            (already documented in LINT)
NFS_DEBUG               turn on NFS debugging

also, because NFS_ROOT is used by very different files, it has been
renamed to opt_nfsroot.h instead of the old opt_nfs.h....
1998-06-30 03:01:37 +00:00
bde
df6e9974fc Fixed bogus dependency on `beforedepend'. File targets should never
depend on phony targets or they would always be out of date.
1998-06-29 18:52:33 +00:00
bde
b43cf77fb7 Don't assume that time_t is long. 1998-06-29 18:15:21 +00:00
bde
329ef73b32 Don't assume that time_t is long. Fixed printf format errors. 1998-06-29 18:12:08 +00:00
bde
6b98b4aca2 Don't assume that time_t is long. 1998-06-29 18:09:59 +00:00
bde
e98f798c6a Don't assume that time_t is long. 1998-06-29 17:54:29 +00:00
bde
64fc186e35 Don't assume that time_t is long. Fixed printf format errors (don't
assume that ntohl() returns long).
1998-06-29 17:51:39 +00:00
bde
be7e982a5e Don't assume that time_t is long. 1998-06-29 17:38:35 +00:00
bde
e93d50ef3b Don't assume that time_t is long. 1998-06-29 17:25:46 +00:00
bde
122886a1e0 Don't assume that time_t is long. 1998-06-29 17:06:00 +00:00
bde
0b0c5d1c4e Don't assume that time_t is long. Fixed printf format errors. 1998-06-29 16:47:08 +00:00
bde
46d0d58de9 Don't assume that time_t is long. Don't assume that time_t's can be
represented by ints.  Keep assuming that time_t's can be represented
by longs.
1998-06-29 16:30:43 +00:00
bde
d1ade19b07 Don't assume that time_t is long. 1998-06-29 15:52:49 +00:00
jkh
18a2201c57 Crank the max possible disks/slices constants way down.
The probe for this sometimes makes IDE drives chatter their guts out
and takes an inordinately long time in such cases..
1998-06-29 09:28:01 +00:00
hoek
470ab0badc Fix .Ar usage. Add .Xrefs as appropriate. 1998-06-29 07:04:08 +00:00
jkoshy
d7f48678b0 Fix bogon in man page. "-o conn" actually turns off NFSMNT_NOCONN as it is
a "negative" option.  This makes it equivalent to /not/ specifying "-c".
The compile time default is /not/ to have the NFSMNT_NOCONN flag set, so
"-o conn" should never be needed---truly a deprecated option :-).

PR: 6905.
1998-06-29 06:58:46 +00:00
hoek
92e0a1145f A little typos and grammer fixes. 1998-06-29 06:56:40 +00:00
hoek
9e15a0dbb1 SEE ALSO http://www.FreeBSD.ORG/ports 1998-06-29 06:54:34 +00:00
hoek
e254e8010a misc. spelling and grammar gnits. 1998-06-28 21:33:42 +00:00
bde
48baad5d7e Fixed printf format errors (second round with non-i386 typedefs). 1998-06-28 21:05:48 +00:00
bde
7368b18e56 Fixed printf format errors. 1998-06-28 21:00:04 +00:00
bde
31e25f7859 Fixed printf format errors. 1998-06-28 20:48:03 +00:00