summaryrefslogtreecommitdiffstats
path: root/sbin/dump/itime.c
Commit message (Collapse)AuthorAgeFilesLines
* This commit adds basic support for the UFS2 filesystem. The UFS2mckusick2002-06-211-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* o remove __Pimp2002-03-201-24/+13
| | | | | o Use ANSI function definitions o unifdef -D__STDC__
* I've been meaning to do this for a while. Add an underscore to thedillon2002-01-191-4/+4
| | | | | | | | time_to_xxx() and xxx_to_time() functions. e.g. _time_to_xxx() instead of time_to_xxx(), to make it more obvious that these are stopgap functions & placemarkers and not meant to create a defacto standard. They will eventually be replaced when a real standard comes out of committee.
* Zap a number of #ifdef sunos blocks, and all of the `register'iedowse2001-11-171-13/+6
| | | | keywords.
* Make the protocol/dumprestore.h header match restore's idea of the dumpdillon2001-10-281-5/+11
| | | | | | | | header for the case where sizeof(time_t) != sizeof(int). dumprestore.h was embedding time_t when it should have been embedding int32_t. Use time_to_time32() and time32_to_time() to convert between the protocoll/file-format time and time_t.
* Remove two lint directives that aren't needed since rev 1.5.obrien2001-03-301-2/+0
|
* Make rev 1.5 better match the rest of dump(8)'s output.obrien2001-03-271-2/+2
|
* Do not exit if unable to read /etc/dumpdates or create it.obrien2001-03-271-2/+4
| | | | | | If one is trying to dump or repair an ill system, give the user a fighting chance. Refusing to operate w/o a very non-critical file (feature) is just plain stupid.
* Use <sys/queue.h> instead of home-rolled list.phk2001-01-291-6/+9
| | | | Submitted by: "Jason Smethers" <jsmethers@pdq.net>
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Correct use of .Nm. Add rcsid. Remove unused #includes.charnier1998-06-151-1/+4
|
* BSD 4.4 Lite sbin Sourcesrgrimes1994-05-261-0/+271
Note: XNSrouted and routed NOT imported here, they shall be imported with usr.sbin.
OpenPOWER on IntegriCloud