Theodore Ts'o
6515a6f1bc
Enhance dumpe2fs to print the size of journal
...
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-03-29 14:03:07 -05:00
Theodore Ts'o
d3cb5e52ef
Fix typo's in badblocks(8)'s man page.
...
Addresses Debian Bug: #357951
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-03-27 12:16:30 -05:00
Theodore Ts'o
3024d887df
Explain in mke2fs and tune2fs man pages that shared journals are not supported
...
Addresses Debian Bug: #316040
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-03-27 11:53:00 -05:00
Theodore Ts'o
917cb46946
Fix minor installation problems in the misc's Makefile
...
Make sure $(DESTDIR)/usr/share/man/man5 exists when installing the man
page. Make sure the compressed version of the man pages are deleted
when installing the man pages.
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-03-27 01:10:17 -05:00
Theodore Ts'o
fcadc8c84c
mklost+found: Create full-sized a lost+found directory with 4k+ blocksizes
...
Fixed a bug caused by using an insufficiently larger counter field so
that mklost+found would work properly on filesystems with larger block
sizes.
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-03-23 22:37:02 -05:00
Theodore Ts'o
9dc6ad1ecb
Change mke2fs to use /etc/mke2fs.conf as a configuration file
...
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-03-23 22:00:01 -05:00
Takashi Sato
8deb80a5d1
Fix format statements to make e2fsprogs programs 32-bit clean
...
Change the format string(%d, %ld) for a block number and inode number
to %u or %lu.
Signed-off-by: Takashi Sato <sho@tnes.nec.co.jp>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-03-18 21:43:46 -05:00
Theodore Ts'o
616059bf23
Change mke2fs to create filesystems with the device opened in exclusive mode.
...
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-03-18 20:02:05 -05:00
Theodore Ts'o
1aa3d56ae7
Clarify chattr man page to make sure people realize limitations in the kernel
...
Add notes in chattr's man page to make sure the reader refers to the
BUGS AND LIMITATIONS section so that even an idiot will be able to see
that some of these attributes are not yet implemented. (Addresses
Debian Bug: #312515 )
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2005-12-31 01:04:40 -05:00
Theodore Ts'o
9b9a780f5a
Fix various gcc -Wall complaints.
...
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2005-12-10 21:50:30 -05:00
Theodore Ts'o
fb733f8efd
Add more description in mke2fs's man page of the -T option
...
Addresses Debian Bug #316811
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2005-12-09 18:42:30 -05:00
Theodore Ts'o
a519836a29
Add missing fsck.* programs to SEE ALSO section of fsck's man page.
...
fsck.8.in: Add additional fsck.* programs to the SEE ALSO section.
Fix missing commas in list. (Addresses Debian Bug #329859 )
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2005-11-12 23:41:08 -05:00
Theodore Ts'o
6a7075df30
Fix mke2fs man page's description of the -L option
...
Fix mke2fs man page to properly document the fact that mke2fs -L takes
an argument. (Addresses Debian Bug #322188 )
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2005-09-24 18:47:39 -04:00
Theodore Ts'o
5f51d1c1eb
Fix display bug in badblocks -w
...
Add extra spaces when printing the "done" message to clear out the
block number to fix a display corruption when the -s option is used to
display the progress of the test. (Addresses Debian Bug #322231 )
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2005-09-24 18:28:00 -04:00
Andreas Dilger
ce911145ed
Allow fractional percentages to the -m option in mke2fs and tune2fs
...
Allow the reserved blocks ratio to be specified in fractional
percentages.
Addresses-Debian-Bug: #80205
Signed-off-by: Andreas Dilger <adilger@clusterfs.com>
2005-07-06 11:50:08 -05:00
Theodore Ts'o
1f965c8d96
Update for e2fsprogs 1.38 release.
2005-06-30 20:06:45 -04:00
Theodore Ts'o
675b79c47f
Change mke2fs to refuse to create filesystems greater than 2*31-1 blocks,
...
at least unless forced.
2005-06-30 20:00:41 -04:00
Theodore Ts'o
d9781cee2d
Fix minor typos in tune2fs's man page pointed out by Benno Schulenberg.
2005-06-26 22:16:21 -04:00
Theodore Ts'o
bb145b01cf
Fix e2fsprogs messages for grammar and consistency, based on suggestions
...
from Benno Schulenberg.
Add missing _() so all strings can be internationalized.
2005-06-20 08:35:27 -04:00
Theodore Ts'o
b7c1d202e4
Clean up e2image man page, mostly based on suggestions from
...
Benno Schulenberg.
2005-06-20 08:26:50 -04:00
Theodore Ts'o
d7febfa7cc
mke2fs.c (PRS): Fix missing close parenthesis from bad inode
...
ratio error message.
2005-06-16 14:10:55 -04:00
Theodore Ts'o
15f5051e39
Fix a minor spelling typo in blkid's man page, and update e2fsck's REPORTING
...
BUGS section to request that e2fsck's messages printed in English, and to
send a raw e2image filesystem dump if possible.
2005-06-05 16:46:19 -04:00
Theodore Ts'o
2fa8f37fff
On Linux 2.6 systems, mke2fs and badblocks will check to see whether
...
the filesystem appears to be busy; if so, the programs will print an
error message and abort. (Addresses Debian Bug #308594 ).
2005-06-05 16:05:22 -04:00
Theodore Ts'o
8198e79126
filefrag.c (frag_report, get_bmap): The FIBMAP and FIGETBSZ ioctls return
...
an integer, not an unsigned long. Fix this to avoid problems on 64-bit
platforms where the size of an integer != the size of a long.
(Addresses Debian Bug #309655 )
2005-05-20 23:10:35 -04:00
Theodore Ts'o
7e69ba2ae2
Change the default journal size to be bigger for larger filesystems,
...
given modern memory sizes. Now, for filesystems greater than 4GB, we
use a journal of 128 MB instead 32 MB.
2005-05-09 22:25:39 -04:00
Theodore Ts'o
f35fd3d5ee
Fix some minor typo's and grammar's strings, and remove debugging strings
...
from needing to be translated. Patch is from Benno Schulenberg.
2005-05-09 16:22:17 -04:00
Theodore Ts'o
ed6acfa337
Add a new option to the blkid program, -l, which will more efficiently search
...
for a single device.
Add a new function to the blkid library, blkid_probe_all_new().
Optimize blkid_find_dev_with_tag() so that extraneous device validation are
skipped. (Makes a difference for system with a large number of disks).
2005-05-07 17:06:27 -04:00
Theodore Ts'o
c37543df2f
Add new two new functions to the blkid library: blkid_dev_set_search(), and
...
blkid_dev_has_tag(), and change the blkid program to take advantage of these
functions.
2005-05-07 13:32:47 -04:00
Theodore Ts'o
0af8c33be0
Fix potential portability issue in the blkid program. (On architectures
...
where char is unsigned). (Addresses Sourceforge Bug: #1180585 )
2005-05-06 00:10:52 -04:00
Theodore Ts'o
f37ab68a26
Corrects a few mistakes in the fsck man page, wraps two overlong lines,
...
and changes "bad" to "invalid" in some messages to avoid confusion with
"bad blocks" in the e2fsck, mke2fs, and badblocks programs. Thanks to
Benno Schulenberg. (Addresses Sourceforge Bug: #1189803 )
2005-05-05 23:15:55 -04:00
Theodore Ts'o
bfd9762de6
Fix a bug in filefrag so that it doesn't when the first block found is an
...
indirect block, it doesn't falsely count an extra discontunity. (Addresses
Debian Bug #307607 ).
2005-05-05 22:55:20 -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
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
bcf5aea294
Fix minor spelling typo in the mke2fs man page.
2005-04-09 00:33:21 -04:00
Theodore Ts'o
fd4b28efd3
Update for the e2fsprogs 1.37 release.
2005-03-21 22:37:03 -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
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
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
3eee5e9eed
Update for release of e2fsprogs 1.36.
2005-02-05 18:26:03 -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
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
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
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
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
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
Theodore Ts'o
ccdd1d6d99
tune2fs.8.in: Fixed spelling error (Addresses Debian Bug #242995 )
2004-04-11 17:02:44 -04:00
Theodore Ts'o
481d1396c2
mke2fs.8.in: Clarify man page's description of the '-O' option.
...
(Addresses Debian Bug #241940 )
2004-04-11 16:47:25 -04:00
Theodore Ts'o
2eb3b20e80
tune2fs.c (main): If the environment variable
...
TUNE2FS_SKIP_MOUNT_CHECK is set, do not try
to check if the filesystem is mounted.
(update_feature_set): If the compatibility bitmasks were
not modified, don't set the superblock dirty bit.
2004-04-07 09:27:36 -04:00
Theodore Ts'o
dd60705665
Refine the build process to avoid re-running subst all the time on
...
some generated files, by having subst update the modtime on these
files even when the generated file hasn't changed. We do this with
generated files that do not have any downstream dependencies.
2004-04-03 13:53:46 -05:00
Theodore Ts'o
9b2d5e912b
Eliminate the partially implemented -p option in blkid.
2004-03-21 20:40:20 -05:00
Theodore Ts'o
8927998f82
blkid.c (main, print_tags): Add new option -o which allows the
...
user to control the output format of blkid.
2004-03-20 16:30:10 -05:00
Theodore Ts'o
6750877cb0
mke2fs.8.in: Fix spelling typos (Addresses Debian Bug #238741 )
2004-03-20 16:14:46 -05:00
Theodore Ts'o
8ac59297e3
e2image.8.in: Update manpage to detail that writing to stdout is
...
currently only supported when writing a raw image dump.
(Addresses Debian bug #236383 )
2004-03-08 14:18:56 -05:00
Theodore Ts'o
5bec574043
logsave.c (main): Use setsid() to avoid getting killed by init
...
(run_program): Add a newline after reporting the exit code
or signal when the program exits.
2004-03-04 20:30:16 -05:00
Theodore Ts'o
b70b1167fe
Update version number for e2fsprogs 1.35 release.
2004-02-28 10:52:35 -05:00
Theodore Ts'o
167af997e3
badblocks.c (main): Change the default number of blocks tested
...
at once from 16 to 64. (Addresses Debian bug #232240 )
2004-02-28 08:20:41 -05:00
Theodore Ts'o
6b394c1cd3
filefrag.c: Fix gcc -Wall nits.
2004-02-26 21:08:06 -05:00
Theodore Ts'o
023cbb3029
badblocks.c (pattern_fill): Fix bug accidentally added when
...
fixing up gcc -Wall nits. badblocks -t random was not
getting handled properly because ~0 needed to be cast to
an unsigned long instead of an unsigned char. (Addresses
Debian bug #234828 )
2004-02-26 21:06:58 -05:00
Theodore Ts'o
993aa11dc8
fsck.c (execute): Use '&&' instead of '&'. (It didn't cause a
...
problem because we got lucky, but let's do things right.
Fix from Thomas Woerner at Red Hat.)
2004-02-21 21:02:15 -05:00
Theodore Ts'o
d605ba11ab
filefrag.c: Use #ifdef __linux__ instead of __LINUX__ so that it
...
actually compiles on Linux. (Addresses Debian bug
#230992 )
2004-02-03 19:18:03 -05:00
Theodore Ts'o
2e5a1b9e6e
chattr.1.in: Clarify man page.
...
chattr.1.in, dumpe2fs.8.in, lsattr.1.in, mklost+found.8.in,
tune2fs.8.in: List Theodore Ts'o <tytso@alum.mit.edu> as
the current maintainer.
2004-01-31 20:27:36 -05:00
Theodore Ts'o
2293a4d5de
chattr.c (main): Add support for '--' to stop options
...
processing. (Addresses Debian bug #225188 ).
2004-01-20 13:39:01 -05:00