Commit Graph

586 Commits

Author SHA1 Message Date
asami
932ae34a60 Add CCDF_MIRROR and CCDF_PARITY to list of flags. 1996-01-31 11:04:52 +00:00
joerg
317e9e174f A better algorithm to place the numbers on the lines.
Submitted by:	satoshi
1996-01-30 23:14:34 +00:00
asami
f600d378b4 Add mirror and parity flags to list of symbolic names. 1996-01-30 22:25:24 +00:00
peter
3b195d769a Add rdisc to subdirs.. It works for me. :-) (Thanks Bill!) 1996-01-30 18:44:42 +00:00
ache
26ca6e5147 Add missing comma in usage printf 1996-01-30 17:38:45 +00:00
mpp
62cdcaa268 Fix even more spelling errors in some more man pages. 1996-01-30 16:34:52 +00:00
mpp
511d4f82b2 Fix a bunch of spelling errors in a bunch of man pages. 1996-01-30 13:52:50 +00:00
asami
0ad6f33841 ccdcontrol -> ccdconfig. 1996-01-30 01:25:40 +00:00
mpp
0d925cfda3 Fix a bunch of spelling errors. 1996-01-29 23:52:43 +00:00
wosch
e52fdfe1fa A manpage. May be the file nologin.5 should located in
src/share/man/man5.
1996-01-28 23:49:05 +00:00
joerg
8b13b00640 Make the numbers for the "superblock backups" fit nicely on the screen,
even for larger partitions.  Until now, partition sizes > 500 MB messed
up the screen.
1996-01-25 23:44:32 +00:00
pst
7cd0dfbb46 Disclaimer redundant and man page cleanups 1996-01-22 23:31:20 +00:00
mpp
86b8da3dd4 Change the reference to format(8) (which we don't have) to fdformat(1) and
scsiformat(8) (which we do have).  Closes PR# 663.
1996-01-22 12:55:16 +00:00
joerg
fb2cd624b1 Finally implement the "auto" disktype. It attempts to get all the
required information from the driver, and produce a virgin disklabel
for it.  The latter might be further edited with `disklabel -e' to
satisfy the user's need.

The magic sequence is:

	disklabel -r -w sdX auto
	disklabel -e sdX
1996-01-22 01:01:15 +00:00
joerg
663b14fb2f Declare functions, resolve printf-format warnings. 1996-01-21 23:55:47 +00:00
mpp
67ab82dff8 Route calls the errx routine with the wrong number of arguments
when printing "route: bad address: ...".
1996-01-20 12:56:57 +00:00
peter
694a4ce271 Source cleanup: prototypes, varargs, POSIXification, getopts, -Wall clean.
Bugfixes: no longer stomps it's argv causing ps to change the string.

Unfortunately, Bill Fenner and I have overlapping changes here...
1996-01-19 10:22:00 +00:00
fenner
83b323c8bd Made router discovery at least build and run. There are a few things
left to do (e.g. it doesn't yet run on systems with aliased addresses)
but this should work for simple configurations.

I don't plan to enable the rdisc directory in the sbin/ makefile until
I get feedback on this and add the missing features, so please, if you
have routers that perform router discovery, or if your FreeBSD box is
itself a router, give this a try.
1996-01-19 01:28:30 +00:00
peter
250a8d27d3 Yet another "fix" for some of the mistakes in the recent versions..
I discovered that when asking for the IFLIST via sysctl(), if you
specify only AF_INET address, it actually gives you only AF_INET..
(suprise, suprise..!)

Now, it should "do the right thing" in just about all cases...  The only
problem, is that "the right thing" isn't exactly clear in all cases.
1996-01-08 10:23:25 +00:00
peter
bb732328ce Fix some of my mistakes, slight cleanup, improve reliability (the old
ifconfig would segfault on "ifconfig ed0 ether up" and the like).

The main reason for this commit was that an "ifconfig -a" would also show
the AF_INET addresses in AF_IPX form (if the kernel was configured for IPX)
due to insufficient AF checking in my "new way" of doing it.
1996-01-08 03:46:27 +00:00
phk
ba5752821f Move some tables to "const" and remove some unused vars. 1996-01-07 22:32:35 +00:00
jmz
fe185d60f1 Fix the spelling of 'partition'. 1996-01-04 02:00:16 +00:00
adam
c81b66ce4c oops, do it right this time 1996-01-03 11:48:14 +00:00
adam
36a9cef9cd Link with libutil for kerberos too 1996-01-03 11:37:46 +00:00
wollman
631e2e6321 Clean up GCC warnings, condition out some compatibility cruft, add $Id$.
Pointed-out-by: jmb
1996-01-02 20:09:22 +00:00
peter
76ccec8b12 My really ugly hack to ifconfig to make it pick up interface aliases
and the ethernet address for non-root users.

I apologise to the world for propagating the ugliness of some of the code
constructs within ifconfig...  Fixing them would just abou mean rewriting
most of the function call interfaces, something I didn't have the stomach
for. :-)
1996-01-01 09:05:22 +00:00
peter
ae296d3181 Make nfsd use setproctitle from libutil...
Old code is still #ifdef OLD_SETPROCTITLE for comparison with the old
code.
1996-01-01 08:39:39 +00:00
peter
5e9ed8caa7 Add hooks into the mount_mfs code in newfs to do the FreeBSD-style
LKM loading if it was not configured into the system.

Note that the LKM for MFS is not enabled by default, but I got it working on
my machine..  I'll see what I did..
1996-01-01 08:37:28 +00:00
peter
c3f352d4ad This commit was generated by cvs2svn to compensate for changes in r13122,
which included commits to RCS files with non-trunk default branches.
1995-12-30 19:02:48 +00:00
peter
ab124e78b0 recording cvs-1.6 file death 1995-12-30 19:02:48 +00:00
asami
bcd430b53f Added $Id$. 1995-12-28 00:22:45 +00:00
asami
3235973260 Make it work for FreeBSD-2.1. 1995-12-27 10:57:20 +00:00
asami
f0580cc342 This commit was generated by cvs2svn to compensate for changes in r13049,
which included commits to RCS files with non-trunk default branches.
1995-12-27 10:56:35 +00:00
asami
d296466eaa Makefile. 1995-12-27 10:56:35 +00:00
asami
16c98a53b1 This commit was generated by cvs2svn to compensate for changes in r13047,
which included commits to RCS files with non-trunk default branches.
1995-12-27 10:55:32 +00:00
asami
15c061b3b7 Oops, forgot pathnames.h. 1995-12-27 10:55:32 +00:00
asami
1440ca4ea7 ccdcontrol from NetBSD-1.1. Note it was called "ccdconfig" originally. 1995-12-27 10:51:05 +00:00
asami
ed91dac113 This commit was generated by cvs2svn to compensate for changes in r13044,
which included commits to RCS files with non-trunk default branches.
1995-12-27 10:51:05 +00:00
joerg
5f3152c422 Put the superfluous "DUMP:" back in the statistics line, to make
Amanda happy.
1995-12-23 11:53:56 +00:00
phk
160da4bc8b The rewamped sysctl program that will find all the variables itself.
Also a couple of handy new options.
1995-12-21 12:39:25 +00:00
peter
56f17dc307 The version of setproctitle() inside nfsd was busted. It was not terminating
the argv array, causing parts of the argv[0] to be picked up several times
by libkvm, causing strange ps results for the nfs-server and nfs-master
processes.. :-]

(How many copies of setproctitle() do we need anyway?  NetBSD has it in
 libc and BSDI have it in libutil.)
1995-12-15 13:13:32 +00:00
peter
e93aa4ed1d Add #include <vm/pmap.h> in order to make savecore compile again after the
last round of <vm/*.h> include file changes.
1995-12-13 11:36:20 +00:00
wollman
ff7271fe70 Use a dynamically-sized buffer for SIOCGIFCONF so that `ifconfig -a'
actually retrieves all the information no matter how many interfaces
there are.  (Probably there are other utilities which need similar
modification.)

Submitted by:	Andrew Webster <awebster@dataradio.com>
1995-12-07 19:21:53 +00:00
joerg
fb91b3e1a9 Make the default tape device match dump(8). 1995-11-26 16:57:37 +00:00
peter
ca6a9b5f34 Connect fsdb to /sbin makefile... 1995-11-24 23:17:58 +00:00
peter
9d1a359ff5 Adjust relative paths in Makefile to ../sbin/fsck and ../../sys/ufs/ffs 1995-11-24 23:12:00 +00:00
joerg
23c0dfac90 Andreas Klemm's patch set for dump(8), with some minor (cosmetic)
changes and one addition by me.

. Use reasonable defaults for the tape drive (/dev/rst0) instead of
  something we actually don't have.

. Add a summary line displaying the alapsed time and the total throughput.

. Replace "rmt" for the remote location of rmt(8) by "/etc/rmt", since this
  is the historical protocol, and relying on the $PATH causes a big pain.
  Make it adjustable via an environmental variable though.

Reviewed by:	joerg (for Andreas' part)
Submitted by:	andreas@knobel.gun.de (Andreas Klemm)
1995-11-18 18:00:43 +00:00
joerg
ef36b99558 Avoid bogus free() of a junk pointer.
Detected by: phkmalloc
Submitted by:	grog@lemis.de (Greg Lehey)
1995-11-17 23:22:34 +00:00
phk
bd70a3c2da Make sysctl compile again by removing all the debug stuff. 1995-11-17 16:28:42 +00:00
dima
b6116933b0 If root does not have a password, `init' should not ask to enter it.
otherwise it's not possible to get into single-user mode, if root
does not have password and console insecure.
1995-11-10 07:06:59 +00:00