summaryrefslogtreecommitdiff
path: root/resize
AgeCommit message (Collapse)AuthorFilesLines
2000-07-13configure.in:Theodore Ts'o1-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.
2000-07-05ChangeLog, Makefile.in:Theodore Ts'o2-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.
2000-06-12ChangeLog, extent.c, main.c, resize2fs.c, resize2fs.h:Theodore Ts'o5-44/+69
main.c, resize2fs.c, resize2fs.h, extent.c: Add NLS support.
2000-05-25.cvsignore:Theodore Ts'o1-0/+4
Supress build files when builddir==srcdir
2000-04-06Many files:Theodore Ts'o13-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
2000-04-03Many files:Theodore Ts'o2-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.
2000-02-02ChangeLog, main.c, resize2fs.h:Theodore Ts'o3-6/+8
resize2fs.h: Remove unneeded #include of linux/fs.h main.c: Fix gcc -Wall bug. main() should return an int.
1999-11-19ChangeLog, Makefile.in:Theodore Ts'o2-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.
1999-11-10libext2fs.texinfo, ChangeLog:Theodore Ts'o1-0/+4
Update for 1.18 release.
1999-10-26Many files:Theodore Ts'o1-0/+4
Update for 1.17 release.
1999-10-23ChangeLog:Theodore Ts'o1-0/+4
Update for 1.16 release. libext2fs.texinfo: Update version number for 1.16 release.
1999-07-30ChangeLog:Theodore Ts'o1-0/+4
Add 1.15 release note to the Changelogs.
1999-07-19Makefile.in:Theodore Ts'o1-1/+1
Add resize2fs.clean to the clean list.
1999-07-03Makefile.in:Theodore Ts'o1-11/+9
Update dependencies. ChangeLog: Update ChangeLog to reflect full set of changes to configure.in
1999-01-09ChangeLog, message.c:Theodore Ts'o1-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.
1998-12-19Many files:Theodore Ts'o1-0/+4
Update version information in ChangeLogs, release notes, documentation, etc. for release of version 1.13.
1998-12-04ChangeLog, Makefile.in:Theodore Ts'o2-9/+15
Makefile.in: Updated dependencies.
1998-09-30.del-resize2fs.spec~524d144b:Theodore Ts'o3-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.
1998-09-29main.c:Theodore Ts'o3-4/+4
Remove timebomb for production version. resize2fs.8.in, .del-version.h~524d144b: Update for production version of resize2fs.
1998-09-03ChangeLog, resize2fs.c:Theodore Ts'o2-17/+22
resize2fs.c: Rename max to max_groups and max_dirs to avoid possible conflicts with a cpp macro named "max".
1998-08-01ChangeLog, mk_cmds.sh.in:Theodore Ts'o2-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.
1998-07-09ChangeLog, .del-ChangeLog~905e7699, version.h:Theodore Ts'o1-0/+4
Update for 1.12 release.
1998-06-10ChangeLog, resize2fs.c:Theodore Ts'o2-1/+6
Change blkcnt_t to be e2_blkcnt_t to avoid collision with the LFS API.
1998-04-30ChangeLog, e2fsck.h, pass1.c, super.c:Theodore Ts'o2-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.
1998-04-27Many files:Theodore Ts'o3-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().
1998-04-08.del-resize2fs.spec~524d144b:Theodore Ts'o1-1/+1
Change to be version 1.02.
1998-04-08main.c, .del-version.h~524d144b:Theodore Ts'o2-5/+40
Add expire time checking to the resize2fs driver program. Change the version number to be version 1.02.
1998-04-03ChangeLog, subst.conf.in:Theodore Ts'o2-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.
1998-03-30ChangeLog, test_icount.c, test_icount.h:Theodore Ts'o3-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.
1998-03-24ChangeLog, main.c, resize2fs.c:Theodore Ts'o3-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.
1998-03-21ChangeLog, mke2fs.c:Theodore Ts'o2-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.
1998-03-21ChangeLog, resize2fs.c:Theodore Ts'o2-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.
1998-03-09ChangeLog, main.c, .del-resize2fs-1.12.spec~70080ffd, resize2fs.8.in:Theodore Ts'o4-6/+10
Decouple version numbers from the base e2fsprogs release.
1998-03-07Makefile.in, ChangeLog:Theodore Ts'o6-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.
1998-03-07main.c, ChangeLog:Theodore Ts'o2-0/+3
Add copyright notice.
1998-03-07ChangeLog, resize2fs.c:Theodore Ts'o2-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.
1998-02-27ChangeLog, Makefile.in, main.c:Theodore Ts'o3-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.
1998-02-24ChangeLog, main.c, resize2fs.c, resize2fs.h:Theodore Ts'o4-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.
1998-02-21ChangeLog, main.c, resize2fs.8.in, resize2fs.c:Theodore Ts'o4-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.
1998-02-16Many files:Theodore Ts'o10-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.
1998-02-13Many files:Theodore Ts'o6-126/+162
resize2fs.c, resize2fs.h, ext2_block_move.c, ext2_inode_move.c, main.c: Reorganize how the progress functions are called.
1998-01-19Many files:Theodore Ts'o9-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.
1997-11-14Many files:Theodore Ts'o1-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.
1997-11-04ChangeLog, resize2fs.h:Theodore Ts'o2-7/+2
Remove STDC magic, since everyone is STDC these days.
1997-11-03Many files:Theodore Ts'o6-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.
1997-10-31ext2fs.h, ext2_err.et.in, ChangeLog, pass1.c, pass3.c:Theodore Ts'o1-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.
1997-10-20Makefile.in:Theodore Ts'o1-0/+11
Don't include the Makefile.pq and the powerquest directories in the tar file. Makefile.pq: Initial version of powerquest-special makefile
1997-10-20Many files:Theodore Ts'o3-6/+14
Rename io.h to be ext2_io.h (avoid namespace collisions) ChangeLog, resize2fs.h: Add #ifdef's for HAVE_SYS_TYPES_H and HAVE_SYS_TIME_H.
1997-10-15Many files:Theodore Ts'o1-2/+1
Use new substitution technology which doesn't depend on shell scripts. (Faster, and better for MS-DOS port!)
1997-09-04ChangeLog, bmove.c, llseek.c:Theodore Ts'o2-0/+7
llseek.c: Added missing semicolon to glibc fixup declaration of llseek(). bmove.c: Add #include of errno.h ChangeLog, resize2fs.h: Add #include for errno.h