Commit Graph

766 Commits

Author SHA1 Message Date
ws fdbcbfc254 Fix handling of clusters marked bad
Noted by Rafal Boni
1997-01-03 14:32:47 +00:00
mikel dd40c6d884 eliminate valueless return from main(); PR bin/3073. 1997-01-03 07:10:52 +00:00
mikel ca9a02b5b1 oops, missed a comma. 1996-12-27 05:53:53 +00:00
mikel d894f16336 fix reboot(8) xref 1996-12-27 05:51:14 +00:00
cjs ea04966433 Fix typo: PR bin/3059 1996-12-26 17:35:35 +00:00
mikel 8a207c6ea3 eliminate obsolete reference to mkfs(8);
from Klaus Klein <kleink@layla.inka.de>.
also fixed buggy -a flag lines, reference fsck_ffs(8) instead of fsck(8).
1996-12-26 04:37:18 +00:00
mikel 875986c568 eliminate obsolete references to mkfs(8);
from Klaus Klein <kleink@layla.inka.de>
1996-12-26 04:33:34 +00:00
mikel aff1970d41 remove mkfs(8) xref; PR 3041 1996-12-24 02:32:25 +00:00
cgd d9842e70b9 declare the keywords structure 'extern' in keywords.h, to avoid a common defn. 1996-12-16 19:53:02 +00:00
thorpej 8e41017b18 After passing the terminating NULL for the argv list to execle(),
don't forget the (NULL) envp.
From Lennart Augustsson <augustss@cs.chalmers.se>, PR #2737.
1996-12-11 04:05:21 +00:00
christos fa1d4fc6d7 PR/3002: bug in my previous commit. 1996-12-07 19:09:11 +00:00
christos 468b0bc4a8 PR/2975: fsck lies to children about their program name
PR/2979: fsck is not smart enough about filesystems not in /etc/fstab
1996-12-05 18:30:23 +00:00
mycroft 728e20590f Make sure to byte-swap all of the relevant fields; especially c_flags. 1996-12-04 03:54:04 +00:00
cgd bcaa5b7b1c When initializing 'fssize,' the size of the data buffer to be used when
writing data to the file system, if the "optimal" file system I/O
operation block size is less than TP_BSIZE, leave fssize alone (i.e.
at its default setting of MAXBSIZE).  This was causing restore's
stack to be trashed, because the end-of-buffer checking/flushing code
around line 680 would never notice that the buffer was full (because
it'd be comparing a buffer segment index, which would always be >= 1, to
fssize / TP_BSIZE, which could be zero in that case), and would keep
filling and filling and filling...
1996-11-30 18:31:29 +00:00
cgd a0c5caa042 patches from Tom I Helbekkmo <tih@nhh.no> to deal with type-size issues,
so this works (better, at least) on 64-bit machines (e.g. alpha).
1996-11-30 18:01:52 +00:00
mikel 957e75132e Fix typo; PR misc/2956. Also cleaned up .Nm usage. 1996-11-26 06:44:36 +00:00
pk b82932df85 sparc uses new savecore.c 1996-11-18 11:20:16 +00:00
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