aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix profile.c so that com_err.h doesn't have to be installedE2FSPROGS-1.39-WIP-1231Theodore Ts'o2006-01-012-1/+7
| | | | | | | | | Fix #include of com_err.h so that it isn't required that the com_err development environment be installed. (Addresses Debian Bug: #345519) Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Update version file for 1.39-WIP-1231 release.Theodore Ts'o2005-12-311-1/+1
|
* Update e2fsprogs's internationalization files.Theodore Ts'o2005-12-3121-4554/+5395
| | | | | | Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Update release notes Theodore Ts'o2005-12-311-5/+58
|
* Add e2fsck problem handling to be configurableTheodore Ts'o2005-12-313-4/+48
| | | | | | | | | | | | Add the ability for the e2fsck configuration file to override the behaviour of e2fsck when a particular filesystem problem is encountered. This allows reconnecting an inode to lost+found to not stop the boot sequence, if a system administrator really badly wants this behaviour for some specialized reason, for example. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Slim down profile.cTheodore Ts'o2005-12-311-5/+5
| | | | | | | | #ifdef out functions not needed by e2fsck. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Add E2FSCK_CONFIG environment variableTheodore Ts'o2005-12-312-0/+5
| | | | | | | | | | Also, use this environtment variable to make sure that a local /etc/e2fsck.conf file will not interfere with the regression test suite. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Fix Really Ancient debian changelog lines so that Lintian doesn't complain.Theodore Ts'o2005-12-311-26/+41
|
* Make sure debian/rules is executable.Theodore Ts'o2005-12-311-0/+0
| | | | | Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Fix incorrect location of prof_err.h in profile.c.Theodore Ts'o2005-12-312-4/+4
| | | | | Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Update debian/changelog file.Theodore Ts'o2005-12-311-0/+21
| | | | | Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Move the blkid and uuidgen programs out of library packages and into e2fsprogsTheodore Ts'o2005-12-313-5/+1
| | | | | | | | | | | Move the blkid and uuidgen binaries out of libblkid1 and libuuid1 and into the e2fsprogs package to support soname transitions and simulaneous installs of multiarch flavors to coexist. (It's not worth creating two whole new packages for two separate binaries, so we just fold them into e2fsprogs.) (Closes: #330737, #330736) Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Clarify chattr man page to make sure people realize limitations in the kernelTheodore Ts'o2005-12-312-6/+18
| | | | | | | | | | Add notes in chattr's man page to make sure the reader refers to the BUGS AND LIMITATIONS section so that even an idiot will be able to see that some of these attributes are not yet implemented. (Addresses Debian Bug: #312515) Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Add allow_cancellation config optionTheodore Ts'o2005-12-312-3/+24
| | | | | | | | | | | If the e2fsck configuration file sets the allow_cancellation option to be true, then if the filesystem does not have any known problems, and was known to be cleanly unmounted, then let e2fsck exit with a status code of 0 instead of 32 (FSCK_CANCELED) so that the bootup scripts will continue without stopping the boot. (Addresses Debian Bug: #150295) Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Read in /etc/e2fsck.conf configuration file at startupTheodore Ts'o2005-12-314-1/+17
| | | | | Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Add the profile library code to e2fsckTheodore Ts'o2005-12-307-30/+2683
| | | | | | | | | | | | | | | | The profile library was originally written by Theodore Ts'o in 1995 for use in the MIT Kerberos v5 library. It has been modified/enhanced/bug-fixed over time by other members of the MIT Kerberos team. This version was originally taken from the Kerberos v5 distribution, version 1.4.2, and radically simplified for use in e2fsprogs. (Support for locking for multi-threaded operations, being able to modify and update the configuration file programmatically, and Mac/Windows portability have been removed. It has been folded into a single C source file to make it easier to fold into an application program.) Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Avoid needlessly recompilation of library objection filesTheodore Ts'o2005-12-298-26/+28
| | | | | | | | | | Fixing the problem of parallel builds sometimes not creating the library subdirectories caused library object files to get constantly recompiled. Fix this by remaping how the Makefile subdirectories decide to create the subdirectories. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Clean up gcc -Wall complaints in resize2fsTheodore Ts'o2005-12-292-3/+4
| | | | | | | Remove unused variables in mark_table_blocks() Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Make resize2fs expand or truncate a file containing a filesystem.Theodore Ts'o2005-12-292-20/+65
| | | | | | | (Addresses Debian Bug: #271607) Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Add missing parameter to error printf in blkid test program.Theodore Ts'o2005-12-292-1/+7
| | | | | | | | The blkid tag.c's test driver program had a missing parameter to an error message printf. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Add support for lib64ext2fs-nopic.a for mips in the Debian rules file.Theodore Ts'o2005-12-291-36/+51
| | | | | | | (Addresses Debian Bug #329074) Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Automatically fix superblock times in the futureTheodore Ts'o2005-12-192-2/+12
| | | | | | | | | | | If the superblock last mount time or last write time is in the future, fix this automatically if e2fsck is in preeen mode, since Debian's boot sequence bogusly doesn't set the time correctly until potentially very late in the bootup process, and this can cause false positives that will cause users' systems to fail to booting. (Addresses Debian Bugs #343662 and #343645) Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Newer versions of debian-buildpackage are much pickier about spacing and Theodore Ts'o2005-12-181-43/+43
| | | | | | | | formatting of the Debian changelog fix. Fix very old entries that had invalid spacing. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Fix typo'ed version number in Debian changelogTheodore Ts'o2005-12-101-1/+1
| | | | | Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Added tag E2FSPROGS-1.39-WIP-1210 for changeset ↵E2FSPROGS-1.39-WIP-1210Theodore Ts'o2005-12-101-0/+1
| | | | 502cdad9110a8f5bec2ff7842a6e90a543d49840
* Update release notes for 1.39-WIP-1210 release.Theodore Ts'o2005-12-103-6/+26
| | | | | Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Avoid trying to mount the root device if it is an NFS device.Theodore Ts'o2005-12-101-1/+1
| | | | | | | Addresses Debian Bug #310428 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Add resize2fs and badblocks to the e2fsprogs udebTheodore Ts'o2005-12-101-2/+5
| | | | | | | Addresses Debian Bugs #290429 and #310950 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Use $(LDFLAGS) when generating shared librariesTheodore Ts'o2005-12-103-3/+11
| | | | | | | | | | | | Makefile.elf-lib, Makefile.solaris-lib: Add $(LDFLAGS) to the command line argument when generating the shared library, to allow cross-compile and other builds that might need to specify -L paths to needed libraries. Addresses Sourceforge Bug #1261549 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Address parallel build problem in the library MakefilesTheodore Ts'o2005-12-1012-1/+49
| | | | | | | | | | Add a dependency to make sure that the subdirectories are created before creating all of the object files. Addresses Sourceforge Bug: #1261553 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Fix various gcc -Wall complaints.Theodore Ts'o2005-12-1017-149/+200
| | | | | Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Add ext2fs_read_bb_FILE test to confirm proper detection of invalid block #'sTheodore Ts'o2005-12-102-0/+70
| | | | | Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Update release notes.Theodore Ts'o2005-12-092-5/+92
| | | | | Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Fix bogus spaces before '!' and '?' characters in unused programs.Theodore Ts'o2005-12-096-16/+16
| | | | | | | | | | | | | | | | | | | | On Mon, Oct 31, 2005 at 01:23:53PM +0000, Martin Michlmayr wrote: > Package: e2fsprogs > Version: 1.38-2 > Severity: minor > > e2fsprogs isn't consistent in its use of spaces before an exclamation > mark. The patch below fixed this by removing some spaces. > (Interestingly, I couldn't find the error message in the sources where > I noticed this inconsistency, namely "group descriptors corrupted !"). Patch applied, but none of the source files you touched are actually compiled in e2fsprogs, and most of them weren't written by me. :-) Addresses Debian Bug #336604 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Add more description in mke2fs's man page of the -T optionTheodore Ts'o2005-12-092-3/+15
| | | | | | | Addresses Debian Bug #316811 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Update the Dutch translation file.Theodore Ts'o2005-12-092-22/+27
| | | | | Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Clarify the e2fsck man page regarding the -c optionTheodore Ts'o2005-12-092-4/+8
| | | | | | | | | A user was confused about whether or not e2fsck -c performed a destructive test on the filesystem, since it stated that -cc resulted in a non-destructive read/write test. Clarify that -c does a read/only test. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Make e2fsck -cc warn on a read-only root filesystemTheodore Ts'o2005-12-092-5/+11
| | | | | | | | Don't let the user run e2fsck -ccn on the root partition, without warning that he or she might be doing something Really Stupid. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Fix typo in e2fsck error message.Theodore Ts'o2005-12-092-1/+4
| | | | | | | Thanks to Solar Designer for pointing out the missing preposition. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Clarify description of the -p, -n, and -y options in the e2fsck man page.Theodore Ts'o2005-12-092-3/+34
| | | | | Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Fix gcc compilation on sparc architectures in bitops.hTheodore Ts'o2005-11-212-2/+8
| | | | | | | | | We no longer have the sparc assembly code in the header file any more, so we shouldn't set _EXT2_HAVE_AS_BITOPS_. This would break compiles on the sparc architectures when using gcc. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Add missing #include for string.h to ext2fs.h to fix GCC 4.01 complaintsTheodore Ts'o2005-11-142-0/+6
| | | | | | | | #include <string.h> is needed since the inline functions use memcpy(). (Addresses Sourceforge Bug #1251062) Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Add missing fsck.* programs to SEE ALSO section of fsck's man page.Theodore Ts'o2005-11-122-3/+14
| | | | | | | | fsck.8.in: Add additional fsck.* programs to the SEE ALSO section. Fix missing commas in list. (Addresses Debian Bug #329859) Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Fix writing external journals on big-endian machinesTheodore Ts'o2005-11-122-16/+25
| | | | | | | | | | Fix a bug when writing an external journal device on an big endian machine (such as a S/390), where when the number of block groups is zero, we never end up writing out the primary superblock at all. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Fix cross-compilation problems when CFLAGS contain target-specific optionsTheodore Ts'o2005-11-096-4/+45
| | | | | | | | | | | | Use BUILD_CCFLAGS and BUILD_LDFLAGS instead of CCFLAGS and LDFLAGS in the build system when building files in the util directory which are needed during the build process. This avoids potential problems when cross-compiling some of the options are not recognized as valid by the host compiler. (Addresses Sourceforge Bug #1261547) Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* E2fsck: fix future times in the superblock's last mount or last write fieldsTheodore Ts'o2005-09-248-0/+51
| | | | | | | Detect if the superblock's last mount field or last write field is in the future, and offer to fix if so. (Addresses Debian Bug #327580) Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* New debugfs command: set_current_timeTheodore Ts'o2005-09-247-27/+82
| | | | | | | | Generalize the time parsing code and move it to util.c:string_to_time(). Add new command, set_current_time, which sets the time used to set the filesystems's time fields. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Add fs->now to override time(0) in libext2fsTheodore Ts'o2005-09-248-9/+18
| | | | | | | | If fs->now is non-zero, use that as the time instead of the system time when setting various filesystem fields (last modified time, last write time, etc.) Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Fix mke2fs man page's description of the -L optionTheodore Ts'o2005-09-242-2/+9
| | | | | | | | | Fix mke2fs man page to properly document the fact that mke2fs -L takes an argument. (Addresses Debian Bug #322188) Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
* Fix display bug in badblocks -wTheodore Ts'o2005-09-242-1/+8
| | | | | | | | | | Add extra spaces when printing the "done" message to clear out the block number to fix a display corruption when the -s option is used to display the progress of the test. (Addresses Debian Bug #322231) Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>