Commit Graph

749 Commits

Author SHA1 Message Date
gwr
6b2707d575 Note that distrib/utils/x_route uses these files. 1996-11-15 19:10:38 +00:00
gwr
786940dfb1 Remove comment that was no longer applicable. 1996-11-15 18:57:21 +00:00
gwr
13410f03ee As discussed some time ago, add a "show" sub-command.
Also allow compilation with -DSMALL to ommit support for
non-essential protocols (i.e. when built into a ramdisk).
Use a less hack-ish way to generate keywords.[ch] and just
check in the result (helps ../../distrib/utils/x_route).
1996-11-15 18:45:23 +00:00
gwr
a54521537f As discussed some time ago, add a "show" sub-command.
Also allow compilation with -DSMALL to ommit support for
non-essential protocols (i.e. when built into a ramdisk).
Use a less hack-ish way to generate keywords.[ch] and just
check in the result (helps ../../distrib/utils/x_route).
1996-11-15 18:01:36 +00:00
perry
6af2a74574 Fix more cosmetic problems -- changed .Nm fsck to just .Nm (thats the
whole point of the .Nm macro), replaced naked "fsck"s with .Nm's,
fixed another "the the", and .Dq'ed the "no" in the -t
description. Note that the description of -t is still ambiguous --
needs to be cleaned up by someone like Christos that actually knows it
well.
1996-11-09 18:43:22 +00:00
lukem
8c7e6f0d43 fixed typos, from SAITOH Masanobu <msaitoh@spa.is.uec.ac.jp> in [misc/2924] 1996-11-09 01:49:54 +00:00
cgd
b292e6cefd make ping(8) print out statistics when given a SIGINFO. 1996-11-06 20:42:14 +00:00
thorpej
12afd4fc11 - If rcmd() fails, don't do any of the setsockopt() calls.
- Since the TCP_MAXSEG setsockopt can only descrease the MSS, and never
  increase it, do an IP_TOS:IPTOS_THROUGHPUT setsockopt instead, since
  dump is a bulk transfer.
Submitted by Bill Fenner <fenner@parc.xerox.com>.
1996-11-05 23:59:01 +00:00
christos
f95a0b9a4d Fix PR/2884: Change default for nfs mounts to not do a connect on the
socket. Add option -C to force a connected mount. Now option -c is still
there, but it is the default. Maybe amd should be changed similarly.
1996-10-27 21:18:03 +00:00
lukem
9ab7d8e652 use unique temporary files for all operations except 'r' and 'R', which still
base temp files on dumpdate. explain why in the man page. fixes [bin/2870]
1996-10-24 04:01:10 +00:00
cgd
c35f913835 Fix typo in last commit 1996-10-24 00:12:50 +00:00
cgd
da8bebb896 document the 'nocoredump' mount option, which sets the MNT_NOCOREDUMP
mount flag, disabling core dumps on the file system.
1996-10-23 22:56:20 +00:00
cgd
fa1bf894fd recognize the 'nocoredump' mount option as a standard option (supported by
all file system types).
1996-10-23 22:51:08 +00:00
cgd
26902ec586 recognize MNT_NOCOREDUMP and print the 'nocoredump' flag for file
systems which have MNT_NOCOREDUMP set.
1996-10-23 22:50:05 +00:00
cgd
c1eeddcff9 this file system (according to its source) supports MNT_UPDATE. Therefore
the mount program must recognize the 'update' option.
1996-10-23 22:46:16 +00:00
christos
1b51e8821e Fix varyadic non ansi functions. 1996-10-22 16:57:51 +00:00
christos
b3e604c22a - sort and remove unused options.
- If no filesystem is specified or an incorrect option, print usage information
1996-10-22 16:35:04 +00:00
christos
3cd14137ee Update this to reflect reality after the fsck/fsck_ffs split. 1996-10-22 16:32:44 +00:00
christos
eb7ef0a925 - Move some pieces from the fsck_ffs manual page that are appropriate for
fsck now.
- Correct the usage.
1996-10-22 15:30:56 +00:00
thorpej
cdc9144332 Add missing '}', from David Carrel <carrel@ipsec.com>, PR #2873. 1996-10-20 21:59:36 +00:00
thorpej
575dc254e0 Remove the redundant copy of this file.
Suggested by David Carrel <carrel@ipsec.com>, PR #2872.
1996-10-20 21:55:14 +00:00
perry
7bc26fc852 Remove #ifdef tahoe conditionals. We have no tahoe port. There is
still a big #if vax in this file which should be removed if possible --
#ifdef MACHINE stuff in mi code is bad.
1996-10-18 07:16:02 +00:00
thorpej
7f9ea0f2ed Use ${INSTALL}. 1996-10-18 05:45:01 +00:00
cgd
313e12dec4 clean up and add a fair bit of text. document -f (and the fact that it's
ignored).
1996-10-17 20:41:24 +00:00
cgd
139fcefc1f include -f in usage, removed 'v' from getopt string since it's not handled 1996-10-17 20:29:53 +00:00
perry
c603ec4609 Remove boot_tahoe.8. We have no tahoe port. 1996-10-17 01:05:57 +00:00
perry
0517d113dd RCSid Police 1996-10-16 15:41:06 +00:00
leo
d548c05876 Fix typo. 1996-10-15 09:16:20 +00:00
leo
c22aea7778 Be a bit more exact about when the bootloader decides to start NetBSD. 1996-10-15 09:14:32 +00:00
thorpej
7e0782662e Add a chlen command, to change the length/size of an inode. From FreeBSD. 1996-10-11 20:22:43 +00:00
thorpej
519bef46ae Fix a couple of glitches:
- s/fsutil.o/fsutil.c/ on a SRCS line.
	- Don't need preen.c
1996-10-11 20:20:42 +00:00
thorpej
2402aaa614 Bug fix from Kirk McKusick <mckusick@McKusick.COM>:
Fix a bug in fsck_ffs where if a directory somehow develops a hole
(that is a block pointer that has a value of zero), fsck would give the
filesystem a clean bill of health, but the kernel would panic when
accessing the directory with the hole. Fsck now checks for holes
in directories.  If found in preen mode, fsck fails.  In manual
mode, it can be directed to shorten the directory to the beginning of
the hole. A  more complete solution would be to allocate a block to fill
the hole. However, this is a lot more work for a `cannot happen' error,
so the extra effort seems unwarranted.
1996-10-11 20:15:46 +00:00
cgd
5dd208e6fc u_long -> u_int32_t when dealing with address lists returned by the resolver. 1996-10-07 22:33:15 +00:00
christos
c9ec66c20b Accept -f flag, but do nothing with it. 1996-10-03 20:09:44 +00:00
christos
6c3ecd5300 Document -f flag. 1996-10-03 20:08:29 +00:00
christos
c623b74b84 - Null terminate the argv vector [from ws]
- Dynamically allocate the argv vector
- Add -f global flag [from ws]
1996-10-03 20:06:30 +00:00
christos
a1ba72f394 PR/1551: clarify usage in manual page
PR/2452: add -t option to print label in disktab(5) format.
Misc cleanups...
1996-10-02 13:49:44 +00:00
cgd
0b10619181 make datas item copied out from kernel (panicstr) and/or used as kvm pointers
(panicloc) be 'long's, not 'int's.
1996-10-01 18:21:48 +00:00
cgd
d657ae260c add alpha to the list of ports that use new savecore 1996-10-01 14:42:31 +00:00
christos
60e2d41cb1 Make this work after the fsck changes. 1996-09-28 19:30:35 +00:00
christos
195da734cb Fix typo. 1996-09-28 19:23:29 +00:00
christos
ef1bd36baf Allow for an extra argument needed by quotacheck. 1996-09-28 19:21:41 +00:00
christos
4df3bfced1 Update for newer preen interface. 1996-09-28 19:20:44 +00:00
thorpej
8e6bc9ed5f Correct spelling of `successful'.
From Peter Seebach <seebs@solon.com>, PR #2783.
1996-09-28 15:30:08 +00:00
christos
c1a92bcb82 This broke when preen.c moved from fsck_ffs to fsck. Update and cleanup. 1996-09-27 23:25:34 +00:00
christos
a0c84e7de2 util -> fsutil 1996-09-27 23:22:50 +00:00
christos
c5d8ca200f - util.h -> fsutil.h 1996-09-27 22:45:10 +00:00
christos
7dfca7604a - Rename util.c and util.h to fsutil.c and fsutil.h to avoid conflict with
<util.h>
- Change checkfstab so that the checkit function takes the name of the
  mount point too (needed by quotacheck).
- Remove globals debug, verbose and preen
1996-09-27 22:38:37 +00:00
cgd
46243af406 fix up a debugging printf (was given its args in the wrong order), and
allow "ufs" in /etc/fstab to indicate MOUNT_UFS == MOUNT_FFS (for backward
compatibility).
1996-09-27 21:51:03 +00:00
thorpej
5d6afee55f Use snprintf() rather than sprintf(). 1996-09-27 03:23:33 +00:00