Theodore Ts'o
4c4e3f7843
Fix libblkid's magic number recognition for the cramfs filesystem,
...
and add support to pull out the label for cramfs filesystems.
Thanks to Karel Zak (kzak at redhat.com) for the patch.
2005-05-05 18:06:04 -04:00
Theodore Ts'o
64777391eb
debugfs.c (do_stat): Check to make sure a filesystem is open
...
and abort if with an error if not, to prevent a seg fault
in that case.
2005-05-05 17:21:46 -04:00
Theodore Ts'o
8139367bbd
Fix spelling mistakes in man pages. (Addresses Debian Bugs: #304591 ,
...
#304592 , #304594 , #304597 , #304593 )
2005-04-16 14:05:09 -04:00
Theodore Ts'o
09f3eba28a
Fix typo so that we actually ignore environment variables when gid != egid.
2005-04-16 13:56:03 -04:00
Theodore Ts'o
5e91614349
Don't offer to update or clone the resize inode when e2fsck deals with
...
multiply claimed blocks.
2005-04-14 17:10:14 -04:00
Theodore Ts'o
1f3ad14a5a
Use a centrally stored current time for "now" which
...
can be overridden using the E2FSCK_TIME environment
variable, for better reproducibility for regression tests.
2005-04-14 14:07:53 -04:00
Theodore Ts'o
09a51b3de3
Update debian changelog for 1.37-2 release.
2005-04-09 21:12:30 -04:00
Theodore Ts'o
86a02b5d3d
test_script.in: Make the test script driver exit with a non-zero
...
status if there are any failed tests.
2005-04-09 01:26:49 -04:00
Theodore Ts'o
a4897d41c2
Don't abort filefrag if EXT3_IOC_GETFLAGS ioctl is not supported,
...
so that filefrag can work on non-ext2/3 filesystems, as advertised.
(Addresses Debian Bug: #303509 )
2005-04-09 01:24:04 -04:00
Theodore Ts'o
b7e4eef304
ls.c: Add stdlib.h header file since list_super2() uses the
...
free() function.
2005-04-09 01:22:09 -04:00
Theodore Ts'o
b1ae119729
Add missing return values in error return cases in the ext2fs library.
...
(Otherwise we return garbage instead of the error code.)
2005-04-09 01:21:21 -04:00
Theodore Ts'o
bcf5aea294
Fix minor spelling typo in the mke2fs man page.
2005-04-09 00:33:21 -04:00
Theodore Ts'o
4147d9f029
pass1.c (e2fsck_pass1): If the superblock last mount time (not
...
just the last write time) looks insane, then assume that
we can't do the LOW_DTIME checks.
2005-04-06 14:55:53 -04:00
Theodore Ts'o
762c7c6510
Add paranoia checks into the blkid, ext2fs, and ss libraries to ignore
...
environment variables if the libraries are called from setuid or setguid
programs, or if kernel believes that the process is not eligible to create
a core dump. In addition, if the libc has __secure_getenv(), use it so that
the libc can also do any additional limitations regarding when libraries can
trust environment variables (i.e., to integrate with systems like SELinux
and Posix capabilities).
2005-04-06 14:44:16 -04:00
Theodore Ts'o
813b901d41
ostype.c (e2p_os2string): Check to make sure malloc() is
...
successful before attempting to copy into it. Add
#include of stdlib.h to fix a core dump bug on the IA64
architecture. (Addresses Debian Bug #302200 )
2005-03-31 00:01:33 -05:00
Theodore Ts'o
d4f28f9a6a
ADD TAG: E2FSPROGS-1_37
2005-03-21 22:55:18 -05:00
Theodore Ts'o
ac43a437ee
Update LSM file for 1.37 release.
2005-03-21 22:55:18 -05:00
Theodore Ts'o
fd4b28efd3
Update for the e2fsprogs 1.37 release.
2005-03-21 22:37:03 -05:00
Theodore Ts'o
65ffef3689
Ignore the BLKID_FILE environment variable if blkid_get_cache() is
...
called from a setuid program.
2005-03-21 22:13:32 -05:00
Theodore Ts'o
d72e954f45
Fix the test image so that it actually has an ea-in-inode.
2005-03-21 17:15:18 -05:00
Theodore Ts'o
ddbe33107e
Add new test case which exercises the ea-in-inode checker in e2fsck.
2005-03-21 16:41:35 -05:00
Theodore Ts'o
cebe48a1ec
Integrate code from Alex Thomas at Clusterfs to check extended attributes
...
stored in inodes into e2fsck.
There are a number of bug fixes and enhancements over the original lustre fsck
BK repository. The biggest one is that this extended attribute values must
be aligned on 4-byte boundaries.
2005-03-21 13:15:45 -05:00
Theodore Ts'o
c9ae3f9a49
Make debugfs's stat command print the size of the extra inode fields,
...
if any.
2005-03-21 01:08:10 -05:00
Theodore Ts'o
e27b45639a
Fix mke2fs so that it writes the root directory
...
using ext2fs_write_new_inode(), and fix ext2fs_write_new_inode()
so that it initializes i_extra_isize properly.
2005-03-21 01:02:53 -05:00
Theodore Ts'o
89db86d33c
Make e2fsck check the superblock's inode_size to make sure it is
...
sane before we start depending on it!
2005-03-20 22:47:54 -05:00
Theodore Ts'o
030970ed75
Fix e2fsck, debugfs, and the ext2fs_mkdir function so that when we create
...
a new inode we make sure that the extra information in the inode (any extra
fields in a large inode and any ea-in-inode information) is cleared. This
can happen when e2fsck creates a new root inode or a new lost+found directory,
or when the user uses the debugfs write, mknod, or mkdir commands. Otherwise,
the newly create inode could inherit garbage (or old EA information) from
a previously deleted inode.
2005-03-20 20:05:22 -05:00
Theodore Ts'o
ea822eeba3
Enhance debugfs's stat command so it can dump extended attributes
...
which are stored in the inode body.
2005-03-20 18:03:58 -05:00
Theodore Ts'o
dc71f23e63
Fix bug in e2fsck where we don't notice if a file with an extended
...
attribute block is so big that i_blocks wraps to zero.
2005-03-20 16:57:10 -05:00
Theodore Ts'o
6325394630
Add new functions which convert between a string and os_type: e2p_os2string()
...
and e2p_string2os() in the e2p library.
2005-03-19 01:13:22 -05:00
Theodore Ts'o
06ce1f6b28
Fix clean target to remove tst_getsectsize.
...
Remove useless -DDEBUG when linking tst_getsectsize.
2005-03-18 23:50:32 -05:00
Theodore Ts'o
3d16b3f4bb
filefrag.c (frag_report): Automatically detect files that are
...
stored using the new experimental file fragments format,
and use the non-ext2 algorithm for determing the number of
extents. Avoid reporting a false discontinuity if there
is a non-allocated block (or extent) at the beginning of
the file.
2005-03-18 20:37:45 -05:00
Theodore Ts'o
283df83e7e
getsize.c (ext2fs_get_device_size): Check to see if the number
...
of blocks is greater than 2**32 when we are doing a binary
search to determine the device size. Thanks to Stephen
Tweedie for the patch.
2005-03-18 20:11:59 -05:00
Theodore Ts'o
be5a72daa7
Force compile_et and mk_cmds to use /usr/bin/awk so that we will work
...
on any Debian system regardless of which version of awk is installed.
(Closes : #299341 )
2005-03-17 01:16:34 -05:00
Theodore Ts'o
b22ea17742
getsize.c (blkid_get_dev_size): Fix compilation problem on
...
Darwin systems.
2005-03-16 23:38:14 -05:00
Theodore Ts'o
4aad4daee4
gen_tarball.in: Don't remove the .gmo files from the generated tarball;
...
they are now treated as source files instead of generated files.
2005-03-02 12:57:51 -05:00
Theodore Ts'o
19a868e025
Update the TODO file to have more information in it.
2005-03-01 17:15:33 -05:00
Theodore Ts'o
b008e60648
Change the debian version to be 1.36release-1 since we didn't do the WIP
...
version numbers correctly.
2005-03-01 17:10:51 -05:00
Theodore Ts'o
674a8262e9
ADD TAG: E2FSPROGS-1_36
2005-02-05 18:26:03 -05:00
Theodore Ts'o
3eee5e9eed
Update for release of e2fsprogs 1.36.
2005-02-05 18:26:03 -05:00
Theodore Ts'o
ee683a13f6
Makefile util/gen-tarball executable after creating the file.
2005-02-05 15:53:56 -05:00
Theodore Ts'o
b7aa0d653e
Remove *.pc files on a "make distclean"
...
Remove emacs backup files in tests/Makefile on a "make clean"
2005-02-05 15:48:49 -05:00
Theodore Ts'o
33db8f80f2
Remove support for --enable-clear-htree; this was
...
only needed during the early development of the htree patch.
2005-02-05 10:28:15 -05:00
Theodore Ts'o
98919bdb2e
Add support for maintainer mode, which enables the makefile rules
...
to rebuild the configure script from configure.in, and to reubuild the
.gmo files in po directory.
2005-02-04 10:43:58 -05:00
Theodore Ts'o
dbb2a1014a
Makefile.in (clean): Remove tst_getsize when doing a make clean
2005-02-04 10:36:37 -05:00
Theodore Ts'o
7f1faaa482
filefrag.c (frag_report): In verbose mode, print the first and
...
last block numbers; may be useful for some folks.
2005-02-04 09:50:41 -05:00
Theodore Ts'o
dbe9c71a17
Use inline instead of __inline__ in the blkid debugging code for
...
Solaris compatibility.
2005-02-03 22:09:49 -05:00
Theodore Ts'o
7004b4af6e
Drop the sparc assembly bitwise operations; it's less efficient
...
than the GCC 3.4 compile code and triggers compiler warnings on
sparc64. Thanks to Matthias Andree for his analysis and suggestions.
(Addresses Debian Bug #232326 )
Remove support for the --enable-old-bitops configure option which
was only for very old sparc systems.
2005-02-03 21:56:44 -05:00
Theodore Ts'o
07f031fd1d
Define _XOPEN_SOURCE to be 500 to fix compilation problems on Solaris.
2005-02-03 20:38:52 -05:00
Theodore Ts'o
8ceb55f0e5
Update release notes and version.h for e2fsprogs 1.36-rc5 release.
2005-01-28 12:33:01 -05:00
Theodore Ts'o
a894eb4795
pass2.c (e2fsck_process_bad_inode): Fix a corner case involving
...
big-endian systems, long symlinks and i_file_acl set when
it shouldn't be. Without this bugfix, f_clear_xattr will
fail on big-endian machines.
2005-01-28 12:27:35 -05:00