| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
getfstab() -> dump_getfstab()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
called -r but it takes 512 byte blocks instead of megabytes, and I felt a
megabytes specification would be far more useful so I did not use the same
option character.
This will *greatly* improve dump performance at the cost of possibly
missing filesystem changes that occur between passes, and does a fairly
good job making up for the loss of buffered block devices. Caching is disabled
by default to retain historical behavior.
In tests, dump performance improved by about 40% when dumping / or /usr.
Beware that dump forks and the cache may wind up being larger then you
specify, but a more complex shared memory implementation would not produce
results that are all that much better so I kept it simple for now.
MFC after: 3 days
|
|
|
|
|
|
| |
for the minimal amount of space used by a snapshot.
Sponsored by: DARPA & NAI Labs.
|
| |
|
| |
|
|
|
|
| |
- Remove unneeded utmp path constant.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
keywords.
|
|
|
|
|
|
|
|
| |
Notify operators using wall(1)'s -g option.
Drop ``setgid tty'' privilege.
Obtained from: OpenBSD
MFC after: 1 month
|
|
|
|
| |
MFC After: 1 week
|
|
|
|
| |
Submitted by: "Jason Smethers" <jsmethers@pdq.net>
|
|
|
|
|
| |
PR: 5346
Style-check-by: bde
|
| |
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
changes and one addition by me.
. Use reasonable defaults for the tape drive (/dev/rst0) instead of
something we actually don't have.
. Add a summary line displaying the alapsed time and the total throughput.
. Replace "rmt" for the remote location of rmt(8) by "/etc/rmt", since this
is the historical protocol, and relying on the $PATH causes a big pain.
Make it adjustable via an environmental variable though.
Reviewed by: joerg (for Andreas' part)
Submitted by: andreas@knobel.gun.de (Andreas Klemm)
|
| |
|
|
Note: XNSrouted and routed NOT imported here, they shall be imported with
usr.sbin.
|