summaryrefslogtreecommitdiffstats
path: root/sbin/dump/optr.c
Commit message (Collapse)AuthorAgeFilesLines
* Use the standardized CHAR_BIT constant instead of NBBY in userland.mike2002-09-251-0/+1
|
* s/filesystem/file system/g as discussed on -developerstrhodes2002-08-211-2/+2
|
* - Do not include <utmp.h> for no reason.robert2002-07-081-1/+0
| | | | - Remove unneeded utmp path constant.
* This commit adds basic support for the UFS2 filesystem. The UFS2mckusick2002-06-211-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* more file system > filesystemtrhodes2002-05-161-2/+2
|
* o remove __Pimp2002-03-201-53/+15
| | | | | o Use ANSI function definitions o unifdef -D__STDC__
* Supply progress information in dump's process title, which is usefuliedowse2002-02-161-7/+12
| | | | | | | | 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-1/+12
| | | | | | | 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-9/+9
| | | | keywords.
* deltat declared time_t, msg("") call used %d (assumed time_t == int).dillon2001-10-281-1/+2
| | | | | | Changed deltat to be an int (result of delta time calculation). MFC after: 1 day
* SECURITY.ru2001-09-051-112/+14
| | | | | | | | Notify operators using wall(1)'s -g option. Drop ``setgid tty'' privilege. Obtained from: OpenBSD MFC after: 1 month
* Use <sys/queue.h> instead of home-rolled list.phk2001-01-291-5/+5
| | | | Submitted by: "Jason Smethers" <jsmethers@pdq.net>
* Use \a instead of \007 for making noise.phk2001-01-281-2/+2
| | | | Submitted by: "Jason Smethers" <jsmethers@pdq.net>
* Avoid rawname() stupidly prepending an `r' before the device name evenjoerg2000-04-021-5/+0
| | | | | | | | | | | in cases where the supplied name was already pointing to a character special device. This fixes the breakage that occured when trying to dump a filesystem by name (e. g. /usr), with an fstab already mentioning the raw device name (like /dev/rda0g) where dump attempted to use /dev/rrda0g then. Also removed the now obsolete remark that fstab were carrying block special names.
* vsprintf -> vsnprintf in msg().imp1999-11-101-1/+1
|
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Fix time of last dump handling.jkh1999-07-021-6/+11
| | | | Submittted by: Richard Wiwatowski <rjwiwat@ozemail.com.au>
* The attached patch to /usr/src/sbin/dump/optr.c changes the comparisonjkh1999-03-211-5/+5
| | | | | | | | | | | | so that dumps are treated by dump -w as having been done on midnight of the day they were actually run. This makes dump -w behave as expected for regularly scheduled daily dumps - if they all run the same day. It makes dump -w behave strangely if you dump late in the day and check again after midnight, but that is the lesser of two evils. Submitted by: Mike Meyer <mwm@phone.net> PR: 9429
* Correct use of .Nm. Add rcsid. Remove unused #includes.charnier1998-06-151-1/+4
|
* Fix many buffer overflows, correct usage of strcat and implementimp1997-01-071-2/+2
| | | | | | | $TAPE. Inspired by OpenBSD's work in this area. Reviewed by: Peter Wemm, Guido van Rooij and Jordan Hubbard. Obtained from: OpenBSD
* Delete bogus referneces to timezone code internal header file `tzfile.h',wollman1995-08-071-9/+1
| | | | which is no longer bogusly installed in /usr/include.
* Remove trailing whitespace.rgrimes1995-05-301-2/+2
|
* BSD 4.4 Lite sbin Sourcesrgrimes1994-05-261-0/+538
Note: XNSrouted and routed NOT imported here, they shall be imported with usr.sbin.
OpenPOWER on IntegriCloud