lukem
b00117c331
s/filesystem/file system/dump.h
2001-08-14 05:44:15 +00:00
lukem
9af1692ef1
* improve parsing of file-systems-to-dump when a path is given:
...
- if it's a path to an unmounted file-system listed in /etc/fstab, use
that instead of assuming the user wanted a subtree dump of the parent
directory. this restores the behaviour of dump before the subtree
dumping code went in.
- if it's a path to a mounted file-system which is not in /etc/fstab,
use the info from getmntinfo(3). previously, dump would choke.
* implement error checked malloc(), calloc(), strdup(), and use
appropriately (some of the calloc()s weren't being checked)
* use 'file-system' instead of 'filesystem' in the man page
2001-05-28 01:09:54 +00:00
lukem
cc5935ebba
unifdef !__STDC__ (missed in previous)
2001-05-28 00:41:14 +00:00
lukem
99feaf5b29
knf to ansi
2001-05-27 14:17:56 +00:00
perseant
2763cc1921
Working version of aborted dump{,_lfs} join.
1999-10-01 04:35:21 +00:00
perseant
e8247b4092
Back out changes made on the 29th, not at all the changes I intended to commit.
...
(I don't know how I did it though ... I'll figure it out tonight.)
I'll reapply this, in a working form, this evening.
1999-09-30 20:39:58 +00:00
perseant
54fd3dd508
Adapt dump(8) to use filestore-independent (but still ufs-specific)
...
replacements for NINDIR, fsbtodb, etc. Create dump_lfs by adding a few
LFS-filestore-specific routines. As described in PR#8317.
1999-09-29 04:57:48 +00:00
sommerfe
3a1d0ae5c7
Avoid byte overflow in block estimate for large files
1999-05-05 16:53:46 +00:00
bouyer
491d912f59
Implement a read cache, as announced on tech-userlevel. Default is 32k
...
read buffer size, 512 buffer or 15% of the user memory. Can be changed
with the -k and -s options.
1999-03-23 14:22:59 +00:00
bouyer
1746034b3e
Handle "nodump" flag on directories, by not dumping any files or directories
...
under it. Based on some parts of PR 6705 by Brian Grayson.
In the Makefile, add (commented out) debug options that can be turned on.
1999-03-09 17:25:52 +00:00
lukem
5f22ea3a31
fix estimate of blocks for subsets.
...
fix from Brian Grayson <bgrayson@ece.utexas.edu> in [bin/6607]
1998-12-28 13:38:29 +00:00
ross
029a64cc29
from Erik Bertelsen <erik@mediator.uni-c.dk>
...
{ put } { in } { lots } { of } { these } { to } { shut } { up } { egcs }
1998-08-25 19:18:12 +00:00
bouyer
34ccbd430c
Add support for non-native byte order FFS. The dump is in filesystem byte
...
order, restore already knows how to byteswap dumps.
1998-03-18 16:54:56 +00:00
lukem
919c9246d4
resolve conflicts from lite-2 import
1997-09-16 06:41:19 +00:00
lukem
a84bab531d
* cleanup for WARNS=1
...
* fix use of .Nm
* comment out some unused(?) functions
1997-09-15 07:58:01 +00:00
lukem
4c54f5b742
* Add the ability to dump specific files & directories of a single
...
filesystem. This uses fts(3) to access the directory structure (and
not the raw device), so the standard access permissions are adhered
to (unlike dumping an entire filesystem, which just requires read
access to the raw disk device).
* Support SIGINFO status reporting.
* Remove now unused variables that previously stored the (e)uid.
* Be more informative in a couple of error messages.
1997-06-05 11:13:18 +00:00
lukem
93da79de2b
remove use of "register".
1997-04-15 01:09:49 +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
cgd
93a2f4ea60
update for posixified stat structure
1995-06-18 21:35:33 +00:00
mycroft
ae16273156
Back out previous change.
1995-06-11 05:16:04 +00:00
cgd
788733b7a9
typeof(timeval.tv_sec) != time_t
1995-06-07 17:14:21 +00:00
mycroft
5745c084e8
Fix another bogus cast.
1995-03-27 22:14:47 +00:00
mycroft
61b709b720
Remove incorrect cast on lseek() return value.
1995-03-27 21:48:52 +00:00
cgd
0114e805ce
convert to new RCS Id conventions; reduce my headache
1995-03-18 14:54:19 +00:00
mycroft
0c1f0c97eb
Don't mix stat flags and inode flags.
1995-01-30 20:32:01 +00:00
mycroft
ea7b5d4ec6
Eliminate uses of some obsolete functions.
1994-09-23 14:26:58 +00:00
mycroft
47597918a1
Correct typo; IFMT -> S_IFMT.
1994-09-17 23:59:03 +00:00
mycroft
eadb2ad514
Fix compatibility with old fastlinks.
1994-06-14 22:49:57 +00:00
mycroft
ccfa3742b5
Update from 4.4-Lite, with local changes.
1994-06-08 18:57:30 +00:00
cgd
af8ee2b8b6
change some #ifdef's.
1994-04-25 18:22:50 +00:00
cgd
12844e4345
fix for() starting condition in mapfiles()
1994-01-14 21:29:51 +00:00
cgd
108d89475f
new version from CSRG, via BSDI, with fixes
1993-12-22 10:19:31 +00:00