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
Matthias Andree
322d9d4852
fsck.c:
...
Include <signal.h> to avoid compiler trouble.
2005-01-13 03:44:50 +01:00
Matthias Andree
4b13704cbe
Fix crash when /proc/acpi/ac_adapter/ is not present, for instance,
...
on pre-ACPI and non-Linux systems.
2005-01-13 03:35:29 +01:00
Matthias Andree
d34588265c
we're reading unsigned long long, use %llu rather than %lld.
2005-01-12 22:58:33 +01:00
Theodore Ts'o
66fa0de8b3
Update for e2fsprogs 1.36-rc2 release.
2005-01-11 14:39:55 -05:00
Theodore Ts'o
1df33aa5bf
Update e2fsprogs.pot file for 1.36 release.
2005-01-11 14:05:18 -05:00
Theodore Ts'o
72933b912f
Update Italian translation file.
2005-01-11 14:05:00 -05:00
Theodore Ts'o
7369f0ce5f
Apply Janos Farkas's patch to support extracting the uuid and label
...
information from swap partitions.
Also make sure that if a partition has a label removed, that the label is
removed form the blkid cache as well.
Add support for detecting 32k and 64k pagesize swap files.
2005-01-10 23:58:11 -05:00
Theodore Ts'o
f007e7b1c4
Update Debian changelog.
2005-01-10 23:49:04 -05:00
Theodore Ts'o
2b0dc0ac01
Update release notes in preparation for 1.36 release.
2005-01-09 15:53:09 -05:00
Theodore Ts'o
dfcb79e6ec
Change the description field in the Debian package meta information to avoid
...
starting with an upper case character or starting with a definite or
indefinite article, to avoid Lintian warnings.
2005-01-09 15:48:09 -05:00
Theodore Ts'o
d2ee56d86e
Fix configure.in to use AC_CHECK_TYPES instead of the "broken by design"
...
autoconf 2.13 version of AC_CHECK_TYPE. Otherwise, on some platforms
intptr_t might get erroneously #define'd to be long. (Addresses
Debian Bug #289133 )
2005-01-09 00:57:45 -05:00
Theodore Ts'o
c840731ea5
Fix minor typo's in the libblkid.txt documentation file --- thanks to Mike
...
Castle (dalgoda at ix.netcom.com) for pointing them out --- and clarify
the text describing blkid_put_cache().
2005-01-07 22:47:20 -05:00
Theodore Ts'o
de628f7c56
Fix f_resize_inode test to deal with the renaming of the debugfs command
...
set_inode to set_inode_field.
2005-01-07 22:46:21 -05:00
Theodore Ts'o
4e60fb609b
Ex2fs_unlink() will return an error if both the name and inode number are
...
unspecified, to avoid doing something surprising (such as unconditionally
deleting the first directory entry). Directory entries are now deleted
by coalescing them with the previous directory entry if possible, to
avoid directory fragmentation. This is not an issue with the e2fsprogs suite,
but may be a problem for some of the users of libext2fs, such as e2tools.
2005-01-07 22:09:49 -05:00
Theodore Ts'o
1d3a951118
Make the official name of the new debugfs set_inode command be
...
set_inode_field, since it is more intuitive.
2005-01-07 21:14:12 -05:00
Theodore Ts'o
1b30d17bf6
When generating tarballs for Debian builds, remove the hyphen in version
...
numbers such as "1.36-rc1", since Debian can't deal with version numbers
with '-' characters in them.
2005-01-07 21:04:46 -05:00
Theodore Ts'o
da83cb6e48
Update version to 1.36-rc1, and change parsing algorithm for version strings
...
so that it deals with -rc version numbers correctly.
2005-01-06 23:52:45 -05:00
Theodore Ts'o
c76564a878
badblocks.c (alarm_intr): Increase the number of spaces reserved
...
for printing block numbers, so we can correctly display
block numbers numbers greater than 999,999,999.
(Addresses SourceForge bug #1016163 )
2005-01-06 14:48:59 -05:00
Theodore Ts'o
22ba4c1ded
Make tune2fs and e2fsck consistent about allowing at most 50% of the blocks
...
in a filesystem to be reserved for allocation by the root user.
2005-01-06 14:05:17 -05:00
Theodore Ts'o
69f83f40bd
Add imap_err.et to the lib/et regression test suite.
2005-01-06 00:16:03 -05:00
Theodore Ts'o
dc8ce34637
Fix resize inode handling on big endian systems, by adding new routines
...
that read/write indirect blocks, byte swapping them if necessary.
2005-01-06 00:04:24 -05:00
Theodore Ts'o
2e6a9febb4
Adjust blkid library so that it returns vfat in preference to msdos so
...
that mount will try to use the vfat filesystem. (Addresses Debian bug #287455 )
Similarly, the blkid library will now return an ext3 type for ext 2/3
filesystems that have the journal capability set.
We allow files to be probed by the blkid library, to make it easier to
test the library. However, we also added safety checks to avoid saving
relative pathnames to blkid.tab, and probe_one() will only check block device
files.
2005-01-05 17:45:32 -05:00
Theodore Ts'o
22dcccdd1a
fsck.c (PRS): Apply Fedora's e2fsprogs-1.35-progress.patch from
...
e2fsprogs-1.35-11.2. Fixed multiple command-line parsing
bugs so that backwards compatibility is maintained, and so
that certain command-line options wouldn't be ignored.
2005-01-05 13:43:29 -05:00
Theodore Ts'o
c6a44136b9
mke2fs.c (parse_extended_opts): Rename the -R option to -E. Fix
...
the resize= raid/extended option so it actually works.
(The patch from Fedora e2fsprogs-1.35-11.2 claimed it
worked, but it was a placebo, despite the claim that it
worked in the usage message.)
2005-01-05 11:12:20 -05:00
Theodore Ts'o
bc1b803214
dupfs.c (ext2fs_dup_handle): Make sure the new filesystem handle
...
has its own copy of the orig_super data structure. (This
is a better way of fixing a double-free problem in
resize2fs which Fedora attempted to fix in
e2fsprogs-1.35-double_free.patch. Addresses Red Hat
Bugzilla #132707.)
2005-01-05 03:16:09 -05:00
Theodore Ts'o
6e82cd7e95
Fix gcc -Wall nits.
2005-01-05 03:02:54 -05:00
Theodore Ts'o
55f4cbd96e
Add new function in e2p for parsing the number of blocks on the command line
...
for mke2fs and resize2fs, and use this function so that filesystem size
inputs to e2fsprogs command line programs are parsed consistently.
2005-01-05 03:01:06 -05:00
Theodore Ts'o
f90c9919b4
Add two new tests, f_resize_inode, and r_resize_inode, to the regression
...
test suite, which tests e2fsck and reszizefs2, respecitvely.
2004-12-24 01:47:50 -05:00
Theodore Ts'o
c3ffaf833b
Add support to detect corrupted resize_inode's to e2fsck.
2004-12-24 01:42:22 -05:00
Theodore Ts'o
9213a93b22
Fix resize2fs so that it properly handles filesystems with the resize_inode
...
feature enabled.
2004-12-24 01:34:29 -05:00
Theodore Ts'o
71669d0541
Avoid some potential inode cache coherency problem caused by using the
...
byte-swapping options to e2fsck. This was the cause of some hard to
reproduce problems that had been reported in the past, and which the
resize_inode changes tickled in a much more repeatable fashion.
2004-12-23 21:49:05 -05:00