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
Theodore Ts'o
1e87f8aea2
f_bad_inode, f_recnect_bad: Adjust test cases to take into
...
account the change which clears the i_file_acl field earlier.
2005-01-28 11:46:05 -05:00
Theodore Ts'o
ea77431563
Fix two bugs found by the regression test suites. The bug was created when
...
we changed ext2fs_create_resize_inode to always create the resize inode,
even when s_reserved_gdt_blocks is zero. Mke2fs and e2fsck was calling
ext2fs_create_resize_inode() unconditionally, and depending on
s_reserved_gdt_blocks to be zero, instead of explicitly checking the
resize_inode feature.
2005-01-28 11:45:28 -05:00
Theodore Ts'o
7e0282c5f2
Fixed missing not_fixed branch in e2fsck so that if the frag size field in
...
the inode is not fixed, the inode_bad_map bitmap won't be cleared. Thanks to
Stephen Tweedie for pointing this out.
2005-01-27 21:40:53 -05:00
Theodore Ts'o
18d1296333
blkid.c (main, compare_search_type): Make blkid -t work more
...
consistently when the blkid cache file is explicitly set
to /dev/null. (Addresses Debian Bug #292425 )
Also expose blkid_verify() as a public function to the blkid library.
2005-01-27 19:51:47 -05:00
Theodore Ts'o
8430203590
mke2fs.c (PRS): Don't use a blocksize greater than 4k, even on
...
2.6 kernels, unless explicitly requested by the user; not
all 2.6 kernels (includeing stock 2.6 kernels as of this
writing) don't support blocksizes > 4k.
2005-01-27 19:12:05 -05:00
Theodore Ts'o
20953129e6
mke2fs.c (PRS): If the device size is too big to be expressed
...
using a 1k blocksize, retry with a 4k blocksize.
(Addresses Sourceforge bug #1106631 )
2005-01-27 19:07:26 -05:00
Theodore Ts'o
d4dc0a9e29
Create the resize inode is created even if the s_reserved_gdt_blocks is
...
zero; e2fsck will now complain and recreate the resize inode if i_links_count
is zero or if it is not a regular file.
2005-01-27 18:47:51 -05:00
Theodore Ts'o
5780ead245
Cset exclude: tytso@think.thunk.org|ChangeSet|20050123214956|52665
2005-01-27 18:13:33 -05:00
Theodore Ts'o
6c313fd473
Fix e2fsck to not delete symlinks that contain an extended attribute after
...
the ext_attr feature flag has been cleared. (Addresses Red Hat Bugzilla
#146284 )
2005-01-27 14:28:41 -05:00
Theodore Ts'o
06a6cbd2c8
Fix Solaris portability bug in the resize tests.
2005-01-26 13:34:57 -05:00
Theodore Ts'o
dc2569739d
Update version.h and release notes for the e2fsprogs 1.36-rc4 release.
2005-01-26 13:20:12 -05:00
Theodore Ts'o
32923fa402
Add functions which allow an application program to do a run-time query
...
of the version of the blkid library.
2005-01-26 13:16:06 -05:00
Theodore Ts'o
f923bf2a81
Fix "make uninstall" to make sure it removes everything that is installed.
2005-01-26 13:03:55 -05:00
Theodore Ts'o
e644186542
Add pkg-config files to e2fsprogs's libraries.
2005-01-26 12:59:25 -05:00
Theodore Ts'o
79fc2a99ac
e2image.c (scramble_dir_block): Make sure the unused space
...
in the '.' and '..' directory entries are cleared when
e2image -rs is specified.
2005-01-26 11:37:46 -05:00
Theodore Ts'o
64ad98acbe
resize2fs.c: Fix bug where we don't release the blocks belonging
...
to the old inode table blocks when we move the inode
table. (Addresses Debian Bug: #290894 )
2005-01-26 10:03:56 -05:00
Theodore Ts'o
7331196a16
Add library support for large (EA in inode) inodes. Make sure that garbage
...
doesn't get written into the reserved portion when writing into filesystems
that have large inodes defined.
2005-01-25 23:42:56 -05:00
Theodore Ts'o
9d0f46169f
probe.c: Windows can perform a "quick format" that doesn't clear
...
enough of the partition that the blkid probes can get
confused. Do the NTFS test first to deal with this
Windows misfeature. (Addresses Debian Bug #291990 )
2005-01-25 03:26:10 -05:00
Theodore Ts'o
550a4afa24
E2fsck will now check the individual block group inode and block free counts,
...
as well as the filesystem-wide inode and block free counts. If any of the
free counts is too large, force a full filesystem check. (Addresses
Debian Bug #291571 )
2005-01-25 03:09:24 -05:00
Theodore Ts'o
fbc3514623
Clarified the tune2fs man page about how the -c option works.
2005-01-24 23:45:56 -05:00
Theodore Ts'o
2d09601006
Fix e2fsck so that it does not complain if the resize_inode feature is
...
enabled, but s_reserved_gdt_blocks is zero and there is no double indirect
block in the resize inode. If there are no blocks reserved for on-line
expansion, there is no need for the DIND block to be allocated in the resize
inode.
2005-01-23 16:49:56 -05:00
Theodore Ts'o
02f61b8874
Skip the r_resize_inode test if resize2fs is not compiled (due to
...
configure's --disable-resizer option)
2005-01-21 19:52:03 -05:00
Theodore Ts'o
8909292655
Make blkid -t display all devices that match the specified criteria,
...
not just the first one. (Addresses Debian Bug #290530 )
Update the blkid man page's description of the -t option.
2005-01-21 19:11:05 -05:00
Theodore Ts'o
2c92375ea4
Add support to the blkid library to recognize Oracle ASM volumes.
2005-01-21 17:57:56 -05:00
Theodore Ts'o
0d2993dbab
Add new utility program, copy_sparse.c, which is very useful
...
for dealing with large sparse files (such as e2image files).
2005-01-21 01:20:44 -05:00
Theodore Ts'o
89c801561d
set_fields.c: Add support for the jnl_blocks[] for set_super_value
2005-01-20 21:45:27 -05:00
Theodore Ts'o
0aa0e0c7d6
filefrag.c (frag_report): Fix filefrag so that it works
...
correctly with sparse files; unallocated blocks should not
be treated as a discontinuity.
2005-01-20 17:37:01 -05:00
Matthias Andree
290806abc3
MCONFIG.in:
...
Rearrange -I options to give local includes precedence over
/usr/local/include, to unbreak the build when an older
e2fsprogs version (with includes) is installed under
/usr/local (for instance, on FreeBSD).
2005-01-20 03:17:31 +01:00
Theodore Ts'o
c6cdada26f
Fix stupid typo in the CreateOS FreeBSD/Solaris changeset. Also included
...
changelogs which I forgot to include in the changeset.
2005-01-19 19:30:01 -05:00
Theodore Ts'o
ea1e8f471e
Add interpretation of OS Creator values for FreeBSD and Lites in mke2fs
...
and dumpe2fs.
Eventually, we should fold this into a single function for converting
numbers to creator os codes, and vice versa (in TODO file)
2005-01-19 18:18:44 -05:00
Theodore Ts'o
484ae818e4
r_resize_inode, m_dasd_bs, m_large_file, m_meta_bg, m_no_opt,
...
m_read_opt, m_std, run_mke2fs, filter_dumpe2fs: Make tests
portable so they pass correctly on a FreeBSD system.
2005-01-19 18:06:45 -05:00
Theodore Ts'o
9214dccbfb
Miscellaneous gcc -Wall cleanups. Use fixed rather than floating point
...
math to avoid rounding issues.
2005-01-19 13:57:40 -05:00
Theodore Ts'o
619a8ea70c
Cleanup C code in debugfs's setfield. Added missing return statement (turned
...
out it didn't cause a functional bug) and added #define _XOPEN_SOURCE on
non-Solaris systems to pick up strptime()'s definition.
2005-01-19 13:26:38 -05:00
Theodore Ts'o
6c65d251da
configure.in: Clean up checks for dirent.d_reclen, ssize_t,
...
llseek, lseek64, sockaddr.sa_len and make the lseek checks
immune to compiler warnings, so that they can be compiled
with Intel C++ 8.1.
Patch from: Matthias Andree <matthias.andree@gmx.de>
2005-01-19 12:59:48 -05:00
Theodore Ts'o
e99decb044
Remove debugging printf from e2image -s's code.
2005-01-19 02:27:09 -05:00
Theodore Ts'o
4ee558fc3b
Update release notes, changelog, for the 1.36-rc3 release.
2005-01-19 02:20:04 -05:00
Theodore Ts'o
c1e33e1ea6
Remove libgnuintl.h file, since it is a generated file.
2005-01-19 01:45:33 -05:00
Theodore Ts'o
c2b13a4437
Update Italian translation file.
2005-01-19 00:31:46 -05:00
Theodore Ts'o
d851ed3983
e2image.c, e2image.8.in: Add support for the -s option which
...
scrambles directory entries for raw image files.
2005-01-19 00:26:43 -05:00
Theodore Ts'o
8800c73835
Makefile.in: Fix the kernel compile-time echo commands to be
...
consistent and portable
2005-01-19 00:25:25 -05:00
Theodore Ts'o
da76d6b726
Make configure.in script check for prerequisite headers when checking for
...
the presence of sys/disk.h, sys/mount.h, and net/if.h, to improve
the configure script on Solaris and *BSD systems.
2005-01-18 23:29:01 -05:00
Theodore Ts'o
3ec94fc97b
Update French, Italian, and Turkish translations.
2005-01-17 22:18:44 -05:00
Theodore Ts'o
32237014a1
Various portability fixes for Solaris systems.
2005-01-17 19:13:39 -05:00
Theodore Ts'o
9290404ea7
Applied patch from Francois Petillon (fantec at proxad.net) to
...
avoid a file descriptor leak in the filefrag program.
2005-01-17 14:32:20 -05:00
Theodore Ts'o
ecd0d8fe2a
Clean up Matthais's "fix crash when /proc/acpi/ac_acapter is not present"
...
patch.
2005-01-17 13:59:18 -05:00
Theodore Ts'o
2000746b23
Updated French translation file.
2005-01-13 14:54:44 -05:00
Matthias Andree
ae181fb473
f_dup_de, r_resize_inode: change ">& /dev/null" to ">/dev/null 2>&1"
...
for compatibility with FreeBSD. In $DEBUGFS commands, move the
-R arg argument first so that systems with non-GNU getopt()
can see the request argument (they would otherwise stop
parsing at the first non-option argument).
2005-01-13 04:23:24 +01:00
Matthias Andree
f892826b8d
lib/blkid/getsize.c: Move #include "blkidP.h" before <sys/queues.h>
...
to avoid a clash with the LIST_HEAD in the latter file that results
in compilation failure.
2005-01-13 04:15:45 +01:00