Commit Graph

2420 Commits

Author SHA1 Message Date
gpalmer
74901e9cfe Move `ft' into machine-dependant section. 1994-10-15 00:08:57 +00:00
ache
9cd061f6c1 revision 1.6
date: 1994/03/06 08:55:02;  author: ache;  state: Exp;  lines: +4 -1
Stop count getty spacing problem, if we issue kill -1 1
----------------------------
revision 1.5
date: 1994/03/04 17:51:39;  author: ache;  state: Exp;  lines: +9 -2
I got a lot of
"getty repeating too quickly on port %s, sleeping"
from init.bsdi, it means that getty start and exit in five seconds.
This is common situation for poor quality Russian phone lines:
modem got CONNECT message and after retries got NO CARRIER.
So I introduce spacing count, it means that this warning and
sleep occurse only after GETTY_NSPACE times of sequental attempts.
----------------------------
revision 1.4
date: 1994/02/28 21:53:52;  author: ache;  state: Exp;  lines: +71 -10
I found (and fix) ugly bugs in init.bsdi (this bugs not present
in old init)

1) Init don't setup TERM environment variable for default terminal
type from /etc/ttys before calling getty/window.

2) When "kill -1 1" issued, init don't restart getty when
/etc/ttys parameters was changed (it only kill "off" end empty entries).

3) Small memory leak if "window" /etc/ttys parameter specified and
"kill -1 1" issued.

Obtained from: FreeBSD 1.x
1994-10-14 17:15:40 +00:00
jkh
0d689fc0c6 Add ft.
Submitted by:	babb
1994-10-14 06:14:58 +00:00
jkh
55606da7ca Put back the `:' in the trinary ?: so this can actually compile again! :) 1994-10-13 08:46:44 +00:00
phk
2718983b3c Added '-F file' option of mount_mfs. This allows me to make floppy images
without waiting for my floppy-drive all the time :-)  Might have other
interesting uses too.
1994-10-12 22:04:36 +00:00
dg
0c0e5e4cbf Backed out part of the last change that prevents the rpos table from
being output if <= 1 rpos; there is a bug in the kernel which doesn't
quite get along with this. Changed default #rpos to 1, and fixed up
manual page. Converted nrpos to 1 if user specifies 0.
1994-10-09 20:10:56 +00:00
ache
ff7b200770 Modify adjkerntz to not write RTC clock per initial call,
suggested by Bruce
1994-10-04 19:15:13 +00:00
gpalmer
a987b83b96 Moce comcontrol, fdisk & mount_msdos out of machine-independance into
an I386 specific statement. Also add necessary code to allow
machine-dependance in this makefile

Reviewed by:	rgrimes
1994-10-02 03:38:08 +00:00
dg
ece195ee54 Fixed manpage to conform to current reality.
Submitted by:	Rod Grimes, with additional sentence by me.
1994-10-01 20:00:28 +00:00
dg
c32e69883f 1) If nrpos <= 1, don't output rpos table (and set fs_cpc to 0) - disabling
the use of the rotational position table.
2) Allow specification of 0 rotational positions (disables function).
3) Make rotdelay=0 and nrpos=0 by default.

   The purpose of the above is to optimize for modern SCSI (and IDE) drives
that do read-ahead/write-behind.
1994-10-01 16:56:22 +00:00
dg
707f608bbf Corrected message when no rotational position table is found. 1994-10-01 16:53:53 +00:00
pst
b4529a6011 This commit was generated by cvs2svn to compensate for changes in r3248,
which included commits to RCS files with non-trunk default branches.
1994-09-30 21:16:09 +00:00
pst
4e04b757fb Router Discovery from Sun Microsystems 1994-09-30 21:16:09 +00:00
pst
ef693fbb3f This commit was generated by cvs2svn to compensate for changes in r3245,
which included commits to RCS files with non-trunk default branches.
1994-09-30 20:47:35 +00:00
pst
f6f60cfa00 Router discovery code - Courtesy Sun Microsystems 1994-09-30 20:47:35 +00:00
ache
445ab444e1 Add code to skip "userquota"/"groupquota" options needed for
quotaon/quotacheck
1994-09-29 16:39:26 +00:00
pst
f37e6d1e5d disklabel will dump core if you give it too few numbers to process
Obtained from: NetBSD misc/490 - John Kohl
1994-09-26 04:45:11 +00:00
wollman
6f50e987e1 Fix one more _PATH_UNIX. 1994-09-24 03:18:32 +00:00
wollman
193a8fae68 Get rid of _PATH_UNIX completely; use getbootfile(3) instead.
DANGER WILL ROBINSON!
_PATH_UNIX is currently defined as the literal string "don't use this".
I am of two minds about this myself, but wanted to get something into the
tree as quickly as possible.
1994-09-24 00:08:43 +00:00
wollman
c29596a5e9 Document more MIB variables. 1994-09-23 19:04:02 +00:00
wollman
6c462c3384 Add two new flags:
-q just shut up, will you?!
	-u unlink output file after successful load
1994-09-22 22:35:53 +00:00
wollman
eeef7952c3 Automatically load NFS and a bevy of other filesystems. 1994-09-22 22:17:02 +00:00
wollman
e1b54223d3 Automatically load filesystem if not present in system and loadable. 1994-09-22 02:15:34 +00:00
wollman
68f50003d4 Use getvfs* functions to map between VFS types and names.
Automatically load UFS if it is not present but is loadable.
(This won't happen now, but could happen if we fix NFS diskless support.)
1994-09-22 02:07:33 +00:00
ache
a08af613f2 Correction for new sysctl interface 1994-09-19 23:18:41 +00:00
ache
3eb6939663 rewritted to use sysctl, no more /var/run/.adjkerntz now 1994-09-19 23:09:34 +00:00
dfr
dd8c8f9320 Added support for MSDOS file systems. 1994-09-19 18:47:12 +00:00
dfr
7a224749be Added mount_msdos.
Obtained from: NetBSD
1994-09-19 15:30:36 +00:00
ache
1ff9a5aeb0 bugfix: change gidset[] type from int to gid_t 1994-09-19 13:52:38 +00:00
dg
d7b47a4961 Various fixes:
modload doesn't honor it's -p argument.

It also will destroy the input file when you don't specify an output
symbol file with -o.

Submitted by:	John Kohl
1994-09-18 04:12:13 +00:00
wollman
375660a3eb Per discussion on the mailing-lists, move LKMs from /sbin to /lkm, and
arrange for that directory to get created by mtree.  Also, process secure
directory after all the others, because the programs there may overlay
ones installed from the main part of the tree.
1994-09-16 20:24:29 +00:00
bde
19e34663ff Don't exit early if the device is not character special or if the
device driver cannot supply a label (real or faked).  This allows
you to practice using fdisk on disposable media (e.g., "dd count=1
<dev/zero >/tmp/junk; fdisk /tmp/junk", "dd count=1 </etc/passwd
>/tmp/fix-up-the-mess; fdisk /tmp/fix-up-the-mess") and allows me
to test DOSpartitioning and labelling on floppies.
1994-09-15 20:19:51 +00:00
pst
a3e0f2ece4 Missing 'break' after setting interface route flag was causing interface
routes to not be properly marked as static.
1994-09-15 08:35:37 +00:00
phk
f82deafeb9 Fixed a bug where mount_nfs would core-dump if used with IP# directly.
Also moved some KERBEROS related stuff inside the #ifdef.

Should we always try to do a reverse lookup (IP#->name) ?
It has som merit, but is probably against the tradition or huh ?
1994-09-15 02:06:59 +00:00
wollman
da9e71aeaf Add ip_mroute_mod, if NOLKM is not defined. 1994-09-14 22:23:47 +00:00
wollman
4b0311770d Makefile to generate the ip_mroute_mod.o LKM. After talking this over
with DavidG, I've come to the conclusion that unless and until we define
a new directory to put these things in, /sbin is the right place.
(OSF/1 does a lot worse for non-executables in /sbin...).
1994-09-14 22:11:51 +00:00
dg
c5f5d0f6cb Fixed slattach to do flags ioctl via network device rather than tty.
Submitted by:	Rich Murphey, and fixed up by me.
1994-09-14 05:40:56 +00:00
jkh
450da21275 Add fdisk to SUBDIR. 1994-09-13 05:32:20 +00:00
dg
5aeef1c7cd Woops, last patch was by Wolfgang Solfrank. 1994-09-09 11:16:03 +00:00
dg
07c3866a6e Two fixes from the NetBSD group (Charles Hannum):
1) dir.c: get byte order right in mkentry()
2) pass1.c: When doing -c2 conversion, do secsize reads for a symlink -
   not doing so was causing the conversion to fail because the device
   driver can't deal with short reads.
1994-09-09 11:06:27 +00:00
pst
644accfcba Fix endian bug introduced at Berkeley during the Net2->4.4-lite transition.
Fix is courtesy of the NetBSD folks.

Reviewed by:	pst
1994-09-08 01:06:46 +00:00
dg
cd9e971bec Get rid of the need for the readonly mandatory option - set readonly
flags regardless of whether the user specified it.
1994-09-07 15:07:43 +00:00
bde
691be49b3a Fix punctuation. 1994-09-05 13:54:02 +00:00
jkh
4209b935fe What cretin named both a global and a function "reboot"? Global
changed to Reboot.
Submitted by:	jkh
1994-08-28 10:00:49 +00:00
nate
398581a79d Bring in my changes from the 1.1 init.bsdi which causes a reboot (was a
halt before)  if init is sent an interrupt signal.  This is necessary
for <CTL><ALT><DEL> to do the right thing if enabled.
1994-08-27 21:32:01 +00:00
dg
51f508b800 Added comcontrol ...this thing *really* should be renamed. 1994-08-26 16:30:55 +00:00
dg
b75c2875e2 Set fs_clean. 1994-08-26 10:41:13 +00:00
rich
6276564167 Once again, slattach sources ported from 1.1.5 with fixes.
Reviewed by:	davidg, bde
Submitted by:	rich
1994-08-23 08:28:32 +00:00
rich
3492ba7f66 Slattach ported from 1.1.5 plus Bruce Evans suggested fix (close
FDs and fork before redialing) to prevent dialer from hanging with
newer sio.c.

Also moved history from the source to the cvs log (here) per
David G's suggestion.

This compiles but needs testing now...  Rich

/*
 * Hacks to support "-a|c|n" flags on the command line which enable VJ
 * header compresion and disable ICMP.
 * If this is good all rights go to B & L Jolitz, otherwise send your
 * comments to Reagan (/dev/null).
 *
 * nerd@percival.rain.com (Michael Galassi) 92.09.03
 *
 * Hacked to change from sgtty to POSIX termio style serial line control
 * and added flag to enable cts/rts style flow control.
 *
 * blymn@awadi.com.au (Brett Lymn) 93.04.04
 *
 * Put slattach in it's own process group so it can't be killed
 * accidentally. Close the connection on SIGHUP and SIGINT. Write a
 * syslog entry upon opening and closing the connection.  Rich Murphey
 * and Brad Huntting.
 *
 * Add '-r command' option: runs 'command' upon recieving SIGHUP
 * resulting from loss of carrier.  Log any errors after forking.
 * Rich 8/13/93
 *
 * This version of slattach includes many changes by David Greenman, Brian
 * Smith, Chris Bradley, and me (Michael Galassi).  None of them are
 * represented as functional anywhere outside of RAINet though they do work
 * for us.  Documentation is limited to the usage message for now.  If you
 * make improovments please pass them back.
 *
 * Added '-u UCMD' which runs 'UCMD <old> <new>' whenever the slip
 * unit number changes where <old> and <new> are the old and new unit
 * numbers, respectively.  Also added the '-z' option which forces
 * invocation of the redial command (-r CMD) upon startup regardless
 * of whether the com driver claims (sometimes mistakenly) that
 * carrier is present. Also added '-e ECMD' which runs ECMD before
 * exiting.
 *
 * marc@escargot.rain.com (Marc Frajola) 93/09/10
 *
 * Minor fixes to allow passive SLIP links to work (connections with
 * modem control that do not have an associated dial command). Added
 * code to re-check for carrier after dial command has been executed.
 * Added SIGTERM handler to properly handle normal kill signals. Fixed
 * bug in logic that caused message about no -u command to be logged
 * even when -u was specified and the sl number changes. Tried to get
 * rid of redundant syslog()'s to minimize console log output. Improved
 * logging of improper command line options or number of command
 * arguments. Removed spurious newline characters from syslog() calls.
 *
 * gjung@gjbsd.franken.de
 *
 * sighup_handler changed to set CLOCAL before running redial_cmd.
 * added flag exiting, so exit_handler is not run twice.  Fork
 * before reopening tty.
 */
1994-08-23 08:07:17 +00:00
dg
5d3f6f3b9b Nuked the 2 second DTR wait; this is handled correctly in the sio driver. 1994-08-23 04:42:45 +00:00
ache
952b839fd4 adjkerntz added 1994-08-22 20:21:31 +00:00
dg
85171386d8 Better support for clean bit: prompt the user to fix it if it's wrong
when not preening, and indicate if it was fixed when preening.
1994-08-21 08:47:10 +00:00
dg
2c49a7e8c7 Install aliases "fasthalt" and "fastboot" for halt and boot respectively.
This is for "backwards compatibility". Documented these aliases in the
manual page.
1994-08-21 05:48:34 +00:00
dg
ae64eec680 fastboot is no longer - don't install it. 1994-08-21 04:57:00 +00:00
dg
e8bc11408c Added a "clean" field to the output - to show the state of the clean flag. 1994-08-20 16:57:45 +00:00
dg
d138b7abb9 Added filesystem clean bit support. This only affects fsck during a
preen (-p), and in that case the filesystem is skipped if it is clean.
A new flag "-f" for 'force' has been added which basically gives back
the old behavior of checking all the filesystems all the time. This
very closely models the behavior of SunOS and Ultrix.
1994-08-20 16:56:36 +00:00
dg
e8756dc097 Killed explicit OS specification. 1994-08-19 13:40:41 +00:00
dg
7446fa95f8 Kill explicit OS specification. 1994-08-19 13:39:20 +00:00
dg
c32016b087 NetBSD -> FreeBSD 1994-08-19 13:29:23 +00:00
dg
86df58d019 netbsd -> kernel, NetBSD -> FreeBSD 1994-08-19 13:28:21 +00:00
dg
af3f714add Terry Lambert's loadable kernel module support - modload & modunload
utilities w/improvements from the NetBSD group.
1994-08-19 12:07:23 +00:00
wollman
5d2f25e02e `init' needs crypt() for insecure consoles. 1994-08-15 02:45:37 +00:00
jkh
4df29b575a Make keywords.h get properly built.
Submitted by:	jkh
1994-08-14 06:57:34 +00:00
dg
98672b296b Use nulls to pad proctitle rather than spaces...makes ps(1) output more
readable.
1994-08-11 13:40:58 +00:00
wollman
a9a63df96b Suppress irritating extra newline after kern.boottime. 1994-08-08 15:37:35 +00:00
dg
475bdabd4d Added support for setting the per-interface MTU. 1994-08-08 10:45:06 +00:00
wollman
a006c507c4 Delete obsolete references to librpc.a. 1994-08-08 00:09:22 +00:00
wollman
d7fca5c189 Get rid of update. Make man page installation work with our scheme
(and rename a few in the process).
1994-08-05 16:31:05 +00:00
dg
44d9b49523 Changed output formatting to accurately represent the precision. 1994-08-05 10:34:19 +00:00
dg
6b466831f4 Converted 'vmunix' to 'kernel'. 1994-08-05 09:14:37 +00:00
wollman
57ea13e98c Convert to our man installation style. Also fixed long-standing bug
in `fastboot'/`fasthalt' in which the interpreter would hang around
after `reboot' or `halt' is run, causing an irritating ``Killed'' message.
1994-08-05 02:42:42 +00:00
dg
bd5cd438f2 Fixed so that it can grok old style "fastlinks". 1994-08-02 12:54:27 +00:00
dg
b0756e8093 Don't call getmntopts with a null pointer as an option string; it'll
dereference it. Pass optarg from getopts as it should have been done.
This bug caused mount_cd9660 to segfault whenever -o was used.
1994-08-02 11:45:43 +00:00
dg
5ccbe6e80a Fixed NULL pointer dereference that occured when any options were
specified.
1994-08-02 11:42:10 +00:00
jkh
f19145b0c6 Update this to the latest version from Steve Gerakines. This is an easy
drop-in for me and looks substantailly neater than the previous version,
so I'll give the floppy tape users a break (but just this once :).
1994-06-22 04:49:04 +00:00
rich
c2b2b84657 Changes from Paul Kranenburg which bring us into sync with his sources:
handling of errors through the standard err() and warn()
 more fixes for Geoff Rehmet's NULL pointer bug.
 fixes NULL pointer bugs when linking mono and nested X servers.
 supports a `-nostdlib' option.
 accept object files without a symbol table
 don't attempt dynamic linking when `-A' is given

a few variable names have chaged (desc -> fd), and the formatting has
changed which should make it much easier to track his sources.

I tested 'make world' for /usr/src and X twice with these changes.
1994-06-15 22:41:19 +00:00
ats
501bc7bff2 Commented out a pointer to qtar(1), we don't have that yet.
Changed the -description in the SYNOPSIS to description.
1994-06-07 21:38:23 +00:00
ats
dee20cb856 Add the -r and -s flags to the Usage string. 1994-06-05 19:04:11 +00:00
ache
355d4fac40 From Bde:
o Rewrote lots of it to be more like stty.1.  The old one was
	  too verbose and the complicated options no longer exist.
1994-05-30 03:50:01 +00:00
ache
d810debdee From Bde:
o Removed bidir options.
1994-05-30 03:49:16 +00:00
rgrimes
eb95a6d0ed I know better than to edit files on freefall, next time take a patch file.
Change vm_paramh. to vm_param.h
1994-05-28 16:21:59 +00:00
rgrimes
27cc923b00 Remove old style manual page depends so make install with NOMAN set
can run.
1994-05-28 06:29:36 +00:00
rgrimes
60f621d1e7 Disable afterinstall: for manual pages until the manual page fix patch
comes in.
1994-05-28 06:27:25 +00:00
rgrimes
8f84cfce8d Remove stuff for building manual pages the old way. 1994-05-28 06:25:34 +00:00
rgrimes
b3f47bced3 Comment out missing programs fsdb icheck and ncheck.
Comment out porting work needed program scsiformat.
Remove XNSrouted and routed as they have been moved to usr.sbin.
Reviewed by:
Submitted by:
1994-05-28 06:24:51 +00:00
rgrimes
f2fe00c5a1 Must now include vm/vm.h and vm/vm_param.h due to the way we define KERNBASE.
Reviewed by:	David Greenman
1994-05-28 04:15:16 +00:00
rgrimes
c4a97c8db4 Don't build /sbin shared. 1994-05-28 03:56:49 +00:00
rgrimes
d038e02fd6 BSD 4.4 Lite sbin Sources
Note:  XNSrouted and routed NOT imported here, they shall be imported with
usr.sbin.
1994-05-26 06:35:07 +00:00
rgrimes
ba88c9f934 This commit was generated by cvs2svn to compensate for changes in r1558,
which included commits to RCS files with non-trunk default branches.
1994-05-26 06:35:07 +00:00
rgrimes
cfcc93eec9 BSD 4.4 Lite sbin Sources
Note:  XNSrouted and routed NOT imported here, they shall be imported with
usr.sbin.
1994-05-26 06:35:07 +00:00
rgrimes
862fdf11a2 BSD 4.4 Lite usr.sbin Sources 1994-05-26 05:23:31 +00:00
rgrimes
0882205071 This commit was generated by cvs2svn to compensate for changes in r1553,
which included commits to RCS files with non-trunk default branches.
1994-05-26 05:23:31 +00:00
jkh
70389bd501 Latest error correction code from Steve Gerakines 1994-05-20 10:09:46 +00:00
ache
0812f6412e FILES entry corrected 1994-05-03 18:50:13 +00:00
jkh
30d7ba45a9 Fix gross spelling and typographical errors pointed out by Keith Bostic. 1994-04-24 01:22:07 +00:00
ats
a0baf1752c Better link ldconfig static instead dynamic. 1994-04-13 20:49:42 +00:00
ats
a44d417a90 Add that /usr/X386/lib is also in the default path for ldconfig. Bug found
by Satoshi Asami ( asami@cs.berkeley.edu ). Fixed also a minor typo
problem.
1994-04-05 08:24:19 +00:00
jkh
477937c24f This is Paul K's latest set of ld changes. A commit was necessary at this
late stage due to the fact that link.h was copyright Sun Microsystems.

This version of ld sync's us up with NetBSD's ld and supports compatablily
with NetBSD's -[zZ] flags (which we had reversed).  Compiling with this
new ld will give you RRS warnings for libraries which do not contain .type
infomation - these wsarnings are harmless and will go away as soon as you
recompile your libraries (cd /usr/src; make libraries).
1994-02-13 20:43:13 +00:00
nate
32c86468ca Changed NetBSD -> FreeBSD 1994-02-11 12:12:51 +00:00
rgrimes
e304b184f1 Manual is in section 8, you MUST say MAN8= for this to work. Add $Id$ 1994-02-07 08:40:16 +00:00
alm
4268923cf0 import floppy tape controller 1994-02-07 04:36:09 +00:00
alm
1d1ee9bd32 This commit was generated by cvs2svn to compensate for changes in r1112,
which included commits to RCS files with non-trunk default branches.
1994-02-07 04:36:09 +00:00
alm
41420413ce import floppy tape controller 1994-02-07 04:36:09 +00:00
ache
1cb41ef19c Cosmetique patch from bde 1994-02-05 11:42:48 +00:00
ache
0945afb843 Fix sign of offset diff.
Use Bruce initial/final hour scheme to avoid critical hours.
1993-12-20 01:53:27 +00:00
nate
e0628cc99d Fixed Makefile per bug report from Julian Stacey. There was an extra DESTDIR
in front of BINDIR definition.
1993-12-16 21:51:27 +00:00
ache
788c91c4db Attempt to import adjkerntz... 1993-12-16 18:44:40 +00:00
ache
6cf533db65 This commit was generated by cvs2svn to compensate for changes in r867,
which included commits to RCS files with non-trunk default branches.
1993-12-16 18:44:40 +00:00
ache
ce3a8a219a Change default dtrwait time to 2 seconds. 1993-12-16 04:40:45 +00:00
ache
5d03fae868 Man page added. 1993-12-10 19:27:16 +00:00
ache
d854ea5990 Modified for work without options COM_BIDIR into kernel. 1993-12-10 19:26:20 +00:00
ache
d491944597 Add 'dtrwait <n>' option to comcontrol to handle
TIOCM[SG]DTRWAIT ioctl.
1993-12-10 01:08:47 +00:00
jkh
90b65690ec Many recent fixes from Paul K, add support for chaining of shared lib deps. 1993-11-30 20:47:54 +00:00
paul
4d78d6f7a6 Cahnged ldconfig.0 to ldconfig.8 for our man system. 1993-11-09 20:39:46 +00:00
paul
62cf7a7029 Updated to newest ld from pk.
lib.c:
Pull in archives containing definitions needed by shared objects.
warnings.c:
Less spurious "undefined symbol" msgs for shared library defined
symbols.
ld.c:
Do a better job of recognising data in text segments, eg. `const char []'.
shlib.c,ld/rtld/{Makefile rtld.c}
Use strsep() in stead of strtok() and restore colons in eg. env. vars.
1993-11-09 04:19:36 +00:00
paul
0ec4b5ba38 Changed ldconfig.0 to ldconfig.8 for our man setup. 1993-11-06 23:15:53 +00:00
paul
66fdbc00cf Imported NetBSD's ld for shared libs. 1993-11-03 23:41:59 +00:00
rgrimes
b5b37b7f12 The fdisk man page doesn't show correctly the usage possibilities of
fdisk.  It was missing the disk argument.

From: Andreas Schulz <ats@g386bsd.first.gmd.de>
1993-08-10 10:31:35 +00:00
root
20c65c6730 New manual page system 1993-07-02 06:10:31 +00:00
rgrimes
854999a7d1 Initial import, 0.1 + pk 0.2.4-B1 1993-06-12 14:58:17 +00:00