Commit Graph

1403 Commits

Author SHA1 Message Date
jb
4b8d4a0db6 Fix the machine dependent SUBDIR I removed by mistake in the last commit. 1998-08-20 20:47:49 +00:00
bde
794b263e64 Fixed style bugs in previous commit.
Added some comments on #endifs.
1998-08-17 21:13:57 +00:00
dfr
9d76b8d766 Teach disklabel how to install a bootstrap on an alpha with SRM console. 1998-08-17 07:43:54 +00:00
jb
65fd91ef1b All but two if these build on alpha now, but most are untested.
ldconfig isn't required.
1998-08-15 13:21:41 +00:00
dfr
ea66ce0537 Use explicitly sized types when laying out the cylinder groups. This
bug was the cause of the 'freeing free frag' panics that people have been
seeing with FreeBSD/alpha. I have a similar patch to newfs but I've not
finished testing it.
1998-08-15 10:07:33 +00:00
charnier
cffb56f20c Forgot to remove a ';' in my previous commit. 1998-08-12 06:07:43 +00:00
jdp
f0c83d6638 Add "-aout" option when calling the linker, so that this will work
in an ELF world.  This will have to be revisited when the kernel
moves to ELF.
1998-08-12 02:39:23 +00:00
phk
37f25e0183 unifdef -UISO
Inspired by bdes comment to PR: 7419
1998-08-07 06:36:53 +00:00
markm
57b61e8f72 Fix LIBDIR (for aout/ELF). 1998-08-06 21:41:13 +00:00
thepish
e061cf0c53 PR: 7475
Added support for -q (suppress output) when firewall rules are taken from a
file. Solves PR 7475
1998-08-04 14:41:37 +00:00
phk
7b669ed62e There seem to be two messages that were added with soft-updates
support, which need a final "\n". I only observed one line of
mangled output, but I think there is another one which suffers
from the same problem, and thus I provide a patch that covers
both.

PR:		7483
Reviewed by:	phk
Submitted by:	Stefan Esser <se@FreeBSD.org>
1998-08-04 09:19:03 +00:00
charnier
63e35329b8 Use errx() instead of err() for malloc failures. -Wall. Do not dot
terminate errx() string. Remove unused #includes. Use .Tn for NFS.
1998-08-03 06:44:46 +00:00
charnier
9748b353e7 Document -n (soft-update) flag.
Add rcsid, remove unused #includes. Sync usage() and SYNOPSIS.
1998-08-03 06:41:20 +00:00
charnier
1486bebece .Nm swapon -> .Nm.
Sort #includes. Add rcsid.
1998-08-03 06:35:01 +00:00
charnier
2060c72365 Correct use of .Nm and .Ev.
Add rcsid, rmove unused #include. Spelling.
1998-08-03 06:32:57 +00:00
charnier
86f4cb4cac Typo: i. e. -> i.e.
Remove unused #include.
1998-08-03 06:24:59 +00:00
charnier
b2d9c8e584 Correct use of .Nm. Add rcsid. Do not dot terminate err(3) strings. Spelling. 1998-08-03 06:22:43 +00:00
charnier
30bf9afff2 Correct use of .Nm, add .An. 1998-08-03 06:19:47 +00:00
bde
2b7681ae86 Fixed printf format errors. 1998-08-02 16:06:35 +00:00
dfr
df71f013d2 Avoid trying to malloc > (1<<32) bytes of memory due to an arithmetic
underflow on the alpha.
1998-08-01 18:03:28 +00:00
joerg
8115016ee0 Document the kern.logsigexit sysctl variable (sort of).
Reminded by:	bde
1998-07-29 08:30:37 +00:00
imp
ce0e965b36 Commit patch from Tor Egge to fix the "large filesystem restore" problem.
This appears to work for me in the old case, but I don't have large
enough filesystems to test the fix case.

Reported working by: karl@mcs.net
1998-07-28 18:50:01 +00:00
charnier
4c2797a436 Spelling. Errx() on malloc() failure. 1998-07-28 06:42:38 +00:00
charnier
f12208ec5e Correct use of .Nm, add rcsid, remove unused #include. 1998-07-28 06:38:57 +00:00
charnier
c5d94e489e Spelling, add rcsid, remove unused #includes.
Convert 1000000 usec to 1 sec 0 usec.
Use provided safe malloc (rtmalloc()) instead of malloc(): exit on allocation
failure.
Correct use of .Nm
Add usage() and use errx().
1998-07-28 06:36:31 +00:00
charnier
a29ea56a51 Comment is .\" not .|'. Add -d and -t flags to SYNOPSIS and usage(). Getopt
returns -1. Correct use of .Nm. Spelling. Add rcsid and remove unused
#include.
1998-07-28 06:25:35 +00:00
charnier
821669d2be Add rcsid. Remove unused #includes. Add missing prototypes and others -Wall
cleanings. Spelling.
1998-07-28 06:20:16 +00:00
hoek
f25124165a Use an error message that more clearly indites(sp?) an out-of-sync
kernel+userland when that is the case.

PR:		bin/7414
1998-07-27 18:53:45 +00:00
bde
d2b927b4dc Fixed bugs in `disklabel -R...':
- nonstandard sector sizes didn't work because the sector size in the
  ASCII label was not read before a (default, wrong) sector size was used.
- the exit status was 0 after exiting early due to an invalid ASCII label.

Abort `disklabel -B...' if the secondary bootstrap doesn't fit.
1998-07-25 16:19:10 +00:00
phk
7fe824192b /usr/src/sbin/routed/parms.c and .../routed/rtquery/rtquery.c both
contain code that compare a char pointer with a char.  As this
doesn't make much sense, it looks very much as if a '*' has been
dropped by mistake.  I have made no analysis of the possible
consequences of the problem.

PR:		7319
Reviewed by:	phk
Submitted by:	Anders Thulin <Anders.X.Thulin@telia.se>
1998-07-22 05:49:36 +00:00
phk
e67aac5fd5 Memory management error in init.
PR:		7320
Reviewed by:	phk
Submitted by:	Anders Thulin <Anders.X.Thulin@telia.se>
1998-07-22 05:45:11 +00:00
joerg
5f6dc64d89 Document sef's recent changes in the corefile naming.
Reviewed by:	sef (well, i believe his `Looks good' was a review result :)
1998-07-21 18:16:16 +00:00
bde
88be20565c Backed out rev.1.9 (except don't bring back the vax code deleted
in rev.1.9).  fsck uses the per-partition ffs-related information
in the label to find alternate superblocks when the main superblock
is hosed.  Rev.1.9 broke this by deleting the code that wrote the
label.

PR:		2537
xref:		fsck/setup.c rev.1.8
1998-07-20 12:04:42 +00:00
bde
2254784057 Clear d_boot0 and d_boot1 in the virgin label. These are overlaid by
d_packname in in-core labels, so they are garbage if d_packname is
initialized in the dummy label for the whole disk.  dsopen() will soon
initialize d_packname to "fictitious" if it is not already initialized.

Fixed nearby error handling.  Rev.1.7 apparently confused Perror()
with perror().
1998-07-20 11:34:06 +00:00
rnordier
d67cf38c7d Minor consistency fixes. 1998-07-19 15:02:39 +00:00
rnordier
70e601255e Reverse charnier's changes to usage. 1998-07-16 12:24:51 +00:00
charnier
b082db81f5 Make it compile again in the !__STDC__ case.
Found by: Bruce.
1998-07-16 12:04:52 +00:00
charnier
c213a75249 Correct use of .Nm. Add rcsid. -Wall. Add -p flag in usage string (was missing). 1998-07-15 06:51:38 +00:00
charnier
65517f7d28 Correct use of .Nm. Add rcsid. Remove unused #includes. Use warn().
Errx(1, "malloc failed") is better than err(1, NULL).
1998-07-15 06:48:52 +00:00
charnier
89490d2ab5 Correct use of .Nm. Remove unused #includes. Use warn(). cosmetic in usage()
string.
Translate 0 sec 1000000 usec to 1 sec 0 usec.
1998-07-15 06:45:02 +00:00
charnier
07a19abe72 Do not uppercase first letter in syslog() string. 1998-07-15 06:38:53 +00:00
charnier
3b57dbf726 Add Id. .Nm nologin -> .Nm. 1998-07-15 06:37:07 +00:00
charnier
57de4b44a3 Correct use of .Nm. Do not dot terminate syslog() strings. Remove unused
#includes. Add rcsid. -Wall.
1998-07-15 06:35:20 +00:00
charnier
2d7179e242 Do not dot terminate syslog() string. Remove unused #includes. Add rcsid. -Wall. 1998-07-15 06:33:15 +00:00
charnier
343d2f4320 Correct use of .Nm. Remove unused #includes. Short usage() string, see man
page for details.
1998-07-15 06:30:38 +00:00
charnier
ed1bf58ee6 Add prototypes. Check malloc() return value. Use err(). Remove unused #includes
Do not \n nor dot terminate syslog()/err() messages. -Wall.
1998-07-15 06:28:05 +00:00
charnier
130964b262 Correct improper use of .Sm. Document -d flag. Correct use of .Nm. Remove
unused #includes. Add usage(). Use warnx(). Correct spelling. Abort when
malloc() fails.
1998-07-15 06:21:41 +00:00
charnier
176241215e .Nm mount_union -> .Nm. 1998-07-15 06:13:45 +00:00
charnier
332ab51b4a Correct use of .Nm. Use .Ar when appropriate. Remove unused #includes. Typos. 1998-07-15 06:12:32 +00:00
charnier
6da4393021 Correct use of .Nm. Remove unused #includes. 1998-07-15 06:08:47 +00:00