summaryrefslogtreecommitdiff
path: root/misc/e2image.c
AgeCommit message (Collapse)AuthorFilesLines
2001-12-16Fix various gcc -Wall nits. Fixed a bug in mke2fs where a bogusTheodore Ts'o1-2/+27
error message could be printed on an malloc() failure, and e2image was optimized to avoid needless system calls by using the stashed inode functions.
2001-11-05e2image.c (output_meta_data_blocks): Optimize away excessTheodore Ts'o1-19/+32
lseek() calls when creating a sparse file. Fewer system calls are a good thing. <g>
2001-08-27Remove EXT2FS_VERSION from the version display, since it Theodore Ts'o1-3/+2
only confuses people. Make fsck's version display be consistent with the other e2fsprogs programs.
2001-08-09Add support for specifiying - as the image file (to send the imageTheodore Ts'o1-9/+12
file to standard out). Save the journal inode if it is internal to the raw image file.
2001-08-09Add support for raw image files in e2image.Theodore Ts'o1-51/+322
2001-05-14Many files:Theodore Ts'o1-2/+1
badblocks.c, chattr.c, dumpe2fs.c, e2image.c, findsuper.c, lsattr.c, mke2fs.c, mklost+found.c, tune2fs.c, util.c: Change location of ext2_fs.h to be ext2fs/ext2_fs.h ChangeLog, Makefile.in, resize2fs.h: resize2fs.h: Change location of ext2_fs.h to be ext2fs/ext2_fs.h ChangeLog, Makefile.in, debugfs.h: debugfs.h: Change location of ext2_fs.h to be ext2fs/ext2_fs.h ChangeLog, Makefile.in, e2fsck.h, scantest.c: e2fsck.h, scantest.c: Change location of ext2_fs.h to be ext2fs/ext2_fs.h ChangeLog, Makefile.in, tst_uuid.c, uuid_time.c: tst_uuid.c, uuid_time.c: Remove unneeded #include of ext2_fs.h ChangeLog, Makefile.in, e2p.h: e2p.h: Change location of ext2_fs.h to be ext2fs/ext2_fs.h ChangeLog, Makefile.in, test_icount.c, test_rel.c: test_icount.c, test_rel.c: Change location of ext2_fs.h to be ext2fs/ext2_fs.h
2001-05-03e2image.c:Theodore Ts'o1-1/+1
Update copyright date. :
2001-05-03ChangeLog, e2image.c:Theodore Ts'o1-8/+18
e2image.c (main): Fix format of e2image to be easier to be parse by ext2fs_open().
2001-02-08ChangeLog, e2image.c:Theodore Ts'o1-2/+21
e2image.c (main): Add code to write the e2image header. ChangeLog, e2image.h: e2image.h (struct ext2_image_hdr): Fix type for fs_hostname
2001-01-11ChangeLog, e2image.c, mke2fs.c, mklost+found.c, tune2fs.c, util.c, uuidgen.c:Theodore Ts'o1-4/+0
e2image.c, mke2fs.c, mklost+found.c, tune2fs.c, util.c, uuidgen.c: Fix gcc -Wall complaints, including one bug in tune2fs caused by a block automatic shadowing version of the variable we really wanted to use, which broke the logic testing to see if the filesystem was mounted. ChangeLog, MCONFIG.in: (gcc-wall-new): Added new target which forgoes the make clean so we only check the newly modified .c files.
2001-01-01ChangeLog, e2image.c, mke2fs.c:Theodore Ts'o1-2/+0
mke2fs.c, e2image.c: Removed references to struct ext2fs_sb to struct ext2_super_block.
2000-12-09ChangeLog, MCONFIG.in, Makefile.in, Makefile.in.in:Theodore Ts'o1-1/+1
Fix so that top-level "make check" works correctly. e2image.c: Fix program name for e2image.
2000-11-12ChangeLog, Makefile.in, e2image.h, ext2_err.et.in, ext2fs.h, imager.c:Theodore Ts'o1-0/+166
imager.c (ext2fs_image_{inode,super,bitmap}_{read,write}, ext2_fs.h, Makefile.in: New file that has routines that save ext2fs metadata to a file. ext2_err.et.in (EXT2_ET_MAGIC_E2IMAGE): New error code assigned. e2image.h: New file which defines the file format for the ext2 image file. (Saved copy of ext2 metadata to a file as a saving throw against worst-case damage.) ChangeLog, Makefile.in, e2image.c: e2image.c, Makefile.in: New program which saves ext2 metadata to a file for people who need a last-ditch saving throw.