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
charnier
beb07fe1b8
Correct use of .Nm. Spelling. Add rcsid and remove unused #includes.
1998-07-06 07:19:27 +00:00
charnier
112ec6c269
-Wall.
1998-07-06 07:17:27 +00:00
charnier
10dd9df385
Sync usage string and man page. Correct use of .Nm. Spelling. Remove
...
unused #includes.
1998-07-06 07:15:53 +00:00
charnier
9b4886fff4
Correct use of .Nm.
1998-07-06 07:13:31 +00:00
charnier
bad732b700
Remove unused #includes. Spelling. Add rcsid. Do not dot terminate err()
...
strings.
1998-07-06 07:12:38 +00:00
charnier
fc36ebbafe
Add rcsid. Remove unused #includes. Spelling.
1998-07-06 07:09:13 +00:00
charnier
b2d6ebc873
Add rcsid, remove unused #includes, spelling.
1998-07-06 07:07:41 +00:00
charnier
2f22f79b32
Remove unused #include. Add usage().
1998-07-06 07:06:15 +00:00
charnier
f345a63c40
Correct use of .Nm. Spelling. Add rcsid, remove unused #includes, use err(3).
1998-07-06 07:04:50 +00:00
charnier
2cac39e5e4
Add rcsid. remove unused #includes. Getopt returns -1 not EOF. Add usage().
...
Cosmetics in err(3) string.
1998-07-06 07:02:26 +00:00
charnier
f910b5ad8b
Lowercase 1st char. in err(3) strings.
1998-07-06 06:59:52 +00:00
charnier
eab4934e11
remoce unused #include.
1998-07-06 06:58:32 +00:00
charnier
fff847fc47
Correct .Nm use. Add rcsid. Use min for minutes instead of mn.
1998-07-06 06:56:08 +00:00
charnier
dde477ffbb
Update man page to allow adding address_family when -l is used (this is a no op
...
for now). Correct use of .Nm. Short usage string (see man page for full list).
Spelling. Use err(3).
1998-07-06 06:53:43 +00:00
charnier
a6ba9a0903
Correct use of .Nm, use .Bx Free for FreeBSD. Add rcsid, remove unused
...
#includes. Spelling. Use err(3) and add usage().
1998-07-06 06:44:36 +00:00
julian
22a5d80812
Support for IPFW based transparent forwarding.
...
Any packet that can be matched by a ipfw rule can be redirected
transparently to another port or machine. Redirection to another port
mostly makes sense with tcp, where a session can be set up
between a proxy and an unsuspecting client. Redirection to another machine
requires that the other machine also be expecting to receive the forwarded
packets, as their headers will not have been modified.
/sbin/ipfw must be recompiled!!!
Reviewed by: Peter Wemm <peter@freebsd.org>
Submitted by: Chrisy Luke <chrisy@flix.net>
1998-07-06 03:20:19 +00:00
brian
32fa3677a8
Make things clearer.
...
Submitted (some time ago) by: Ted Mittelstaedt <tedm@portsoft.com>
1998-07-04 12:07:03 +00:00
brian
89cb3eea24
Suggest port 8668 rather than 6668 for natd.
...
6668 is IRC.
1998-07-04 01:53:54 +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
bde
e98f798c6a
Don't assume that time_t is long.
1998-06-29 17:54:29 +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
bde
31e25f7859
Fixed printf format errors.
1998-06-28 20:48:03 +00:00
bde
76120f12e5
Fixed printf format errors.
1998-06-28 20:42:49 +00:00
bde
4e8e4d585c
Fixed printf format errors, scanf format errors and scanf error handling.
1998-06-28 20:40:51 +00:00
bde
21b894709f
Fixed printf format errors.
1998-06-28 20:33:36 +00:00
bde
c19967f2fc
Fixed printf format errors. Sure is dusty here.
1998-06-28 20:25:59 +00:00
bde
fa160a825f
Fixed printf format errors.
1998-06-28 20:11:23 +00:00
bde
2c93388fd0
Fixed printf format errors.
1998-06-28 19:45:13 +00:00
bde
c3dde99296
Fixed printf format errors.
1998-06-28 19:36:49 +00:00
bde
4af99ce07c
Fixed printf format errors.
1998-06-28 19:23:03 +00:00
bde
e11b471c42
Fixed printf format errors.
1998-06-28 19:06:17 +00:00
bde
10722c906f
Fixed printf format errors.
1998-06-28 18:59:04 +00:00
bde
60d69eb4f2
Fixed printf format errors.
1998-06-28 18:34:01 +00:00
wpaul
efe4f69151
A long time ago I hacked mountd so that it would deal intelligently
...
with export lines where the same hostname was specified more than once
(this happens a lot with netgroups sometimes). Recently I discovered
that it needs to be hacked to deal with multiple instances of the
same IP address too.
I've been using this modification locally for several months with no
hassles.
1998-06-25 21:26:06 +00:00
jkoshy
20df804cb4
Fixes per PR 2850:
...
(a) Note that the default securelevel value is -1, in -current and -stable.
(b) Mention kernel sysctl variable that controls securelevel.
(c) Add warning the `fsck' will fail if securelevel >= 2.
(d) Suggest end of /etc/rc as the right place to raise securelevel.
and one spelling fix.
PR: 2850
1998-06-19 08:34:52 +00:00
jkoshy
904224d3ad
Remove reference to non-existent htable(8).
...
PR: 6940
1998-06-17 13:13:41 +00:00
joerg
b90f430207
Oops, the previous commit missed one line of code.
1998-06-15 15:43:13 +00:00
joerg
ad13fe9511
Watch out for null hostnames in netgroup entries, to avoid dumping core.
...
This happens if someone tries to export to a netgroup like:
mygroup (,,mynisdomain)
1998-06-15 15:41:41 +00:00
charnier
a91f714a56
Correct use of .Nm. Use .Bl/.El for enumerating options. Use .An. Correct
...
formatting of rcsid. Remove unused #includes. Do not use memory after
freeing it.
1998-06-15 07:12:20 +00:00
charnier
07d25baf9d
Correct use of .Nm. Add rcsid. Remove unused #includes. Use err(3).
1998-06-15 07:07:21 +00:00
charnier
9d674a7e98
Capitalize at the start of sentence. Add rcsid. Remove unused #includes.
...
Use `dumpon' instead of argv[0].
1998-06-15 07:03:47 +00:00
charnier
d1aa93470a
Add rcsid. Remove unused #includes.
1998-06-15 07:00:01 +00:00
charnier
c21f0cc56c
Correct use of .Nm. Add rcsid. Remove unused #includes.
1998-06-15 06:58:13 +00:00
peter
5523252adc
Force -DFREEBSD_AOUT incase ldconfig is being compiled under elf.
...
Without this, <link.h> defines stuff for elf linking which is not
what ldconfig needs.
1998-06-12 10:43:18 +00:00
bde
097007d02b
Print the write counts if they are nonzero even if we're mounted
...
readonly, since they tell us about previous write activity.
Use the correct format to print the write counts.
1998-06-08 14:08:54 +00:00
charnier
12c0eabbe1
Add rcsid, remove unused #includes. Use err(3).
1998-06-08 06:44:05 +00:00
charnier
3aaa3dc793
Use warnx()+fprintf() to handle multi-line messages. Correct K&R support and
...
KNF continuation indent rule.
Requested by: Bruce.
1998-06-08 06:41:47 +00:00
danny
963f0a7720
Fix typo: exit -> exist
1998-06-08 02:00:45 +00:00
thepish
22eb78890f
PR: docs/3636
...
Submitted by: Gary Palmer gpalmer@FreeBSD.ORG
Add mention of the 1024-character line length limit on the netgroup database.
1998-06-07 15:08:50 +00:00
jb
e886c0d520
Fix an alignment problem on alpha by doing a bytewise copy.
1998-06-06 23:33:28 +00:00
julian
54743b71f3
Reviewed by: Kirk Mckusick (mckusick@mckusick.com)
...
Submitted by: luoqi Chen
fix a type in fsck.
(also add a comment that got picked up by mistake but is worth adding)
1998-06-05 23:33:26 +00:00
steve
512321f97c
Fix a spelling error.
...
PR: 6857
Submitted by: Josh Gilliam <josh@quick.net>
1998-06-04 21:09:08 +00:00
charnier
40a59b8d3d
Use .Pa for filenames. Use .Bl/.El in FILES section. Remove unused #includes.
1998-06-04 06:51:14 +00:00
charnier
9be5100a22
Add section number to .Xr. Use of .Nm. Typo. Add rcsid. Remove unused
...
#includes. Use err(3).
1998-06-04 06:49:13 +00:00
charnier
b1e3b56953
Correct .Nm. Spelling. Add rcsid, remove unused #includes. Add usage(). Do not
...
dot-terminate errx() strings.
1998-06-04 06:44:18 +00:00
charnier
74e9afca63
Correct use of .Nm, use .Bl/.El in FILES section. Add rcsid. Remove unused
...
#includes and make it a little more -Wall-friendly.
1998-06-04 06:41:26 +00:00
charnier
a1010ccfd6
Correct use of .Nm. Add section number to .Xr. Add rcsid, usage(). Use err(3).
1998-06-04 06:38:03 +00:00
charnier
2e78576848
Correct use of .Nm. Add missing .El. Add rcsid. Remove unused #include.
1998-06-04 06:35:12 +00:00
jkoshy
15683e67b6
Spelling corrections.
...
PR: 6829
Submitted by: Josh Gilliam <josh@quick.net>
1998-06-03 04:21:41 +00:00
jkoshy
aa3cf55331
Correct typo.
...
PR: 6844
Submitted by: Adrian Filipi-Martin <adrian@ubergeeks.com>
1998-06-03 03:59:00 +00:00
peter
42401a81ee
SUBDIR += ldconfig
1998-06-01 14:12:48 +00:00
peter
a8b0f853fa
Build ldconfig in /sbin environment directly, rather than under the gnu ld
...
directory. The rcs files were repository copied.
1998-06-01 13:58:19 +00:00
bde
0fc01e5adf
Fixed overflow in the calculation of the number of inodes per group
...
for filesystems with almost the maximum number of sectors. The maxiumum
is 2^31, but overflow is common for that size, and overflow normally
occurred here at size (2^31 - 4096).
1998-05-31 12:21:50 +00:00
jkoshy
cac643447a
Use the correct macro for file names. Remove empty `HISTORY' section.
...
PR: 6780
Submitted by: Yoshishige Arai <ryo2@on.rim.or.jp>
1998-05-29 10:15:28 +00:00