charnier
4d4ca48c85
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
0fc51bafab
Document -n (soft-update) flag.
...
Add rcsid, remove unused #includes. Sync usage() and SYNOPSIS.
1998-08-03 06:41:20 +00:00
charnier
3c48dac533
.Nm swapon -> .Nm.
...
Sort #includes. Add rcsid.
1998-08-03 06:35:01 +00:00
charnier
25f789f509
Correct use of .Nm and .Ev.
...
Add rcsid, rmove unused #include. Spelling.
1998-08-03 06:32:57 +00:00
charnier
36b4b3712e
Typo: i. e. -> i.e.
...
Remove unused #include.
1998-08-03 06:24:59 +00:00
charnier
0432758e6b
Correct use of .Nm. Add rcsid. Do not dot terminate err(3) strings. Spelling.
1998-08-03 06:22:43 +00:00
charnier
0d7f7325ec
Correct use of .Nm, add .An.
1998-08-03 06:19:47 +00:00
bde
b7b0859c3f
Fixed printf format errors.
1998-08-02 16:06:35 +00:00
dfr
09c162db9e
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
4a3c46b359
Document the kern.logsigexit sysctl variable (sort of).
...
Reminded by: bde
1998-07-29 08:30:37 +00:00
imp
d7d6a198df
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
535f0f82cc
Spelling. Errx() on malloc() failure.
1998-07-28 06:42:38 +00:00
charnier
b2d8598d95
Correct use of .Nm, add rcsid, remove unused #include.
1998-07-28 06:38:57 +00:00
charnier
cd64002d5d
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
6999d30e2e
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
fbfb398b38
Add rcsid. Remove unused #includes. Add missing prototypes and others -Wall
...
cleanings. Spelling.
1998-07-28 06:20:16 +00:00
hoek
4f1654fff4
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
c382e95b1e
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
eb2700b9ad
/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
7ebd4f74fb
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
9b0b785230
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
bde5ccb95a
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
870a72fe1f
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
015b51968a
Minor consistency fixes.
1998-07-19 15:02:39 +00:00
rnordier
f809e5b86b
Reverse charnier's changes to usage.
1998-07-16 12:24:51 +00:00
charnier
daf815e5f2
Make it compile again in the !__STDC__ case.
...
Found by: Bruce.
1998-07-16 12:04:52 +00:00
charnier
c4fa54fec2
Correct use of .Nm. Add rcsid. -Wall. Add -p flag in usage string (was missing).
1998-07-15 06:51:38 +00:00
charnier
6e84763280
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
4d8552339b
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
a46e51d63e
Do not uppercase first letter in syslog() string.
1998-07-15 06:38:53 +00:00
charnier
b5a0beec7f
Add Id. .Nm nologin -> .Nm.
1998-07-15 06:37:07 +00:00
charnier
2616457b9e
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
15dad0ac31
Do not dot terminate syslog() string. Remove unused #includes. Add rcsid. -Wall.
1998-07-15 06:33:15 +00:00
charnier
af028163bb
Correct use of .Nm. Remove unused #includes. Short usage() string, see man
...
page for details.
1998-07-15 06:30:38 +00:00
charnier
7d629dba71
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
118387f5a9
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
9263747c51
.Nm mount_union -> .Nm.
1998-07-15 06:13:45 +00:00
charnier
6972af9f15
Correct use of .Nm. Use .Ar when appropriate. Remove unused #includes. Typos.
1998-07-15 06:12:32 +00:00
charnier
ab2debff1b
Correct use of .Nm. Remove unused #includes.
1998-07-15 06:08:47 +00:00
jkoshy
1aec4a37c4
Fix inconsistent port numbering in man page.
...
PR: 7250
Submitted-by: Norihiro Kumagai <kuma@jp.freebsd.org>
1998-07-15 03:32:45 +00:00
jkoshy
bf57a7d1d1
Make `dump' exit codes confirm to manual page.
...
PR: 5346
Style-check-by: bde
1998-07-14 09:19:47 +00:00
jkoshy
2449535dc8
Add $Id$.
...
PR: 7249
1998-07-14 08:18:51 +00:00
phk
97a1a718bf
The '-h' option cannot toggle the kernel from a serial console
...
if the kernel was built with COMCONSOLE
PR: 7202
Reviewed by: phk
Submitted by: Greg A. Woods <woods@zeus.leitch.com>
1998-07-09 06:24:21 +00:00
jkoshy
158adf1eee
Add a CAVEAT section documenting the minimum permissions required for a mount
...
point to be traversable in both directions by all users.
PR: 7172
1998-07-09 05:49:58 +00:00
jdp
eca7605ba4
Fix a bug that prevented the restoration of hard links to files that
...
had the schg flag set. Reported by Matthew Thyer <thyerm@camtech.net.au>.
1998-07-09 03:57:26 +00:00
rnordier
1438eb46fe
Activate newfs_msdos.
1998-07-06 20:05:41 +00:00
rnordier
f6e0eaf477
This commit was generated by cvs2svn to compensate for changes in r37446,
...
which included commits to RCS files with non-trunk default branches.
1998-07-06 20:01:34 +00:00
rnordier
1a5b3efab9
Add newfs_msdos: extensive newfs-style support for creating FAT12,
...
FAT16, and FAT32 file systems in all their various horriblenesses.
Approved-in-concept by: joerg
1998-07-06 20:01:34 +00:00
bde
170787cd28
ioctl() request args are unsigned longs, so don't attempt to store
...
them as ints. Among other bugs, doing so at best caused benign
overflow followed by fatal sign extension on machines with 32-bit
ints and 64-bit longs.
1998-07-06 19:54:39 +00:00
bde
e1c554bc5f
Restored rev.1.11, which I somehow clobbered in rev.1.12.
1998-07-06 19:11:35 +00:00