christos
e2325e1f91
Add external attribute dumping and restoring support from FreeBSD.
...
Does not fully work yet, attributes are being saved and restored correctly,
but don't appear in the restored files somehow.
2021-06-19 13:56:34 +00:00
dholland
dcd34a91c5
Stuff UFS_ in front of a few of ufs's symbols to reduce namespace
...
pollution. Specifically:
ROOTINO -> UFS_ROOTINO
WINO -> UFS_WINO
NXADDR -> UFS_NXADDR
NDADDR -> UFS_NDADDR
NIADDR -> UFS_NIADDR
MAXSYMLINKLEN -> UFS_MAXSYMLINKLEN
MAXSYMLINKLEN_UFS[12] -> UFS[12]_MAXSYMLINKLEN (for consistency)
Sort out ext2fs's misuse of NDADDR and NIADDR; fortunately, these have
the same values in ext2fs and ffs.
No functional change intended.
2013-01-22 09:39:11 +00:00
christos
746c5b06eb
Convert a couple of "(void)&" constructs to volatile.
...
Flag various unused parameters in restore and dump so that these will
compile with -Wextra. (Note: restore uses some stuff from dump.)
2006-12-18 20:07:32 +00:00
christos
c4ee9f6d2e
64 bit inode changes
2005-08-19 02:07:18 +00:00
christos
58874431a5
add const
2005-06-27 02:03:28 +00:00
christos
cb1c4f11bb
sprinkle const.
2005-06-27 01:55:52 +00:00
xtraeme
f224c38b66
Kill __P(), use ANSI function declarations.
2005-02-17 15:00:33 +00:00
fvdl
9c9a4505fe
Don't use NULL as a case value.
2003-10-21 02:34:45 +00:00
agc
276d62f603
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22308, verified by myself.
2003-08-07 10:04:22 +00:00
enami
2efd21a284
If possible, detect more case that file is missing on the tape.
...
XXX we still may lose if a file of highest inode number requested
XXX to extract was missing or one of multiple dump tape is lost.
2001-01-18 08:59:23 +00:00
lukem
8b03c7fc43
* cleanup for WARNS=1
...
* fix use of .Nm
1997-09-15 08:04:28 +00:00
lukem
7da56091ad
as inspired by a commit message of Todd Miller <millert@cvs.openbsd.org>:
...
* cleanup a bit for -Wall
* use __progname instead of "restore"
1997-07-06 08:51:28 +00:00
pk
67c9126d92
NULL => 0 (from Arne Juul; addendum to PR#3237)
1997-07-04 21:48:39 +00:00
lukem
b45dc84835
Fix problem with duplicate entries when changing from LEAF to NODE;
...
only the first link of a inode was being removed, not all of them.
From Kirk McKusick <mckusick@McKusick.COM> via thorpej
1997-06-18 07:10:16 +00:00
lukem
8c5cee237e
* use mkstemp() instead of mktemp()
...
* remove "register" qualifiers
1997-03-19 08:42:51 +00:00
thorpej
5d6afee55f
Use snprintf() rather than sprintf().
1996-09-27 03:23:33 +00:00
cgd
0114e805ce
convert to new RCS Id conventions; reduce my headache
1995-03-18 14:54:19 +00:00
mycroft
33ea52b638
Mostly sync with CSRG.
1994-12-28 02:21:43 +00:00
mycroft
625a6892f7
Update from 4.4-Lite, with local changes.
1994-06-08 19:27:32 +00:00
cgd
3e75cabcd4
new version from CSRG, via BSDI, with fixes
1993-12-22 10:31:38 +00:00
mycroft
e9d867ef50
Add RCS identifiers.
1993-08-01 17:54:45 +00:00
cgd
61f282557f
initial import of 386bsd-0.1 sources
1993-03-21 09:45:37 +00:00