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
07f031fd1d
Define _XOPEN_SOURCE to be 500 to fix compilation problems on Solaris.
2005-02-03 20:38:52 -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
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
f923bf2a81
Fix "make uninstall" to make sure it removes everything that is installed.
2005-01-26 13:03:55 -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
fbc3514623
Clarified the tune2fs man page about how the -c option works.
2005-01-24 23:45:56 -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
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
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
e99decb044
Remove debugging printf from e2image -s's code.
2005-01-19 02:27:09 -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
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
Matthias Andree
322d9d4852
fsck.c:
...
Include <signal.h> to avoid compiler trouble.
2005-01-13 03:44:50 +01: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
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
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
35238dd1a5
Enhance dumpe2fs so that it will print the location of the reserved
...
GDT blocks if they are present.
2004-12-23 13:54:28 -05:00
Theodore Ts'o
c88bce8df0
In fsck, check return from malloc of fsck_path, and print an error message
...
if it fails.
2004-12-22 00:49:06 -05:00
Theodore Ts'o
690e693caf
tune2fs.c (parse_time): Fix minor buglet; the parse_time routine
...
should use the passed-in argument, not optarg, even though
the two are the same in the case of the current caller of
said function. (i.e., no user-visible problems were caused
by this, even though the code was wrong).
2004-12-21 20:40:08 -05:00
Theodore Ts'o
22c6821a24
Supplied changelog for resize inode patch.
2004-12-15 17:26:32 -05:00
Theodore Ts'o
d323f8fb36
Add support for on-line resizing ala the resize inode. This patch
...
is taken from Fedora Core 3's e2fsprogs 1.35-11.2.src.rpm's
e2fsprogs-resize.patch.
2004-12-15 14:39:16 -05:00
Theodore Ts'o
522798d342
Add install-strip and install-shlibs-strip targets
...
Use Linux-kernel-style makefile output for "make install"
Update intl/Makefile.in to version from gettext 0.14.1
2004-12-15 11:28:55 -05:00
Theodore Ts'o
6d4022786d
Use MKINSTALLDIRS macro so that the Makefiles can find the script
...
correctly.
Update Makefile dependencies.
Update "make depend" production so that it filters out comments
inserted by newer gcc compilers.
Remove sync from e2fsck's "make all" target.
2004-12-14 21:46:26 -05:00
Theodore Ts'o
11d1e61f93
Fix minor glitches in the e2image man page.
2004-12-01 12:42:33 -05:00
Theodore Ts'o
605e6f0e24
Make make distclean remove all generated files.
...
Update the po and intl changelog files to indicate that we updated to
gettext 0.14.1
2004-11-30 22:06:27 -05:00
Theodore Ts'o
2e8ca9a26b
Add support for passing options to the io layer using the URL syntax. For
...
example, /tmp/test.img?offset=1024. Multiple options can separated using
the & character, although at the moment the only option implemented is
the offset option in the unix_io layer.
2004-11-30 14:07:11 -05:00
Theodore Ts'o
47204ff983
Use Linux-kernel-style makefile output to make it easier to
...
see errors/warnings.
2004-11-30 10:52:27 -05:00
Theodore Ts'o
3a03c2ca5e
mke2fs.8.in: Removed the word "destructive" when describing the
...
read-write test, since it can confuse people.
2004-11-19 14:29:48 -05:00
Theodore Ts'o
029de63277
mke2fs.8.in: Add an explanation about why reserved blocks in a
...
filesystem is a good thing.
2004-10-08 10:47:30 -04:00
Theodore Ts'o
df95e09a52
Document the default blocksize used by badblocks(8).
...
(Addresses Debian Bug #273679 )
2004-09-28 10:30:27 -04:00
Theodore Ts'o
d99225ecce
Only use blocksizes > 4k on Linux 2.6 and newer systems.
...
(Addresses Debian Bug #271064 )
2004-09-25 07:40:12 -04:00
Theodore Ts'o
137ce8ca04
Remove double "//" when listing attributes in the root directory or
...
when there is a trailing '/' in the directory name. (Addresses Debian
Bug #272943 )
2004-09-24 12:16:17 -04:00
Theodore Ts'o
6ea8d0f7c8
Make sure /usr/lib is creaeted when installing e2initrd_helper.
...
(Addresses Debian Bug #272698 )
2004-09-24 12:15:14 -04:00
Theodore Ts'o
3ef681c5db
badblocks.c: Use _() around done_string, so that it gets
...
correctly translated. (Addresses Debian Bug #252836 )
2004-09-19 08:04:44 -04:00
Theodore Ts'o
91d71c4147
tune2fs.8.in: Add a description of the .journal file, why it
...
is created, and how e2fsck converts it to an invisible
journal. (Addresses Debian Bug #256760 )
2004-09-19 07:34:35 -04:00
Theodore Ts'o
5d40773ba8
Revamp the initrd scripts to use a new helper program,
...
e2initrd_helper, which obviates the need for using /bin/awk
and mounting/unmounting the root filesystem during the initrd
process. (Addresses Debian Bug #247775 )
2004-09-18 14:53:14 -04:00
Theodore Ts'o
45e18ad77a
tune2fs.8.in: Mention that e2fsck -D might be useful after
...
setting the dir_index filesystem feature. (Addresses
Debian Bug #268148 )
2004-09-17 17:31:16 -04:00
Theodore Ts'o
8c6b648388
e2image.c, e2image.8.in: Add new option -I which allows the
...
administrator to install an metadata stored in an e2image
file to a filesystem. Obviously, this can be very
dangerous!
2004-07-28 21:07:53 -04:00
Theodore Ts'o
94f6ab3fd1
Makefile.in (mke2fs.static): Add the blkid library to so
...
mke2fs.static builds correctly.
2004-06-25 00:55:12 -04:00
Theodore Ts'o
aa5c0a4562
Remove .cvsignore files; they were out of date, and causes lintian
...
to flame about their presence in the source tarball.
2004-05-05 09:02:36 -04:00
Theodore Ts'o
e02bb6d6ab
Fix obvious spelling mistake in mke2fs man page.
2004-04-12 20:36:35 -04:00
Theodore Ts'o
d06863f0e5
Remove TUNE2FS_SKIP_MOUNT_CHECK environment variable support; it is
...
not needed in the initrd script, and wasn't completely supported
anyway.
2004-04-12 12:37:55 -04:00