Theodore Ts'o
c663305947
Update for 1.29 release.
2002-09-24 01:26:50 -04:00
Theodore Ts'o
84bd550148
fsck.c: If the bone-headed user enters the filename twice, the
...
-R option which skips the root filesystem will skip all of
them. (Addresses Debian bug #159423 ). Note! This is not
a precedent for dealing intelligently with any other kind
of doubled entry in /etc/fstab!
2002-09-24 00:13:19 -04:00
Theodore Ts'o
843049c4db
mke2fs.c (main): Enable directory indexing by default.
...
tune2fs.c (update_feature_set): Allow directory indexing flag to
be set. If so, set the default hash to be TEA, and
initialize the hash seed to a random value.
2002-09-22 15:37:40 -04:00
Theodore Ts'o
f9e4abf714
get_device_by_label.c (init_lvm): Fix bug which caused
...
LABEL='xxx' to not work correctly when using LVM.
(Reversed sense of error check reported by ateeq@hotpop.com )
2002-09-21 06:46:43 -04:00
Theodore Ts'o
87ee8dcad3
Update changelogs for 1.28 release
2002-08-31 03:02:57 -04:00
Theodore Ts'o
0d608df100
Update version string for WIP release.
2002-08-18 03:38:15 -04:00
Theodore Ts'o
118d7dacc5
Add support for searching /proc/evms/volumes when interpreting
...
LABEL=xxx or UUID=xxx.
Add new utility program /sbin/findfs, which interprets LABEL=xxx or
UUID=xxx, and returns the device name. (Part of tune2fs).
2002-08-17 23:01:22 -04:00
Theodore Ts'o
1f22ce34fc
mke2fs.8.in: Add a common usage of the -n option. (Addresses
...
Debian Bug #146437 )
2002-08-17 18:16:29 -04:00
Theodore Ts'o
a141135451
fsck.c (main): If no filesystems are specified on the command
...
line, default to -As. (Addresses Debian Bug #153102 )
badblocks.8.in: Clarify why it's bad to do a non-destructive
test on a r/o mounted filesystem. (Addresses Debian Bug
#131350 )
2002-08-17 17:39:39 -04:00
Theodore Ts'o
023d111e92
chattr.1.in: Document the compression attribute flags E, X, and
...
Z, and explain that chattr can't set or set these flags.
(Addresses Debian Bug #151990 )
fsetflags.c (fsetflags), fgetflags.c (fgetflags.c), setflags.c
(setflags), getflags.c (getflags): Check to make sure the
file is a regular file or a directory before attempting to
use the ext2 ioctls. Otherwise, return EOPNOTSUPP.
(Addresses Debian Bug #152029 ).
2002-08-17 14:44:56 -04:00
Theodore Ts'o
f044b4d8a0
Update and clarify man pages (addresses Debian Bug #145044 ).
...
Let e2fsck allow use of the TEA hash.
Mke2fs will no longer abort if it can't zero blocks at the end of the
filesystem. (Addresses Debian Bug #155007 )
2002-08-17 13:32:21 -04:00
Theodore Ts'o
ed909bbe20
Fix up extended attribute handling in e2image, resize2fs, and in
...
debugfs's icheck command.
2002-08-16 17:03:59 -04:00
Theodore Ts'o
4cae04529e
Add SIGINT and SIGTERM handling to fsck and e2fsck. For e2fsck,
...
make sure we gracefully clean up and only exit at safe points.
For fsck, we pass the SIGINT/SIGTERM signal to the child processes,
so they can do their own cleanup.
2002-07-21 14:14:03 -04:00
Theodore Ts'o
7098810daf
mke2fs.c (zap_sector): Clear the buffer *after* testing for the
...
BSD sector label. Otherwise the first 512 bytes don't get
zapped. (Addresses Debian bug #147256.)
2002-07-14 08:00:00 -04:00
Theodore Ts'o
f0865ce4d6
mke2fs.8.in: Cleaned up man page, and made it a bit more
...
OS-agnostic. Addresses Debian bug #144621 . Hope this
makes the Hurd whiners happy. :-)
2002-07-02 10:08:27 -04:00
Theodore Ts'o
5cfd7404ba
chattr.1.in: Fix man page typo. (Addresses Debian bug #141938 )
2002-06-28 10:47:24 -04:00
Theodore Ts'o
88372d5c4b
Applied Andrew Morton's patch to support the dirsync option.
2002-06-15 18:58:39 -04:00
Andreas Dilger
b21bf26778
Do sanity checking of the number of blocks and inodes in a group for
...
8192-byte and 16384-byte blocksize filesystems.
Change the default bytes-per-inode ratio of a new filesystem to be at most
one inode per block for large blocksizes.
2002-06-10 11:05:56 -06:00
Andreas Dilger
aab6fe735d
misc/mke2fs.c: Minor fix for new page size checking code.
2002-05-18 13:27:33 -06:00
Theodore Ts'o
31e29a12d1
Fix up Andreas's 8k blocksize changes to fix a number of bugs,
...
and to make the page size determined at run-time instead of
compile time.
2002-05-17 10:53:07 -04:00
Andreas Dilger
932a489cdf
Add support for creating and checking 8192-byte blocksize filesystems.
...
We complain if you try to create such a filesystem on a system with 4096
byte PAGE_SIZE.
Add checks for valid inode size for undocumented -I option.
2002-05-16 03:20:07 -06:00
Theodore Ts'o
7de6577cd9
Fix typo in man page.
2002-04-30 20:22:32 -04:00
Theodore Ts'o
a8e772498c
Update for 1.27 release.
2002-03-08 03:12:14 -05:00
Theodore Ts'o
7ef3bb838d
mke2fs.c: Check for the BSD disklabel on all architectures, and
...
also check the byte-swapped magic number as well.
2002-03-08 03:01:53 -05:00
Theodore Ts'o
6693837e59
mke2fs.c: Output warnings to stderr
...
(From Philipp Thomas <pthomas@suse.de>)
2002-03-08 00:14:46 -05:00
Theodore Ts'o
546a1ff18c
Fix various gcc -Wall complaints.
2002-03-07 23:52:56 -05:00
Theodore Ts'o
756df353e8
mke2fs.c (zap_sector): Don't erase BSD disklabels on Alpha.
...
(From Thorsten Kukuk <kukuk@suse.de>)
2002-03-07 20:52:12 -05:00
Theodore Ts'o
14308a5398
Newer libintl needs LC_CTYPE to be set in addition to LC_MESSAGES.
2002-03-05 03:26:52 -05:00
Theodore Ts'o
57173d0feb
Update Changelog messages to use tytso@mit.edu for all addresses
...
after September 7, 2001. (Forgot to update my emacs file to get
rid of the tytso@valinux.com address. Oops.)
2002-02-26 14:59:39 -05:00
Andreas Dilger
0072f8de52
Add check for mkfs.ext3 and create a journal in this case.
2002-02-25 23:11:26 -07:00
Theodore Ts'o
b9f409255e
Update makefiles to install mkfs.ext3, and to install man pages for
...
mkfs.ext2/3 and fsck.ext2/3. Also remove any compressed man pages
before installing the man pages.
2002-02-24 03:08:57 -05:00
Theodore Ts'o
541d173d91
Update with the Debian package e2fsprogs-1.26-1.
...
Clarify and clean up the badblocks man page and the com_err info file.
2002-02-23 21:23:26 -05:00
Theodore Ts'o
7d4343d0d0
Lots of small random portability fixes to make e2fsprogs build
...
under AIX --- even without the 5L compatibility toolkit, and even
using the uber-crippled AIX native C compiler.
2002-02-12 02:34:44 -05:00
Theodore Ts'o
a5f3f5c191
Update files for 1.26 release.
2002-02-03 01:00:22 -05:00
Theodore Ts'o
5599c2fa87
Changed fsck to support filesystems types in /etc/fstab of the form
...
"ext3,ext2", etc.
Added support for only searching for a specified list of filesystems.
Also add support for identifying reiserfs filesystems.
2002-02-03 00:08:52 -05:00
Theodore Ts'o
a1069118d4
fsck.c: Allow the number of outstanding processes fs-specific
...
fsck programs to be capped via the FSCK_MAX_INST
envrionment variable.
fsck.8.in: Document all of the environment variables used by fsck.
2002-01-29 12:49:14 -05:00
Theodore Ts'o
177ab2bebe
Document the -f flag to tune2fs.
2002-01-27 18:23:49 -05:00
Andreas Dilger
c713f6066c
Always free vdirname.
2002-01-06 21:52:44 -07:00
Andreas Dilger
c007bc06d9
Return a non-zero exit code on error.
2001-12-25 23:10:40 -07:00
Theodore Ts'o
5493a27dc1
badblocks.c (main): Open the device as O_RDWR if possible, since
...
fsync() isn't guaranteed to work if the filesystem is
opened read-only.
2002-01-02 14:15:35 -05:00
Theodore Ts'o
d4de4aa938
tune2fs.8.in, tune2fs.c (parse_tune2fs_options, main): Add
...
support for new option, -T, which allows the user to set
the last checked time on the filesystem.
2001-12-26 08:58:01 -05:00
Theodore Ts'o
3ed57c27df
In mke2fs and e2fsck, specifying the -c option twice will now do
...
a read/write test on the disk. Update the man pages to encourage
using the -c option, and to discouraging running badblocks separately,
since users tend to forget to set the blocksize when running
badblocks.
2001-12-24 15:01:59 -05:00
Theodore Ts'o
5f0fabe6db
Fix broken Makefile dependencies.
2001-12-24 12:42:45 -05:00
Theodore Ts'o
6a525069a9
Mke2fs now creates the lost+found directory with 0700 permissions,
...
since files which get dropped into that directory may have come
from a protected directory, and the system administrator may not
deal with immediately. (Addresses Debian bug #118443 )
2001-12-24 09:40:00 -05:00
Theodore Ts'o
19007e51a5
Move linux/jbd.h to ext2fs/kernel-jbd.h, to avoid using the
...
system header file version of hbd.h when using diet glibc
(since it forcibly adds /usr/include to the beginning of include
search path.)
2001-12-23 19:33:51 -05:00
Theodore Ts'o
eaf4dc5c98
Add support to read out information from the LVM proc hierarchy,
...
so that the UUID cache can search the LVM logical volumes for
UUID's, labels, etc.
2001-12-22 00:04:22 -05:00
Theodore Ts'o
0655b104e6
Change dumpe2fs to not die if the listing of the bad blocks
...
can't be found. Slimmed down dumpe2fs by eliminating duplicate
code paths.
2001-12-21 23:59:46 -05:00
Theodore Ts'o
4ea7bd0439
Fix various gcc -Wall nits. Fixed a bug in mke2fs where a bogus
...
error message could be printed on an malloc() failure, and e2image
was optimized to avoid needless system calls by using the stashed
inode functions.
2001-12-16 23:23:37 -05:00
Theodore Ts'o
8cf93332d1
Fix e2fsck's handling of external journals,and update journal
...
recovery files from 2.4.17-pre8.
2001-12-16 02:23:36 -05:00
Theodore Ts'o
a5f0bb9d1b
Pull up dumpe2fs cleanup patch from the experimental branch.
2001-12-02 19:29:35 +01:00