summaryrefslogtreecommitdiff
path: root/resize
Commit message (Collapse)AuthorAgeFilesLines
* ChangeLog, libext2fs.texinfo:Theodore Ts'o2001-01-114-15/+19
| | | | | | | | | | | libext2fs.texinfo: Change ino_t to ext2_ino_t ChangeLog, extent.c, main.c, resize2fs.c: extent.c, main.c, resize2fs.c: Change ino_t to ext2_ino_t. ChangeLog, mke2fs.c: mke2fs.c: Change ino_t to ext2_ino_t. ChangeLog, test_icount.c, test_rel.c: test_icount.c, test_rel.c: Change ino_t to ext2_ino_t
* Many files:Theodore Ts'o2001-01-012-5/+8
| | | | | | | | | | | | | ext2fs.h: Remove definition of ext2fs_sb. Note: this may break source (but not binary) compatibility of some users of the ext2 library. They should just simply do a global search and replace of struct ext2fs_sb with struct ext2_super_block, and use their own private copy of ext2_fs.h if they aren't already. closefs.c, initialize.c, link.c, newdir.c, openfs.c, swapfs.c: Replace use of ext2fs_sb with ext2_super_block. ChangeLog, main.c: main.c (main): Replace use of struct ext2fs_sb with struct ext2_super_block.
* Many files:Theodore Ts'o2000-12-091-1/+1
| | | | | | | | | | | | | | | | | jfs_e2fsck.h, jfs_user.h: Replaces jfs_compat.h. The jfs.h file has been moved to the include/linux directory. journal.c, revoke.c, recovery.c: Updated files from Stephen to support the V2 superblock and revoke processing. The journal.c and revoke.c files are copies from the ext3 kernel source. Makefile.in: Added revoke.c to the list of source/object files. Makefile.in: Fix up some mistakes in the source file list, and regenerate the dependencies. Update Makefile dependencies. ChangeLog, jfs.h: jfs.h: Remove excess #include of JFS_DEBUG. Not needed for e2fsprogs, since we optioanlly define it in the configuration file system.
* ChangeLog, MCONFIG.in, Makefile.in, Makefile.in.in:Theodore Ts'o2000-12-092-1/+5
| | | | | | | Fix so that top-level "make check" works correctly. e2image.c: Fix program name for e2image.
* configure.in:Theodore Ts'o2000-07-131-0/+4
| | | | | | | | | | | | | | | | | | | | Commit this file for future use; contains a configure.in script for when libuuid gets separtead out into its own package. libext2fs.texinfo: Update version numbers for 1.19 release. TODO: Commit TODO list for 1.19 release. README: Update file for 1.19 release. ChangeLog, e2fsprogs.spec: e2fsprogs.spec: Merge in a few changes from the Red Hat 6.2 spec file, now that we're using a modern rpm to build e2fsprogs. Also updated version number to 1.19. version.h: Update version number for 1.19 release. ChangeLog: Check in changes for 1.19 release.
* ChangeLog, Makefile.in:Theodore Ts'o2000-07-052-4/+8
| | | | | | | | | | | Makefile.in (install): Install resize2fs in /sbin, not /usr/sbin. ChangeLog, unix.c: unix.c: Also, re-arrange the logic so that we do the time check only after doing the percentage check, and we only advance the spinner if we're about to display it. ChangeLog: Fix minor wording error in Chagelog.
* ChangeLog, extent.c, main.c, resize2fs.c, resize2fs.h:Theodore Ts'o2000-06-125-44/+69
| | | | | main.c, resize2fs.c, resize2fs.h, extent.c: Add NLS support.
* .cvsignore:Theodore Ts'o2000-05-251-0/+4
| | | | | Supress build files when builddir==srcdir
* Many files:Theodore Ts'o2000-04-0613-228/+68
| | | | | | | | | | | | | | | Update copyright of files in preparation for release of resize2fs. Also removed the (obsolete) beta-test check that had been in the code, as well as the old spec files used to package the separate distribution of resize2fs. Makefile.in: No longer build resize2fs.static, since there's no real point in it any more. Modified Files: ChangeLog Makefile.in extent.c main.c resize2fs.8.in resize2fs.c resize2fs.h sim_progress.c test_extent.c Removed Files: e2fsprogs-1.12.spec pq.gif resize2fs.spec version.h
* Many files:Theodore Ts'o2000-04-032-0/+8
| | | | | | | | | | | | | badblocks.c, dumpe2fs.c, e2label.c, mke2fs.c, tune2fs.c, uuidgen.c: For platforms that don't define optarg.h, manually define optarg and optind. ChangeLog, main.c: main.c: For platforms that don't define optarg.h, manually define optarg and optind. ChangeLog, unix.c: unix.c: For platforms that don't define optarg.h, manually define optarg and optind.
* ChangeLog, main.c, resize2fs.h:Theodore Ts'o2000-02-023-6/+8
| | | | | | resize2fs.h: Remove unneeded #include of linux/fs.h main.c: Fix gcc -Wall bug. main() should return an int.
* ChangeLog, Makefile.in:Theodore Ts'o1999-11-192-1/+7
| | | | | | | | | Makefile.in (distclean): Remove TAGS and Makefile.in.old from the source directory. Also, when making the .exclude file for the source_tar_file, exclude those two files as well. Makefile.in (distclean): Remove TAGS and Makefile.in.old from the source directory.
* libext2fs.texinfo, ChangeLog:Theodore Ts'o1999-11-101-0/+4
| | | | | Update for 1.18 release.
* Many files:Theodore Ts'o1999-10-261-0/+4
| | | | | Update for 1.17 release.
* ChangeLog:Theodore Ts'o1999-10-231-0/+4
| | | | | | | Update for 1.16 release. libext2fs.texinfo: Update version number for 1.16 release.
* ChangeLog:Theodore Ts'o1999-07-301-0/+4
| | | | | Add 1.15 release note to the Changelogs.
* Makefile.in:Theodore Ts'o1999-07-191-1/+1
| | | | | Add resize2fs.clean to the clean list.
* Makefile.in:Theodore Ts'o1999-07-031-11/+9
| | | | | | | Update dependencies. ChangeLog: Update ChangeLog to reflect full set of changes to configure.in
* ChangeLog, message.c:Theodore Ts'o1999-01-091-0/+4
| | | | | | | | | message.c (safe_print): New function which prints strings, converting non-printable characters using the '^' and M-notation. This function is now used to print directory name entries and pathnames. ChangeLog: Update for release of E2fsprogs 1.14.
* Many files:Theodore Ts'o1998-12-191-0/+4
| | | | | | Update version information in ChangeLogs, release notes, documentation, etc. for release of version 1.13.
* ChangeLog, Makefile.in:Theodore Ts'o1998-12-042-9/+15
| | | | | Makefile.in: Updated dependencies.
* .del-resize2fs.spec~524d144b:Theodore Ts'o1998-09-303-2/+9
| | | | | | | | Fix up version number for 1.03 ChangeLog, main.c: Print a feedback message stating the new size of the filesystem when we're through.
* main.c:Theodore Ts'o1998-09-293-4/+4
| | | | | | | Remove timebomb for production version. resize2fs.8.in, .del-version.h~524d144b: Update for production version of resize2fs.
* ChangeLog, resize2fs.c:Theodore Ts'o1998-09-032-17/+22
| | | | | | resize2fs.c: Rename max to max_groups and max_dirs to avoid possible conflicts with a cpp macro named "max".
* ChangeLog, mk_cmds.sh.in:Theodore Ts'o1998-08-012-0/+6
| | | | | | | | | | mk_cmds.sh.in: Fix error message so that it says mk_cmds's template files instead of compile_et's template files. ChangeLog, resize2fs.h: resize2fs.h: Protect include of unistd.h with HAVE_UNISTD_H. e2fsprogs.lsm: Updated for 1.12 release.
* ChangeLog, .del-ChangeLog~905e7699, version.h:Theodore Ts'o1998-07-091-0/+4
| | | | | Update for 1.12 release.
* ChangeLog, resize2fs.c:Theodore Ts'o1998-06-102-1/+6
| | | | | Change blkcnt_t to be e2_blkcnt_t to avoid collision with the LFS API.
* ChangeLog, e2fsck.h, pass1.c, super.c:Theodore Ts'o1998-04-302-2/+9
| | | | | | | | | | | | | | | | | pass1.c (process_inode_cmp): Use EXT2_QSORT_TYPE to define the appropriate return type for comparison functions for qsort. e2fsck.h: Add #ifdef protection for unistd.h super.c: Remove header files already included by e2fsck.h ChangeLog, dblist.c, ext2fs.h: ext2fs.h: Define EXT2_QSORT_TYPE appropriately for the return type for comparison functions for qsort. dblist.c (dir_block_cmp): Use EXT2_QSORT_TYPE in function declaration. ChangeLog, extent.c: extent.c (ext2fs_create_extent_table): Use ext2fs_free_mem instead of free(). (extent_cmp): Use EXT2_QSORT_TYPE to define the appropriate return type for comparison functions for qsort.
* Many files:Theodore Ts'o1998-04-273-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | ext2fs.h, bitops.h: Add support for the Watcom C compiler to do inline functions. ext2fs.h, dosio.c: Use asm/types.h instead of linux/types.h to evade a potential problem with glibc's header files trying to spike out linux/types.h. ext2fs.h (ext2fs_resize_mem): Change the function prototype to include the old size of the memory, which is needed for some braindamaged memory allocation systems that don't support realloc(). badblocks.c (ext2fs_badblocks_list_add): bb_inode.c (clear_bad_block_proc): dblist.c (ext2fs_add_dir_block): icount.c (insert_icount_el): irel_ma.c (ima_put): rs_bitmap.c (ext2fs_resize_generic_bitmap): Update functions to pass the old size of the memory to be resized to ext2fs_resize_mem(). ChangeLog, dirinfo.c: dirinfo.c (e2fsck_add_dir_info): Update function to pass the old size of the memory to be resized to ext2fs_resize_mem(). ChangeLog, extent.c, resize2fs.c: resize2fs.c (adjust_superblock): extent.c (ext2fs_add_extent_entry): Update functions to pass the old size of the memory to be resized to ext2fs_resize_mem().
* .del-resize2fs.spec~524d144b:Theodore Ts'o1998-04-081-1/+1
| | | | | Change to be version 1.02.
* main.c, .del-version.h~524d144b:Theodore Ts'o1998-04-082-5/+40
| | | | | | Add expire time checking to the resize2fs driver program. Change the version number to be version 1.02.
* ChangeLog, subst.conf.in:Theodore Ts'o1998-04-032-6/+14
| | | | | | | | | | | | Add substitution for @datadir@ ChangeLog, Makefile.in: Change to use new installation directory variables convention. Fix uninstall rules to take $(DESTDIR) into account. Remove cat8dir from the installdirs target, since modern man package don't necessarily put the cat directory in /usr/man/cat?. ChangeLog, .del-types.h.in~7a460879: types.h.in: Add a signed keyword to the __s64 definition.
* ChangeLog, test_icount.c, test_icount.h:Theodore Ts'o1998-03-303-6/+13
| | | | | | | | | | | test_icount.h (do_dump, do_validate): Add prototypes to fix -Wall warnings. test_icount.c: Fix -Wall warnings. ChangeLog, extent.c, main.c: extent.c (extent_cmp): Add const to cast to prevent -Wall warning. main.c (check_mount): Rename function argument to prevent -Wall warning.
* ChangeLog, main.c, resize2fs.c:Theodore Ts'o1998-03-243-5/+26
| | | | | | | | | | | main.c (main): Check to make sure we can really resize this filesystem. If there are compatible feature sets that we don't support, we need to abort. resize2fs.c: Change to use the new prototype required by block_iterate2 (which uses blkcnt_t for the blockcount). version.h, RELEASE-NOTES: Interim commit of changes to date.
* ChangeLog, mke2fs.c:Theodore Ts'o1998-03-212-1/+12
| | | | | | | | Fixed spelling typo in warning message. Fixed up -Wall warnings in file. Many files: Update latest version of the build files for resize2fs.
* ChangeLog, resize2fs.c:Theodore Ts'o1998-03-212-0/+27
| | | | | | | resize2fs.c (inode_scan_and_fix): If we are expanding the filesystem, temporarily set rfs->old_fs->super->s_blocks_count to ultimate size of the filesystem, to avoid catching an error on the block iterator.
* ChangeLog, main.c, .del-resize2fs-1.12.spec~70080ffd, resize2fs.8.in:Theodore Ts'o1998-03-094-6/+10
| | | | | Decouple version numbers from the base e2fsprogs release.
* Makefile.in, ChangeLog:Theodore Ts'o1998-03-076-11/+74
| | | | | | | | | | | Change the name of the complete source file that we built (that includes resize2fs) to be e2fsprogs-ALL-<version>.tar.gz. Don't link with libuuid, since it's not needed. resize2fs.8.in: Add copyright statement. Many files: Update packaging for the resize2fs program.
* main.c, ChangeLog:Theodore Ts'o1998-03-072-0/+3
| | | | | Add copyright notice.
* ChangeLog, resize2fs.c:Theodore Ts'o1998-03-072-1/+10
| | | | | | | | resize2fs.c (blocks_to_move): Create the meta_bmap using the old filesystem, not the new filesystem. (get_new_block): Don't try checking the old block bitmap if the block we're testing is beyond the boundaries of the old filesystem.
* ChangeLog, Makefile.in, main.c:Theodore Ts'o1998-02-273-12/+19
| | | | | | | | Makefile.in: Add rule to build a static version of resize2fs. Update dependency rules. main.c: #include ../version.h, instead of using a hard-coded version string.
* ChangeLog, main.c, resize2fs.c, resize2fs.h:Theodore Ts'o1998-02-244-34/+78
| | | | | | | Change the progress function to return an errcode_t; this allows the progress function to return a error indicating a user-requested cancel.
* ChangeLog, main.c, resize2fs.8.in, resize2fs.c:Theodore Ts'o1998-02-214-22/+140
| | | | | | | | | | | main.c (check_mount, main): Resize2fs now checks the size of the partition, and uses this as a default new_size of the partition if one is not specified. Resize2fs will not let you resize a mounted partition. resize2fs.c: Change how the progress function for the INODE_SCAN pass is performed, so that the maximum size is never zero. resize2fs.8.in: Updated man page.
* Many files:Theodore Ts'o1998-02-1610-827/+678
| | | | | | | | | | | Major reoganization of how resizing works. Functions in ext2_block_move.c, and ext2_inode_move.c moved into resize2fs.c. Multiple passes in those two files also combined into a single inode scanning pass. Made the inode table moving function better handling the case where it needs to abort mid-operation. When moving blocks around, made the block allocation function preferentially avoid the old group descriptor blocks, to make resize2fs more robust.
* Many files:Theodore Ts'o1998-02-136-126/+162
| | | | | | resize2fs.c, resize2fs.h, ext2_block_move.c, ext2_inode_move.c, main.c: Reorganize how the progress functions are called.
* Many files:Theodore Ts'o1998-01-199-177/+215
| | | | | | | | | | | | | | | | | | | | resize2fs.h: If EXT2_FLAT_INCLUDES is defined, then assume all of the ext2-specific header files are in a flat directory. ext2_block_move.c, ext2_inode_move.c, extent.c, resize2fs.c, resize2fs.h: Rename variables named "new" to "new_block", "new_inode", or "new_loc" to avoid C++ reserved word clash. ext2_block_move.c, ext2_inode_move.c, extent.c, resize2fs.c, sim_progress.c: Use ext2fs_get_memory(), ext2fs_free_memory(), et. al., instead of malloc() and free(). ext2_block_move.c, ext2_inode_move.c, extent.c: Explicitly cast all assignments from void * to be compatible with C++. banalysis.c, banalysis.h, ext2_inode_move.c, ext2_block_move.c: Change private to priv_data to avoid C++ namespace clash. ChangeLog, badblocks.8.in: badblocks.8.in: Add documentation for the -s option.
* Many files:Theodore Ts'o1997-11-141-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | pass1.c, pass2.c, pass3.c, pass4.c, pass5.c: Add calls to the progress indicator function. pass1.c (scan_callback): Add call to the progress feedback function (if it exists). super.c (check_super_block): Skip the device size check if the get_device_size returns EXT2_EXT_UNIMPLEMENTED. iscan.c (main): Don't use fatal_error() anymore. pass1b.c, swapfs.c, badblocks.c: Set E2F_FLAG_ABORT instead of calling fatal_error(0). problem.c, pass3.c (PR_3_ROOT_NOT_DIR_ABORT, PR_3_NO_ROOT_INODE_ABORT): New problem codes. problem.c, pass2.c (PR_2_SPLIT_DOT): New problem code. problem.c, pass1.c (PR_1_SUPPRESS_MESSAGES): New problem code. problemP.h: New file which separates out the private fix_problem data structures. util.c, dirinfo.c, pass1.c, pass1b.c, pass2.c, pass5.c, super.c, swapfs.c util.c: allocate_memory() now takes a e2fsck context as its first argument, and rename it to be e2fsck_allocate_memory(). problemP.h: New file which contains the private problem abstraction definitions. Makefile.pq: Remove include of MAKEFILE.STD, which doesn't exist at this point.
* ChangeLog, resize2fs.h:Theodore Ts'o1997-11-042-7/+2
| | | | | Remove STDC magic, since everyone is STDC these days.
* Many files:Theodore Ts'o1997-11-036-9/+28
| | | | | | | | | resize2fs.c, ext2_block_move.c ext2_inode_move.c: Only include printf statements if RESIZE2FS_DEBUG is defined. main.c: Don't read in the bitmaps since resize2fs.c does that. e2label.c, mke2fs.c: Adjust header files.
* ext2fs.h, ext2_err.et.in, ChangeLog, pass1.c, pass3.c:Theodore Ts'o1997-10-311-3/+8
| | | | | | | | | | Rename new error codes to _ET_ in them for consistency. ChangeLog, et_c.awk, et_h.awk: Remove support for non STDC compilers, since the workarounds caused problems with the header file. Makefile.pq: Checkpoint of powerquest work.