| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
with a signal handler. This fixes a race condition introduced by
compiler reordering that caused dump to sometimes get stuck,
especially while dumping large filesystems.
|
|
|
|
|
|
|
|
|
|
|
| |
use backup methods other than files and tapes. The -P argument is
a normal sh(1) pipeline with either $DUMP_VOLUME or $RESTORE_VOLUME
defined in the environment, respectively.
For example, I can back up my home to three DVD+R[W]s as so:
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/ad0s2e 40028550 10093140 26733126 27% /home
green# dump -0 -L -C16 -B4589840 -P 'growisofs -Z /dev/cd0=/dev/fd/0' /home
|
|
|
|
|
|
| |
per letter dated July 22, 1999.
Approved by: core, imp
|
| |
|
| |
|
|
|
|
|
|
|
| |
and -Wformat warnings:
o Include timeconv.h for the time conversion functions.
o Remove unused variables.
o Correct a few cases where %d was used when printing longs.
|
|
|
|
| |
Submitted by: Don Lewis <dl-freebsd@catspoiler.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
filesystem expands the inode to 256 bytes to make space for 64-bit
block pointers. It also adds a file-creation time field, an ability
to use jumbo blocks per inode to allow extent like pointer density,
and space for extended attributes (up to twice the filesystem block
size worth of attributes, e.g., on a 16K filesystem, there is space
for 32K of attributes). UFS2 fully supports and runs existing UFS1
filesystems. New filesystems built using newfs can be built in either
UFS1 or UFS2 format using the -O option. In this commit UFS1 is
the default format, so if you want to build UFS2 format filesystems,
you must specify -O 2. This default will be changed to UFS2 when
UFS2 proves itself to be stable. In this commit the boot code for
reading UFS2 filesystems is not compiled (see /sys/boot/common/ufsread.c)
as there is insufficient space in the boot block. Once the size of the
boot block is increased, this code can be defined.
Things to note: the definition of SBSIZE has changed to SBLOCKSIZE.
The header file <ufs/ufs/dinode.h> must be included before
<ufs/ffs/fs.h> so as to get the definitions of ufs2_daddr_t and
ufs_lbn_t.
Still TODO:
Verify that the first level bootstraps work for all the architectures.
Convert the utility ffsinfo to understand UFS2 and test growfs.
Add support for the extended attribute storage. Update soft updates
to ensure integrity of extended attribute storage. Switch the
current extended attribute interfaces to use the extended attribute
storage. Add the extent like functionality (framework is there,
but is currently never used).
Sponsored by: DARPA & NAI Labs.
Reviewed by: Poul-Henning Kamp <phk@freebsd.org>
|
|
|
|
|
|
| |
This should fix the issues which cropped up after daddr_t grew up.
Sponsored by: DARPA & NAI Labs.
|
|
|
|
|
| |
o Use ANSI function definitions
o unifdef -D__STDC__
|
|
|
|
|
|
|
|
| |
for monitoring automated backups. This is based on a patch by Mikhail
Teterin, with some changes to make its operation clearer and to
update the proctitle more frequently.
PR: bin/32138
|
|
|
|
|
|
|
| |
percentage complete and remaining time estimate.
PR: bin/32138
Submitted by: mi
|
|
|
|
|
|
|
|
|
|
| |
Normally trewind() performs a close-open-close cycle to rewind the
tape when closing the device, but this is not ideal for fifos. We
now skip the final open-close if the output descriptor is a fifo.
PR: bin/25474
Submitted by: Alex Bakhtin <bakhtin@amt.ru>
MFC after: 1 week
|
|
|
|
| |
keywords.
|
|
|
|
| |
Submitted by: "Jason Smethers" <jsmethers@pdq.net>
|
| |
|
| |
|
|
|
|
| |
device hitting EOM on a write.
|
| |
|
|
|
|
| |
should be ssize_t too.
|
|
|
|
|
| |
PR: bin/4369
Submitted by: blank@fox.uni-trier.de (Sascha Blank)
|
|
|
|
|
|
|
| |
were mishandled as an EOF, which became fatal if your first tape was
accidentally write-protected.
PR: bin/850 dump treats write-protect as an EOT...
|
| |
|
|
|
|
| |
considerations, and dump right to the end of medium.
|
|
|
|
|
|
| |
for gcc >= 2.5 and no-ops for gcc >= 2.6. Converted to use __dead2
or __pure2 where it wasn't already done, except in math.h where use
of __pure was mostly wrong.
|
| |
|
|
Note: XNSrouted and routed NOT imported here, they shall be imported with
usr.sbin.
|