Warner Losh
2db673ab00
o remove __P
...
o Use ANSI function definitions
o unifdef -D__STDC__
2002-03-20 22:49:40 +00:00
David E. O'Brien
016298551c
Files in subdirectories of directories that have the nodump flag set
...
are sometimes incorrectly being dumped.
The problem arises because the subdirectory only gets its entry
cleared from usedinomap if it is also present in dumpinomap, and it is
the absence of a directory in usedinomap that internally indicates
that the directory is under the effects of UF_NODUMP (either directly
or inherited).
PR: 32414
Submitted by: David C Lawrence <tale@dd.org>
2001-12-05 20:42:52 +00:00
Ian Dowse
d2334e27e9
Zap a number of #ifdef sunos blocks, and all of the `register'
...
keywords.
2001-11-17 00:06:55 +00:00
Mike Heffner
be1bf707c9
Convert two instances of a lseek()+read() combination to a pread().
...
PR: bin/17640
MFC after: 2 weeks
2001-07-01 04:46:20 +00:00
Jordan K. Hubbard
2c8094f344
Fix bogon with the nodump flag.
...
Submitted by: Dima Dorfman <dima@unixfreak.org>
2001-04-19 01:39:27 +00:00
David E. O'Brien
801382fa98
Support inheritance of the "nodump" flag down a hierarchy.
...
Submitted by: Dima Dorfman <dima@unixfreak.org>
Obtained from: NetBSD
2001-03-03 11:35:50 +00:00
Warner Losh
37736675d1
Add include of errno.h where needed, remove extern int errno where not.
...
These commits were inspired by a similar commit to netbsd.
2000-04-14 06:15:01 +00:00
Peter Wemm
7f3dea244c
$Id$ -> $FreeBSD$
1999-08-28 00:22:10 +00:00
Bill Fumerola
16c4e40827
Fix nested if/else within an if
1999-07-08 22:27:00 +00:00
Dima Ruban
97b465b142
64bit fixes.
...
(Note: ``dump'' doesn't work on alpha yet. Apparently there's a problem
somewhere is the physio() area)
Submitted by: myself && Matt Dillon.
1998-10-27 04:01:19 +00:00
Philippe Charnier
7580ffbbbd
Correct use of .Nm. Add rcsid. Remove unused #includes.
1998-06-15 06:58:13 +00:00
Peter Wemm
a37c38b8d8
Merge Lite2 changes (rather bigish, the dump/restore folks should check)
1997-03-11 12:09:50 +00:00
Jordan K. Hubbard
28ebf21479
Update CHANGEDSINCE macro to conform to -current dinode.h
1997-02-16 22:16:08 +00:00
Nate Williams
45808359e6
ts_sec -> tv_sec
...
ts_nsec -> tv_nsec
1996-09-20 04:56:09 +00:00
Joerg Wunsch
d195e6deec
When using dump/rdump on large filesytems (my case 3 GB), the lseek
...
claims multiple times to have failed. The problem is a off_t is
converted into a int and checked for a negative. A true lseek check
should be checking if the off_t is equal to -1 for failure.
(Suggested fix from PR #bin/461)
Submitted by: mark tinguely <tinguely@opus.cs.ndsu.NoDak.edu>
1995-06-24 17:07:21 +00:00
Rodney W. Grimes
5ebc7e6281
Remove trailing whitespace.
1995-05-30 06:12:45 +00:00
Rodney W. Grimes
8fae3551ec
BSD 4.4 Lite sbin Sources
...
Note: XNSrouted and routed NOT imported here, they shall be imported with
usr.sbin.
1994-05-26 06:35:07 +00:00