summaryrefslogtreecommitdiffstats
path: root/sbin/dump/dump.h
Commit message (Collapse)AuthorAgeFilesLines
* This commit adds basic support for the UFS2 filesystem. The UFS2mckusick2002-06-211-10/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* s/daddr_t/ufs_daddr_t/gphk2002-06-061-4/+4
| | | | | | This should fix the issues which cropped up after daddr_t grew up. Sponsored by: DARPA & NAI Labs.
* more file system > filesystemtrhodes2002-05-161-1/+1
|
* o remove __Pimp2002-03-201-54/+38
| | | | | o Use ANSI function definitions o unifdef -D__STDC__
* Supply progress information in dump's process title, which is usefuliedowse2002-02-161-0/+1
| | | | | | | | 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
* On receipt of a SIGINFO, schedule an immediate printout of theiedowse2002-02-161-0/+1
| | | | | | | percentage complete and remaining time estimate. PR: bin/32138 Submitted by: mi
* Zap a number of #ifdef sunos blocks, and all of the `register'iedowse2001-11-171-14/+0
| | | | keywords.
* SECURITY.ru2001-09-051-2/+0
| | | | | | | | Notify operators using wall(1)'s -g option. Drop ``setgid tty'' privilege. Obtained from: OpenBSD MFC after: 1 month
* Mark some functions as __printflike()kris2001-08-101-3/+3
| | | | MFC After: 1 week
* Use <sys/queue.h> instead of home-rolled list.phk2001-01-291-5/+2
| | | | Submitted by: "Jason Smethers" <jsmethers@pdq.net>
* Make `dump' exit codes confirm to manual page.jkoshy1998-07-141-0/+1
| | | | | PR: 5346 Style-check-by: bde
* Merge Lite2 changes (rather bigish, the dump/restore folks should check)peter1997-03-111-3/+4
|
* Add the `a' option (``auto-size'') to bypass all tape lengthjoerg1997-02-011-0/+1
| | | | considerations, and dump right to the end of medium.
* Don't use __dead or __pure in user code. They were obfuscationsbde1996-09-141-2/+2
| | | | | | 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.
* Andreas Klemm's patch set for dump(8), with some minor (cosmetic)joerg1995-11-181-0/+1
| | | | | | | | | | | | | | | | 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)
* Remove trailing whitespace.rgrimes1995-05-301-1/+1
|
* BSD 4.4 Lite sbin Sourcesrgrimes1994-05-261-0/+212
Note: XNSrouted and routed NOT imported here, they shall be imported with usr.sbin.
OpenPOWER on IntegriCloud