summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2002-11-08Update files for 1.31 release.Theodore Ts'o7-0/+28
2002-11-08pf.c: Print the indexed directory flag if present. Don't displayTheodore Ts'o2-0/+9
all of the compression flags unless compression support has been enabled.
2002-11-08Missed a EVMS 1.2 ABI fixup.Theodore Ts'o1-0/+4
2002-11-08Skip byteswap tests on --disable-swapfsTheodore Ts'o2-2/+7
Disable certain tests that depend on the byteswapping functions being present so that "make check" succeeds even if --disable-swapfs is passed to the configure script.
2002-11-08Update "make depend".Theodore Ts'o1-2/+6
2002-11-08fs_ext2.c (fs_expand, fs_shrink), Theodore Ts'o3-3/+28
fsimext2.c (fsim_mkfs, fsim_fsck): Inform the user if e2fsck, mke2fs or resize2fs dies with a signal, or if the exit with a non-zero exit status.
2002-11-08fsimext2.c (set_mkfs_options): If the hard sector size is 1024,Theodore Ts'o2-4/+3
don't force a blocksize of 1024; there's no need to do so.
2002-11-08Default the EVMS_ABI_CODE if it is not defined to 1.2.0.Theodore Ts'o1-0/+5
2002-11-08Update EVMS plugin to support EVMS ABI 1.2Theodore Ts'o8-167/+231
2002-11-08fsimext2.c (set_mkfs_options): Synchronize with EVMS CVS revTheodore Ts'o2-0/+29
1.7 (2002/09/11): Add a hack to force mkfs won't a blocksize equal to the hardsector size if it is larger than 512 bytes.
2002-11-08Synchronize with EVMS CVS. Add better error handlingTheodore Ts'o3-1/+17
for child processes that die unexpectedly.
2002-11-08fs_ext2.c (fs_expand): Synchronize with EVMS CVS rev 1.12Theodore Ts'o2-1/+4
(2002/08/28): Use the EVMS_IS_MOUNTED macro.
2002-11-08fs_ext2.c (fs_expand, fs_shrink): Synchronize with EVMS CVS revTheodore Ts'o2-0/+7
1.11 (2002/8/27). Read from the resize2fs output in non-blocking mode, so the GUI continues to updates the window.
2002-11-08fsimext2.h: Synchronize with EVMS CVS rev 1.8 (2002/8/29).Theodore Ts'o2-43/+48
Change all __uXX's to u_intXX_t's.
2002-11-08closefs.c (write_bgdesc, ext2fs_flush): Fix bug in meta_bgTheodore Ts'o2-10/+18
support when the MASTER_SB_ONLY flag is set. Some of the descriptor blocks that should have been written out were getting skipped.
2002-11-01Update files for 1.30 release.Theodore Ts'o7-0/+28
2002-11-01ext2_fs.h: Add support for a new inode flag, which is to be usedTheodore Ts'o2-0/+10
for indicating the top of directory hierarchies for the Orlov block allocator.
2002-11-01Add support for a new inode flag, which is to be usedTheodore Ts'o2-1/+3
for indicating the top of directory hierarchies for the Orlov block allocator.
2002-10-31gen_uuid.c (get_random_bytes): Don't spin forever if read()Theodore Ts'o2-4/+7
returns EINTR or EAGAIN, so that when /dev/random is opened O_NONBLOCK, we don't end up spinning forever.
2002-10-31ismounted.c (check_mntent, check_mntent_file): Add betterTheodore Ts'o2-13/+33
support for loopback-mounted filesystems. Check /etc/mtab if /proc/mounts doesn't turn up any mount flags, since /etc/mtab has the loopback image filename, instead of /dev/loop0. Also, check based on st_dev and st_ino, so that if a relative pathname or a pathnames using symbolic links are used, we can detect the the filesystem correctly in those cases. (Addresses Sourceforge bug #619119)
2002-10-31flushb.c (ext2fs_sync_device): If the BLKFLSBUF ioctl succeeds,Theodore Ts'o2-2/+8
don't try the FDFLUSH ioctl that was required for floppies with older kernels. This avoids needless whining from the MD device driver. (Addresses Sourceforge bug #545832).
2002-10-31openfs.c (ext2fs_open): Fix bug which caused us to pass theTheodore Ts'o2-3/+26
wrong group_block to ext2fs_descriptor_block_loc if we're using the backup superblock/block group descriptors. (ext2fs_descriptor_block_loc): If we're using the backup superblock descriptors, use the backup descriptor block in the next block group.
2002-10-30Add support for the meta_bg feature flag to the resize2fs program.Theodore Ts'o4-33/+42
Fix bug in meta_bg support in mke2fs, e2fsck, and dumpe2fs; we were incorrectly reserving the legacy block groups desriptor blocks.
2002-10-25Add a new superblock field, s_mkfs_time, which indicates whenTheodore Ts'o5-4/+24
the filesystem was created. It is set via mke2fs, and printed via list_super2() (which is called by dumpe2fs). Also, list_super2() will now print "n/a" if the last mount time (s_mtime) is zero.
2002-10-20Add support for new default mount options for the journal data mode.Theodore Ts'o6-4/+27
2002-10-20Add support for the meta_blockgroup filesystem format.Theodore Ts'o10-39/+148
2002-10-15Add support for new feature in ext2/3 filesystems; a default mount options fieldTheodore Ts'o7-6/+182
in the superblock. Added the tune2fs '-o' option to set this field.
2002-10-13Fix gcc -Wall nits.Theodore Ts'o2-0/+8
Fix format bug if NLS is in use. Add extra so that the info directory looks OK on OpenWall.
2002-10-02Fix endian problems in the htree code for e2fsck and debugfs.Theodore Ts'o3-4/+15
When byte-swapping a filesystem on a PPC architecture, byte-swap the bitmaps since the historical big-endian ext2 variant had byte-swapped bitmaps, and the ext2fs library assumes this. Otherwise the regression test suite will fail...
2002-09-24Update for 1.29 release.Theodore Ts'o8-0/+32
2002-09-23lib/et/internal.h: Remove declaration of perror. All modern systemsTheodore Ts'o2-7/+5
can be expected to define perror() these days.
2002-08-31Update changelogs for 1.28 releaseTheodore Ts'o7-0/+28
2002-08-31Fix a bug which caused e2fsck to fail to correctly check filesystems Theodore Ts'o3-6/+21
using a non-zero hash version (i.e., half MD4 or TEA hash). The hash version wasn't getting copied into dx_dir->hashversion and this caused the kernel to treat all directories if they were using the legacy hash, which was Bad.
2002-08-24Add support for the hash_seed and s_def_hash_ver fields in the Theodore Ts'o6-14/+112
superblock. Dumpe2fs can now print out these fields, and they can be modified using debugfs's set_super_value command. Also added to debugfs was the ability to set s_uuid and s_journal_uuid features as well.
2002-08-20valid_blk.c (ext2fs_inode_has_valid_blocks): Fix bug whichTheodore Ts'o2-2/+9
failed to accurately characterize non-standard slow symlinks. (Which don't appear in practice on real-life systems, fortunately.)
2002-08-18Makefile.in: Revamp makefile so that it doesn't dependTheodore Ts'o2-6/+29
--enable-elf-shlibs. We always build the shared library, since it's meant to be used as a plugin library.
2002-08-18Clean up fsck handling, and fix bug which caused fs_shrink and Theodore Ts'o4-55/+69
fs_expand to abort if fsck fixed a problem and exited with a status code of 1.
2002-08-18More EVMS 1.1 CVS synchronization.Theodore Ts'o2-12/+13
Fix up logging macros to use __FUNCTION__ correctly.
2002-08-18fs_ext2.c, fsimext2.c: Synchronize with EVMS CVS tree.Theodore Ts'o3-26/+84
Fixed up confusion caused by bad parameter names for get_fs_limits(). Added missing conversion of volume->vol_size from sectors to bytes. Fix up error returns for unsupported tasks as EINVAL, not ENOSYS. Use logical names for the API version numbers, since the ABI is much more dependent on the headers. Add code to byte-swap the superblock if necessary.
2002-08-18common.h, dlist.h, enginestructs.h, options.h, plugfuncs.c, Theodore Ts'o11-777/+646
fs_ext2.c: Synchronize with ABI of EVMS 1.1.
2002-08-17Update to debian's 1.27+1.28-WIP-0626-1Theodore Ts'o2-2/+6
Revert the shlibs hack. Makefile.in: Remove inode_io.o from the standard object files in libext2fs, and only build it if debugfs is enabled (it requires fileio.o, which is only built if --disable-debugfs isn't specified to configure).
2002-08-17chattr.1.in: Document the compression attribute flags E, X, andTheodore Ts'o5-28/+50
Z, and explain that chattr can't set or set these flags. (Addresses Debian Bug #151990) fsetflags.c (fsetflags), fgetflags.c (fgetflags.c), setflags.c (setflags), getflags.c (getflags): Check to make sure the file is a regular file or a directory before attempting to use the ext2 ioctls. Otherwise, return EOPNOTSUPP. (Addresses Debian Bug #152029).
2002-08-17Modify the half MD4 hash so it is no longer endian dependent. This isTheodore Ts'o4-43/+114
a backwards incompatible change, but this should be OK since the kernel MD4 ext3 code was only in the CVS tree, and hasn't generally escaped. Add support for the TEA hash.
2002-08-17Overhaul extended attribute handling. Should now be correct withTheodore Ts'o5-5/+91
respect to the latest V2 bestbits ACL code.
2002-08-13Makefile.in: Move dupfs.o and test_io.o from theTheodore Ts'o2-3/+10
needed-by-debugfs object list to the needed-by-resizer object list. Fixes compile problem if the system is built with only --disable-debugfs.
2002-07-29link.c (ext2fs_link): When adding a new link to a directory,Theodore Ts'o2-3/+21
clear the HTREE bit.
2002-07-23dirhash.c (ext2fs_dirhash): Fix bug which caused MD4Theodore Ts'o2-4/+12
calculations for names > 32 characters to be completely bogus. Changed MD4 calculation to match what is currently being used in the CVS gkernel tree.
2002-07-20Add support to e2fsck to reindex directories to use hash trees.Theodore Ts'o6-38/+120
2002-07-19dirhash.c (halfMD4Transform): Shift the hash by one bit,Theodore Ts'o2-1/+6
since that's required by the directory indexing code.
2002-07-15parse.c (uuid_parse): Fix uuid parsing bug which didn't complainTheodore Ts'o4-2/+43
for certain types of invalid input text. (Addresses Debian bug #152891). tst_uuid.c: Add test cases for invalid text strings passed to uuid_parse.