mirror of https://github.com/vitalif/e2fsprogs
Merge branch 'maint'
commit
399033a6ab
|
@ -74,7 +74,7 @@ TAGS clean-recursive distclean-recursive depend-recursive check-recursive \
|
|||
done
|
||||
|
||||
all-progs-recursive install-progs-recursive install-strip-progs-recursive \
|
||||
uninstall-progs-recursive:
|
||||
uninstall-progs-recursive: all-libs-recursive
|
||||
@for subdir in $(PROG_SUBDIRS); do \
|
||||
if test -d $$subdir ; then \
|
||||
target=`echo $@|$(SED) 's/-progs-recursive//'`; \
|
||||
|
|
2
README
2
README
|
@ -1,4 +1,4 @@
|
|||
This is the new version (1.40.6) of the second extended file
|
||||
This is the new version (1.40.7) of the second extended file
|
||||
system management programs.
|
||||
|
||||
From time to time, I release new versions of e2fsprogs, to fix
|
||||
|
|
122
RELEASE-NOTES
122
RELEASE-NOTES
|
@ -1,3 +1,125 @@
|
|||
E2fsprogs 1.40.7 (February 28, 2008)
|
||||
====================================
|
||||
|
||||
Remove support for clearing the SPARSE_SUPER feature from tune2fs, and
|
||||
depreciate the -s option, since it can result in filesystems which
|
||||
e2fsck can't fix easily. There are very good reasons for wanting to
|
||||
disable sparse_super; users who wants to turn off sparse_super can use
|
||||
debugfs. (Addresses Sourceforge Bug: #1840286)
|
||||
|
||||
Add missing options to mke2fs's usage message. (Addresses Sourceforge
|
||||
Bug: #1751393)
|
||||
|
||||
Fix bug in resize2fs when large (greater than 128 byte) inodes are
|
||||
moved when a filesystem is shrunk; it was only moving the first 128
|
||||
bytes, so extended attributes were not getting moved. (Addresses Red
|
||||
Hat Bugzilla: #434893)
|
||||
|
||||
E2fsck now prints an explicit message when the bad block inode is
|
||||
updated, to avoid confusion about why the filesystem was modified.
|
||||
(Addresses Sourceforge Bug: #756460)
|
||||
|
||||
Allow mke2fs and tune2fs manipulate the large_file feature.
|
||||
Previously we just let the kernel and e2fsck do this automatically,
|
||||
but e2fsck will no longer automatically clear the large_file feature.
|
||||
It still isn't really necessary to worry about this feature flag
|
||||
explicitly, but some users seem to care. (Addresses Red Hat Bugzilla:
|
||||
#258381)
|
||||
|
||||
Suppress message about an old-style fstab if the fstab file is empty.
|
||||
(Addresses Debian Bug: #468176)
|
||||
|
||||
Fix (really minor) bug in debugfs's find_free_block so it avoids
|
||||
reporting a free block more than once if there are too few free blocks
|
||||
in the filesystem. (Addresses Sourceforge Bug: #1096315)
|
||||
|
||||
Change e2fsck to no longer clear the LARGE_FILES feature flag
|
||||
automatically, when there are no more > 2GB files in the filesystem.
|
||||
It's been almost a decade since there have been kernels that don't
|
||||
support this flag, and e2fsck clears it quietly without telling the
|
||||
user why the filesystem has been changed.
|
||||
|
||||
Fix bug which could cause libblkid to seg fault if a device mapper
|
||||
volume disappears while it is being probed. (Addresses RedHat
|
||||
Bugzilla: #433857)
|
||||
|
||||
Inhance e2fsck's reporting of unsupported filesystem feature flags.
|
||||
(Addresses Sourceforge Feature Request: #1175808)
|
||||
|
||||
Fix option syntax in dumpe2fs for explicit superblock and blocksize
|
||||
parameters. What was currently documented in the man page has been
|
||||
broken for some time, due to getopt() implementation changes. The
|
||||
option sytax has been changed to one which is can be more portable
|
||||
supported and which is consistent with the format for extended options
|
||||
in mke2fs and tune2fs. (Addresses Sourceforge Bug: #1830994)
|
||||
|
||||
Add support to tune2fs to clear the resize_inode feature. This
|
||||
requires an fsck afterwards. (Addresses Red Hat Bugzilla: #167816)
|
||||
|
||||
Teach blkid to detect LVM2 physical volumes. (Addresses Red Hat
|
||||
Bugzilla: #409321)
|
||||
|
||||
Add support for setting RAID stride and stripe-width via mke2fs and
|
||||
tune2fs. Teach dumpe2fs to print the RAID parameters.
|
||||
|
||||
Add support for setting new superblock fields to debugfs's
|
||||
set_super_value.
|
||||
|
||||
Add support for printing "mostly-printable" extended attributes in
|
||||
Debugfs.
|
||||
|
||||
Add support for the -M option to fsck, which causes it to ignore
|
||||
mounted filesystem.
|
||||
|
||||
Fix uuidd so that it creates the pid file with the correct pid number.
|
||||
(Addresses Sourceforge Bug: #1893244)
|
||||
|
||||
Fix various gcc -Wall warnings.
|
||||
|
||||
Update Czech, Dutch, Polish, Sweedish, and Vietnamese translations
|
||||
|
||||
Fixed spelling mistakes, typos, and otherwise clarified man pages.
|
||||
(Addresses Sourceforge Patch: #1399325)
|
||||
|
||||
|
||||
Programmer's notes:
|
||||
-------------------
|
||||
|
||||
Fixed various Debian packaging issues --- see debian/changelog for
|
||||
details. (Addresses Debian Bug: #466929)
|
||||
|
||||
Add new flag EXT2_FLAG_NONFREE_ON_ERROR ext2fs_open2() which returns a
|
||||
partially filled-in filesystem object on an error, so that e2fsck can
|
||||
print more intelligent error messages.
|
||||
|
||||
Add a new function e2p_edit_feature2() which allows the caller to
|
||||
specify which feature flags are OK to set or clear, and which returns
|
||||
more specific information about feature flags which are not allowed to
|
||||
be set/cleared.
|
||||
|
||||
Set the C locale in the test_script driver since it uses [A-Za-z].
|
||||
(Addresses Sourceforge Bug: #1890526)
|
||||
|
||||
Use fcntl locking instead of lockf in libuuid since Cygwin doesn't
|
||||
support lockf().
|
||||
|
||||
Change configure.in to avoid using the 'dc' command unless it is
|
||||
absolutely needed. (i.e., when using parsing a WIP-style version
|
||||
number) (Addresses Sourceforge Bug: #1893024)
|
||||
|
||||
Add portability checks to support compilation under DJGPP.
|
||||
|
||||
Update to the latest samba tdb code before the LGPLv3 change, which
|
||||
fixes a realloc() leak on failure.
|
||||
|
||||
Fix memory leak in ext2fs_alloc_block().
|
||||
|
||||
Fix makefile dependency issues for various install targets.
|
||||
(Addresses-Sourceforge-Patches: #1903484, #1903466, #1903456)
|
||||
|
||||
Improve descriptions for the r_move_itable and r_resize_inode tests.
|
||||
|
||||
|
||||
E2fsprogs 1.40.6 (February 9, 2008)
|
||||
===================================
|
||||
|
||||
|
|
|
@ -1,3 +1,37 @@
|
|||
e2fsprogs (1.40.7-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
* tune2fs no longer will remove the sparse_super feature, as it is dangerous
|
||||
* Update/clarified various man pages
|
||||
* Fix bug where large nodes were not getting fully copied when
|
||||
shrinking a fileystem using resize2fs.
|
||||
* Allow mke2fs and tune2fs to manipulate the large_file feature flag
|
||||
* Suppress fsck's warning message about an old-style fstab if the
|
||||
fstab file is empty. (Closes: #468176)
|
||||
* E2fsck will no longer clear the large_files feature flag
|
||||
automatically when there are no more large files in the system.
|
||||
* Fix blkid code to avoid segfaulting when a device mapper volume
|
||||
disappears out from under it.
|
||||
* Enhance e2fsck's reporting of unsupported filesystem features
|
||||
* Fix dumpe2fs command syntax for explicit superblock/blocksize parameters
|
||||
* Teach tune2fs to clear the resize_inode feature flag
|
||||
* Fix libuuid1 postinstall script to explicitly pass 100 to UID_MIN
|
||||
and GID_MIN, to make it clear we are not trying to allocate an
|
||||
uid/gid in the globally reserved range. (Closes: #466929)
|
||||
* Fix memory leak in ext2fs_alloc_block()
|
||||
* Teach blkid to recognize LVM2 physical volumes
|
||||
* Add support to dumpe2fs, mke2fs, and tune2fs for specifying and
|
||||
printing the RAID stride and stripe width.
|
||||
* Add support for new superblock fields to debugfs's set_super_value command
|
||||
* Teach debugfs to print "mostly-printable" xattr strings, such as is
|
||||
used by SELinux.
|
||||
* Add support in fsck to ignore mounted filesystems when given the -M option
|
||||
* Fix uuidd so it creates the pid file with the correct pid number
|
||||
* Update Czech, Dutch, Polish, Sweedish, and Vietnamese translations
|
||||
from the Translation Project.
|
||||
|
||||
-- Theodore Y. Ts'o <tytso@mit.edu> Thu, 28 Feb 2008 22:27:39 -0500
|
||||
|
||||
e2fsprogs (1.40.6-1) unstable; urgency=low
|
||||
|
||||
* New upstream release
|
||||
|
@ -141,7 +175,7 @@ e2fsprogs (1.40.2-1) unstable; urgency=low
|
|||
|
||||
* New upstream release
|
||||
* e2fsck: Fix salvage_directory when the last entry's rec_len is too big
|
||||
* Update Turkish, Polish, Dutch, and Vietnamese PO files from the
|
||||
* Update Turkish, Polish, Dutch, and Vietnamese PO files from the
|
||||
Translation Project
|
||||
* Fix a bug which would cause e2fsck segfault on very badly damaged
|
||||
filesystems
|
||||
|
@ -228,7 +262,7 @@ e2fsprogs (1.39+1.40-WIP-2007.04.07+dfsg-2) unstable; urgency=low
|
|||
(Closes: #399155)
|
||||
* Remove -WIP language from the debian copyright file. (Closes: #415560)
|
||||
* Remove check in e2fsck which required EA's in inodes to be sorted
|
||||
(We should get this back-ported to the stable branch since
|
||||
(We should get this back-ported to the stable branch since
|
||||
filesystems with large inodes will have EA's erroneously
|
||||
removed, which will for example toast an SELinux system.)
|
||||
|
||||
|
@ -241,7 +275,7 @@ e2fsprogs (1.39+1.40-WIP-2007.04.07+dfsg-1) unstable; urgency=low
|
|||
* Add debugging code (via the COMERR_DEBUG env. variable) to the
|
||||
com_err library
|
||||
* Fix dump_unused segfault in debugfs when a filesystem is not open
|
||||
* Add versioned dependency in Debian's shlibs for libblkid.
|
||||
* Add versioned dependency in Debian's shlibs for libblkid.
|
||||
(Closes: #413208)
|
||||
* Fix memory leak in blkid library. (Closes: #413661)
|
||||
* Let the debugfs lcd command work even if a filesystem is not open
|
||||
|
@ -272,7 +306,7 @@ e2fsprogs (1.39+1.40-WIP-2006.11.14+dfsg-1) unstable; urgency=low
|
|||
* Make sure mk_cmds and compile_et work even in strange locales
|
||||
* Fix type-punning bug which caused dumpe2fs to crash on the Arm platform
|
||||
(Closes: #397044)
|
||||
* Add explanatory message to badblocks that -n and -w are mutually
|
||||
* Add explanatory message to badblocks that -n and -w are mutually
|
||||
exclusive. (Closes: #371869)
|
||||
* New +dfsg source tarball that has useful documentation REALLY
|
||||
removed to satisfy the DFSG License Nazi's. (Closes: #390664)
|
||||
|
@ -359,7 +393,7 @@ e2fsprogs (1.39-1) unstable; urgency=low
|
|||
e2fsprogs (1.38+1.39-WIP-2006.04.09-2) unstable; urgency=low
|
||||
|
||||
* Resize2fs automatically detects the previously used RAID stride
|
||||
parameter so that resized filesystems can be more optimally laid
|
||||
parameter so that resized filesystems can be more optimally laid
|
||||
out for RAID filesystems.
|
||||
* Fix mke2fs -cc and e2fsck -cc (Closes: #366017)
|
||||
* Fix initrd script to fix failure with 2.4 kernels (Closes: #364516)
|
||||
|
@ -385,7 +419,7 @@ e2fsprogs (1.38+1.39-WIP-2006.04.09-1) unstable; urgency=low
|
|||
(Closes: #360661, #360317)
|
||||
* Fix bug which caused mke2fs -j to fail with an EBUSY error. (Closes
|
||||
#360652)
|
||||
|
||||
|
||||
-- Theodore Y. Ts'o <tytso@mit.edu> Sun, 9 Apr 2006 23:04:15 -0400
|
||||
|
||||
e2fsprogs (1.38+1.39-WIP-2006.03.29-2) unstable; urgency=low
|
||||
|
@ -423,7 +457,7 @@ e2fsprogs (1.38+1.39-WIP-2006.03.29-1) unstable; urgency=low
|
|||
filesystem checks are done when the system is running on battery power.
|
||||
* Print an explanation when skipping a check due being on battery
|
||||
(Closes: #350306)
|
||||
* Update French translation (Closes: #341911, #300871, #316604, #316782,
|
||||
* Update French translation (Closes: #341911, #300871, #316604, #316782,
|
||||
#330789)
|
||||
|
||||
-- Theodore Y. Ts'o <tytso@mit.edu> Wed, 29 Mar 2006 20:37:27 -0500
|
||||
|
@ -524,7 +558,7 @@ e2fsprogs (1.38-1.1) unstable; urgency=low
|
|||
* Fix for changes to texi2html, patch by Matt Kraai
|
||||
(Closes: #317862, #320389)
|
||||
* version build-depend on texi2html, won't work with older one anymore
|
||||
|
||||
|
||||
-- Blars Blarson <blarson@blars.org> Fri, 5 Aug 2005 04:46:54 +0000
|
||||
|
||||
e2fsprogs (1.38-1) unstable; urgency=low
|
||||
|
@ -534,8 +568,8 @@ e2fsprogs (1.38-1) unstable; urgency=low
|
|||
type aliasing rules on newer gcc compilers. (Addresses Red Hat
|
||||
Bugzilla ##161183.)
|
||||
* Fix minor typo's in tune2fs man page.
|
||||
* Mke2fs will refuse to create filesystems greater than 2**31-1 blocks,
|
||||
unless forced, to avoid kernel bugs that still need to be fixed as
|
||||
* Mke2fs will refuse to create filesystems greater than 2**31-1 blocks,
|
||||
unless forced, to avoid kernel bugs that still need to be fixed as
|
||||
of this release.
|
||||
* Update French, Dutch, Polish, Swedish, and Turkish translations.
|
||||
|
||||
|
@ -734,7 +768,7 @@ e2fsprogs (1.36rc1-1) unstable; urgency=low
|
|||
the x86 doesn't exist, but it is useful on other architectures.
|
||||
* Fix bug in debugfs where kill_file would lead to errors when deleting
|
||||
devices and symlinks. (Sourceforge Bugs #954741 and #957244)
|
||||
* Fix bug in the blkid library when detecting the ocfs1 filesystem
|
||||
* Fix bug in the blkid library when detecting the ocfs1 filesystem
|
||||
* Updated Italian translation file
|
||||
* E2fsck will now recover from a journal containing illegal blocks.
|
||||
|
||||
|
@ -752,7 +786,7 @@ e2fsprogs (1.35-8) unstable; urgency=low
|
|||
when there is a trailing '/' in the directory name. (Closes: #272943)
|
||||
* Make sure the configure files are newer than configure.in the
|
||||
debian/rules file so that a dpkg-source created patch won't
|
||||
trigger an attempt rebuild of the configure script.
|
||||
trigger an attempt rebuild of the configure script.
|
||||
(Closes: #272558, #273242)
|
||||
* Make sure /usr/lib/e2initrd_helper is in the e2fsprogs package.
|
||||
(Closes: #272698, #272728, #273161, #273163)
|
||||
|
@ -806,12 +840,12 @@ e2fsprogs (1.35-6) unstable; urgency=low
|
|||
* Update the UUID library man pages
|
||||
* Fix a Y8.8888K potential problem with the uuid library
|
||||
* Minor updates to the german translation
|
||||
* Clarified/corrected the copyright statements of the UUID and blkid
|
||||
* Clarified/corrected the copyright statements of the UUID and blkid
|
||||
libraries in the Debian copyright files.
|
||||
* Added sanity check to the blkid library so that if current time is
|
||||
* Added sanity check to the blkid library so that if current time is
|
||||
less than last time a device is verified, force a reverification since
|
||||
it means the system time is not trustworthy.
|
||||
|
||||
|
||||
-- Theodore Y. Ts'o <tytso@mit.edu> Tue, 4 May 2004 16:23:06 -0400
|
||||
|
||||
e2fsprogs (1.35-5) unstable; urgency=low
|
||||
|
@ -843,12 +877,12 @@ e2fsprogs (1.35-4) unstable; urgency=low
|
|||
* Make the debugfs command's link command set the filetype information
|
||||
correctly.
|
||||
* Update the Polish, Swedish, and Turkish translations
|
||||
* Add an -o option to the blkid program which allows the user to
|
||||
* Add an -o option to the blkid program which allows the user to
|
||||
control the output format of blkid.
|
||||
* Fixed and cleaned up the tune2fs and blkid man pages (Closes: #238741)
|
||||
* Improve UUID generation algorithm (use all 14 bits in the clock sequence)
|
||||
* Change the license on the UUID library to be 3-clause BSD.
|
||||
* Remove the only-partially-implemented -p option to blkid.
|
||||
* Remove the only-partially-implemented -p option to blkid.
|
||||
|
||||
-- Theodore Y. Ts'o <tytso@mit.edu> Sun, 21 Mar 2004 20:17:03 -0500
|
||||
|
||||
|
@ -873,7 +907,7 @@ e2fsprogs (1.35-1) unstable; urgency=low
|
|||
* New upstream version.
|
||||
* Fix "badblocks -t random". (Closes: #234828)
|
||||
* Fix "e2fsck -k". (Closes: #234993)
|
||||
* Change badblock's default number of blocks tested at once from
|
||||
* Change badblock's default number of blocks tested at once from
|
||||
16 to 64. (Closes: #232240)
|
||||
* ss-dev and comerr-dev now use a versioned dependency for libss2 and
|
||||
libcomerr2, respectively. (Closes: #235280)
|
||||
|
@ -882,7 +916,7 @@ e2fsprogs (1.35-1) unstable; urgency=low
|
|||
|
||||
e2fsprogs (1.34+1.35-WIP-2004.01.31-2) unstable; urgency=low
|
||||
|
||||
* Add a new -k option to e2fsck which keeps the existing badblocks
|
||||
* Add a new -k option to e2fsck which keeps the existing badblocks
|
||||
list when using the -c option. (Closes: #229103)
|
||||
* Update debugfs to support new large major/minor device numbers
|
||||
supported by Linux 2.6. (Closes: #865289)
|
||||
|
@ -890,7 +924,7 @@ e2fsprogs (1.34+1.35-WIP-2004.01.31-2) unstable; urgency=low
|
|||
* Add -mieee when compiling with GCC on an Alpha.
|
||||
* Fix e2fsck preen mode messages using pass 1B/C/D.
|
||||
* Fix the debugfs man page. (Closes: #232406)
|
||||
* Fix the ext2fs.h header file to work correctly with C++.
|
||||
* Fix the ext2fs.h header file to work correctly with C++.
|
||||
* e2fsck and debugfs now correctly deals with symlinks that have
|
||||
extended attribute information, such as those created by SE Linux.
|
||||
(Closes: #232328)
|
||||
|
@ -900,7 +934,7 @@ e2fsprogs (1.34+1.35-WIP-2004.01.31-2) unstable; urgency=low
|
|||
|
||||
e2fsprogs (1.34+1.35-WIP-2004.01.31-1) unstable; urgency=medium
|
||||
|
||||
* Fix byte swap bugs in e2fsck that caused the journal backup location
|
||||
* Fix byte swap bugs in e2fsck that caused the journal backup location
|
||||
in the superblock and symlinks created by SE Linux to be cleared
|
||||
by e2fsck on big-endian machines. (Closes: #228723)
|
||||
* Chattr now stops processing options when it sees '--'. (Closes: #225188)
|
||||
|
@ -917,7 +951,7 @@ e2fsprogs (1.34+1.35-WIP-2004.01.31-1) unstable; urgency=medium
|
|||
* Fix bug in uuid library when there is no network card and the
|
||||
library is generating a time-based uuid. The random MAC address
|
||||
was not correctly generated to be a multicast address.
|
||||
* Install the filefrag program.
|
||||
* Install the filefrag program.
|
||||
* Don't try to compile filefrag on non-Linux platforms. (Closes: #226456)
|
||||
* Minor manual page clarifications (Closes: #222606, #214920)
|
||||
|
||||
|
@ -949,7 +983,7 @@ e2fsprogs (1.34+1.35-WIP-2003.12.07-1) unstable; urgency=medium
|
|||
|
||||
* Added regression tests for mke2fs and dumpe2fs.
|
||||
* Support 2.6 kernel header files. (Closes: #221778)
|
||||
* Fix bug which could a core dump if a non-existent LABEL or UUID
|
||||
* Fix bug which could a core dump if a non-existent LABEL or UUID
|
||||
specifier is passed to e2fsck or tune2fs.
|
||||
* Fix handling of corrupted indirect blocks in the bad block inode.
|
||||
* If the number of mounts until the next forced filesystem check is less
|
||||
|
@ -1001,7 +1035,7 @@ e2fsprogs (1.34+1.35-WIP-2003.08.21-1) unstable; urgency=low
|
|||
the file when it is uninstalled. (Closes: #204019)
|
||||
* Remove unneeded files in debian directory: blkid-dev.substvars and
|
||||
e2fsprogs-bf.lintian-overrides. (Closes: #203914)
|
||||
* Support "noopt" in DEB_BUILD_OPTIONS instead of "debug".
|
||||
* Support "noopt" in DEB_BUILD_OPTIONS instead of "debug".
|
||||
(Closes: #203914)
|
||||
|
||||
-- Theodore Y. Ts'o <tytso@mit.edu> Thu, 21 Aug 2003 01:47:58 -0400
|
||||
|
@ -1064,14 +1098,14 @@ e2fsprogs (1.33+1.34-WIP-2003.05.21-2) unstable; urgency=low
|
|||
* Fix spelling error in e2fsck
|
||||
* Add workaround for intl library on Darwin
|
||||
* Fix gcc -Wall nitpicks
|
||||
* Round down the default size of the filesystem for mke2fs and
|
||||
* Round down the default size of the filesystem for mke2fs and
|
||||
resize2fs to be a multiple of the pagesize to work around a potential
|
||||
Linux kernel bug
|
||||
* Fix bug in mke2fs where it could die with a floating exception if
|
||||
the device does not support the BLKSSZGET ioctl (Closes: #196734)
|
||||
* Add conflicts against older versions of sysvinit that don't correctly
|
||||
handle an exit code that has the bit #2 set. (Closes: #183675)
|
||||
* Badblocks will attempt to use O_DIRECT if it is safe to do so.
|
||||
* Badblocks will attempt to use O_DIRECT if it is safe to do so.
|
||||
(Closes: #198006)
|
||||
* Use symbolic links for fsck.ext{2,3} and mkfs.ext{2,3} in the udeb
|
||||
package since busybox tar can't deal with hard links. (Closes: #196508)
|
||||
|
@ -1080,7 +1114,7 @@ e2fsprogs (1.33+1.34-WIP-2003.05.21-2) unstable; urgency=low
|
|||
|
||||
e2fsprogs (1.33+1.34-WIP-2003.05.21-1) unstable; urgency=low
|
||||
|
||||
* Fix problems with compiling e2fsprogs with NLS support on woody
|
||||
* Fix problems with compiling e2fsprogs with NLS support on woody
|
||||
(Closes: #193372)
|
||||
* Remove the extraneous de-utf.po file.
|
||||
* Add get-text to build-depends.
|
||||
|
@ -1089,8 +1123,8 @@ e2fsprogs (1.33+1.34-WIP-2003.05.21-1) unstable; urgency=low
|
|||
* Fix bug which caused us to accidentally include the EVMS plugin in
|
||||
the e2fsprogs package (which doesn't work, but causes confusing messages
|
||||
to show up when the evms client is started).
|
||||
* If the hardware sector size of a device is larger than the default
|
||||
blocksize, use the hardware sector size as the blocksize when creating
|
||||
* If the hardware sector size of a device is larger than the default
|
||||
blocksize, use the hardware sector size as the blocksize when creating
|
||||
a filesystem, to solve problems with s/390 DASD's.
|
||||
* Add a shared library dependency to libuuid to libblkid (Closes: #194094)
|
||||
* Add initial implementation of a dump_unused command (Closes: #79164)
|
||||
|
@ -1099,11 +1133,11 @@ e2fsprogs (1.33+1.34-WIP-2003.05.21-1) unstable; urgency=low
|
|||
|
||||
e2fsprogs (1.33-5) unstable; urgency=low
|
||||
|
||||
* Clarify blocksize units when displaying messages in resize2fs, and
|
||||
support using suffixes (sectors, kilobytes, megabites, gigabytes)
|
||||
* Clarify blocksize units when displaying messages in resize2fs, and
|
||||
support using suffixes (sectors, kilobytes, megabites, gigabytes)
|
||||
to the size parameter to indicate units. (Closes: #189814)
|
||||
* Fix debugfs core-dumping problem caused by getopt. (Works around: #192834)
|
||||
* Add package dependency to shlibs for comerr to indicate support
|
||||
* Add package dependency to shlibs for comerr to indicate support
|
||||
for kth compatibility. (Closes: #193096)
|
||||
|
||||
-- Theodore Y. Ts'o <tytso@mit.edu> Tue, 13 May 2003 23:45:08 -0400
|
||||
|
@ -1132,13 +1166,13 @@ e2fsprogs (1.33-2) unstable; urgency=low
|
|||
|
||||
* Fix up NLS support
|
||||
- Fix message abbreviations support (i.e., @g --> group)
|
||||
- Update to gettext 0.11.5
|
||||
- Update to gettext 0.11.5
|
||||
- Add Czech translation
|
||||
- Install message catalogs
|
||||
- Other miscellaneous NLS bug fixes
|
||||
* Add new debugfs command, imap, which prints the location of a
|
||||
* Add new debugfs command, imap, which prints the location of a
|
||||
specified inode in the inode table.
|
||||
* Put /usr/include/com_err.h in comerr-dev instead of e2fslibs-dev.
|
||||
* Put /usr/include/com_err.h in comerr-dev instead of e2fslibs-dev.
|
||||
(Closes: #191899)
|
||||
* Add support for OV-style continuations in compile_et. (Closes: #191900)
|
||||
|
||||
|
@ -1159,7 +1193,7 @@ e2fsprogs (1.32+1.33-WIP-2003.04.14-1) unstable; urgency=low
|
|||
* Change e2fsck to bracket its progress bar output with ctrl-A and ctrl-B
|
||||
characters, so that logsave -s can omit writing the progress bar output
|
||||
to the log file.
|
||||
* Avoid printing the version banner for mke2fs if the -q option is
|
||||
* Avoid printing the version banner for mke2fs if the -q option is
|
||||
specified. (Closes: #172716)
|
||||
|
||||
-- Theodore Y. Ts'o <tytso@mit.edu> Wed, 16 Apr 2003 15:27:20 -0400
|
||||
|
@ -1189,11 +1223,11 @@ e2fsprogs (1.32+1.33-WIP-2003.03.30-2) unstable; urgency=low
|
|||
* Make the random number generator more paranoid about potentially buggy
|
||||
/dev/random devices.
|
||||
* The badblocks program now flushes its output as it discovers bad blocks.
|
||||
* Imported bug fixes to EVMS driver from the EVMS 2.0 tree. Fixed a
|
||||
* Imported bug fixes to EVMS driver from the EVMS 2.0 tree. Fixed a
|
||||
few potential hangs, and eliminated a file descriptor leak.
|
||||
* E2fsck now updates the global free block and inode counters from
|
||||
the block group specific counters quietly. This is needed for an
|
||||
experimental kernel patch which improves SMP scalability by not
|
||||
experimental kernel patch which improves SMP scalability by not
|
||||
locking the entire filesystem during block or inode allocation; if
|
||||
the filesystem is not unmoutned cleanly, the global counts may not
|
||||
be accurate.
|
||||
|
@ -1206,7 +1240,7 @@ e2fsprogs (1.32+1.33-WIP-2003.03.30-2) unstable; urgency=low
|
|||
e2fsprogs (1.32+1.33-WIP-2003.03.30-1) unstable; urgency=low
|
||||
|
||||
* Change compile_et to generate header files that use <et/com_err.h>
|
||||
instead of <com_err.h>, so the current version of the header file
|
||||
instead of <com_err.h>, so the current version of the header file
|
||||
is used. Remove legacy K&R, varargs, and pre-POSIX signal support.
|
||||
* Fix (one more time!) Apple Darwin port in blkid/getsize.c
|
||||
|
||||
|
@ -1286,7 +1320,7 @@ e2fsprogs (1.28-3) unstable; urgency=low
|
|||
* Don't use special cflags at configure time when building the special
|
||||
mips non-pic lib, in yet another attempt to fix my adaptation of the
|
||||
patch from the mips team. Also added --disable-nls which was present
|
||||
in the original patch.
|
||||
in the original patch.
|
||||
* Remove debian/BUILD-MIPS on clean.
|
||||
* Install mkinitrd script as scripts/e2fsprogs, not as
|
||||
scripts/e2fsprogs.mkinitrd.
|
||||
|
@ -1333,10 +1367,10 @@ e2fsprogs (1.27+1.28-WIP-0626-1) experimental; urgency=low
|
|||
Florian Lohoff, adapted for style consistency (Closes: #145432).
|
||||
* Removed presumably-useless and presumably-broken CFLAGS propagation.
|
||||
If someone misses that, I'll add ${CFLAGS} to --ccopts.
|
||||
|
||||
|
||||
* Switched to debhelper v4.
|
||||
* Added ${misc:Depends} to all packages' Depends field.
|
||||
|
||||
|
||||
* Fixed typos in fsck.8, added an example for clarity (Closes:
|
||||
#145044).
|
||||
* Fixed typo in chattr manpage (Closes: #141938).
|
||||
|
@ -1385,7 +1419,7 @@ e2fsprogs (1.26-1) unstable; urgency=low
|
|||
* This uploads fixes 10 bugs, including data-corruption problems, and
|
||||
adds much to the ease of maintainance and problem tracking. Good
|
||||
choice for woody.
|
||||
|
||||
|
||||
* New upstream release (Closes: #106622, #116975, #118443, #119624,
|
||||
#120171, #120077, #129828, #132764).
|
||||
** Fixes for data-corruption bugs not reported to the BTS: e2fsck
|
||||
|
@ -1433,7 +1467,7 @@ e2fsprogs (1.24a-1) unstable; urgency=high
|
|||
they add virtually no risk. Support for raw image files will be of
|
||||
great help to debug users' problems. Urgency set to "high" to make
|
||||
sure this version gets released with woody.
|
||||
|
||||
|
||||
** Fsck prints a warning message if now valid filesystems are passed to
|
||||
it. (Closes: #107458).
|
||||
** Fsck -A will not try to interpret device names for filesystems which
|
||||
|
@ -1465,7 +1499,7 @@ e2fsprogs (1.22-1) unstable; urgency=low
|
|||
|
||||
e2fsprogs (1.21+1.22-WIP-0620-1) unstable; urgency=low
|
||||
|
||||
* New upstream pre-release, critical for big-endian platforms
|
||||
* New upstream pre-release, critical for big-endian platforms
|
||||
(Closes: #101752).
|
||||
* Re-applied hurd fix again.
|
||||
* Build e2fsprogs-bf with -Os to gain more space.
|
||||
|
@ -1589,7 +1623,7 @@ e2fsprogs (1.19+1.20-WIP-0514-1) unstable; urgency=low
|
|||
for a fix. Well finally 3.0.23 is buggy, leave this for later.
|
||||
* Avoid to call ldconfig at "make install" time, too costly.
|
||||
* Get rid in control files of references to never-released standalone
|
||||
lib files (split attempted in 1997/98).
|
||||
lib files (split attempted in 1997/98).
|
||||
* Bumped Standards-Version to 3.5.4.
|
||||
|
||||
-- Yann Dirson <dirson@debian.org> Tue, 15 May 2001 14:28:39 +0200
|
||||
|
@ -1754,7 +1788,7 @@ e2fsprogs (1.14-2) unstable; urgency=low
|
|||
* Undid the <linux/types.h> changes.
|
||||
* Changed "rmdir -p" invocations in debian/rules into "-rmdir -p" to
|
||||
turn around changed behaviour in fileutils_4.0.
|
||||
|
||||
|
||||
-- Yann Dirson <dirson@debian.org> Fri, 12 Mar 1999 23:50:47 +0100
|
||||
|
||||
e2fsprogs (1.14-1) unstable; urgency=low
|
||||
|
@ -1805,9 +1839,9 @@ e2fsprogs (1.12-2.1) unstable; urgency=low
|
|||
* Non-maintainer upload
|
||||
config.guess and config.sub files modified, to recognize a Arm
|
||||
architecture.
|
||||
|
||||
|
||||
-- Turbo Fredriksson <turbo@debian.org> Thu, 13 Aug 1998 19:15:56 -0400
|
||||
|
||||
|
||||
e2fsprogs (1.12-2) unstable; urgency=low
|
||||
|
||||
* Really install e2label.8 manpage.
|
||||
|
@ -1971,9 +2005,9 @@ e2fsprogs (1.10-7) unstable; urgency=HIGH
|
|||
|
||||
* Turned "#if (__GLIBC__ == 2)" into "#if 1" to turn around missing llseek()
|
||||
prototype in libc_5.4.33-5 as well as libc6.
|
||||
|
||||
|
||||
-- Yann Dirson <dirson@univ-mlv.fr> Tue, 21 Oct 1997 12:53:27 +0200
|
||||
|
||||
|
||||
e2fsprogs (1.10-6) unstable; urgency=low
|
||||
|
||||
* Official libc6 patches from Ted.
|
||||
|
@ -1986,13 +2020,13 @@ e2fsprogs (1.10-6) unstable; urgency=low
|
|||
next release.
|
||||
|
||||
-- Yann Dirson <dirson@univ-mlv.fr> Wed, 24 Sep 1997 10:46:00 +0200
|
||||
|
||||
|
||||
e2fsprogs (1.10-5.1) experimental; urgency=low
|
||||
|
||||
* Applied patch from Ted for libc6 compatibility, for test purpose.
|
||||
|
||||
-- Yann Dirson <dirson@univ-mlv.fr> Thu, 11 Sep 1997 09:09:42 +0200
|
||||
|
||||
|
||||
e2fsprogs (1.10-5) unstable; urgency=medium
|
||||
|
||||
* Switched back to libc5 because of possible bug in libc6-2.0.4-provided
|
||||
|
@ -2077,7 +2111,7 @@ e2fsprogs (1.01-1) unstable; urgency=low
|
|||
* upgraded to latest upstream version, to 1.05 from 1.04
|
||||
* gzip manpages
|
||||
* minor changes to debian.rules
|
||||
|
||||
|
||||
-- Michael Meskes <meskes@debian.org> Fri, 18 Oct 1996 00:00:00 +0000
|
||||
|
||||
e2fsprogs (1.04-1) unstable; urgency=low
|
||||
|
@ -2090,7 +2124,7 @@ e2fsprogs (1.04-1) unstable; urgency=low
|
|||
-- Michael Nonweiler <mrn20@cam.ac.uk> Sun, 23 Jun 1996 00:00:00 +0000
|
||||
|
||||
e2fsprogs (1.02-1) unstable; urgency=low
|
||||
|
||||
|
||||
* upgraded to latest upstream version, to 1.02 from 1.01
|
||||
* copied "configure" usr_prefix change (see below), into configure.in
|
||||
* updated debian.control file, added Pre-Depends field
|
||||
|
@ -2104,9 +2138,9 @@ e2fsprogs (1.02-1) unstable; urgency=low
|
|||
-- Michael Nonweiler <mrn20@cam.ac.uk> Tue, 5 Mar 1996 00:00:00 +0000
|
||||
|
||||
e2fsprogs (1.01-1) unstable; urgency=low
|
||||
|
||||
* removed debugging symbols from libs and enabled more optimization
|
||||
as suggested by Rolf Rossius
|
||||
|
||||
* removed debugging symbols from libs and enabled more optimization
|
||||
as suggested by Rolf Rossius
|
||||
* also removed the /var/catman pages
|
||||
* changed to elf compilation
|
||||
|
||||
|
|
|
@ -50,7 +50,7 @@ Description: common error description library - headers and static libraries
|
|||
Package: libss2
|
||||
Section: libs
|
||||
Priority: required
|
||||
Depends: libcomerr2
|
||||
Depends: libcomerr2, ${shlibs:Depends}
|
||||
Replaces: e2fsprogs (<< 1.34-1)
|
||||
Architecture: any
|
||||
Description: command-line interface parsing library
|
||||
|
|
|
@ -5,39 +5,20 @@ were written by Theodore Ts'o <tytso@mit.edu> and Remy Card
|
|||
|
||||
Sources were obtained from http://sourceforge.net/projects/e2fsprogs
|
||||
|
||||
Packaging is copyright (c) 2003-2006 Theodore Ts'o <tytso@mit.edu>
|
||||
copyright (c) 1997-2003 Yann Dirson <dirson@debian.org>
|
||||
copyright (c) 2001 Alcove <http://www.alcove.com/>
|
||||
copyright (c) 1997 Klee Dienes
|
||||
copyright (c) 1995-1996 Michael Nonweiler <mrn20@cam.ac.uk>
|
||||
Packaging is Copyright (c) 2003-2006 Theodore Ts'o <tytso@mit.edu>
|
||||
Copyright (c) 1997-2003 Yann Dirson <dirson@debian.org>
|
||||
Copyright (c) 2001 Alcove <http://www.alcove.com/>
|
||||
Copyright (c) 1997 Klee Dienes
|
||||
Copyright (c) 1995-1996 Michael Nonweiler <mrn20@cam.ac.uk>
|
||||
|
||||
Upstream Author: Theodore Ts'o <tytso@mit.edu>
|
||||
|
||||
Copyright notice:
|
||||
|
||||
This package, the EXT2 filesystem utilities, are protected by the GNU
|
||||
This package, the EXT2 filesystem utilities, is protected by the GNU
|
||||
Public License.
|
||||
|
||||
However, I request that if the version string in the file version.h
|
||||
contains the string "pre-", or "WIP" that this version of e2fsprogs be
|
||||
distributed in source form only. Please feel free to give a copy of
|
||||
the e2fsck binary to help a friend recover his or her filesystem, as
|
||||
the need arises. However, "pre" or "WIP" indicates that this release
|
||||
is under development, and available for ALPHA testing. So for your
|
||||
protection as much as mine, I'd prefer that it not appear in a some
|
||||
distribution --- especially not a CD-ROM distribution!
|
||||
|
||||
The most recent officially distributed version can be found at
|
||||
http://e2fsprogs.sourceforge.net. If you need to make a distribution,
|
||||
that's the one you should use. If there is some reason why you'd like
|
||||
a more recent version that is still in ALPHA testing for your
|
||||
distribution, please contact me (tytso@mit.edu), and we will very
|
||||
likely be able to work out something that will work for all concerned.
|
||||
The release schedules for this package are flexible, if you give me
|
||||
enough lead time.
|
||||
|
||||
Theodore Ts'o
|
||||
15-Mar-2003
|
||||
Copyright (c) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 by Theodore Ts'o
|
||||
|
||||
On Debian GNU systems, the complete text of the GNU General
|
||||
Public License can be found in `/usr/share/common-licenses/GPL'.
|
||||
|
|
|
@ -17,8 +17,8 @@ Copyright notice:
|
|||
This package, the EXT2 filesystem libraries, are protected by the GNU
|
||||
Public License.
|
||||
|
||||
Theodore Ts'o
|
||||
15-Mar-2003
|
||||
Copyright (c) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 by Theodore Ts'o
|
||||
Public License.
|
||||
|
||||
On Debian GNU systems, the complete text of the GNU General
|
||||
Public License can be found in `/usr/share/common-licenses/GPL'.
|
||||
|
|
|
@ -4,18 +4,19 @@ written by Theodore Ts'o <tytso@mit.edu> and Remy Card <card@masi.ibp.fr>.
|
|||
|
||||
Sources were obtained from http://sourceforge.net/projects/e2fsprogs
|
||||
|
||||
Packaging is copyright (c) 2003-2007 Theodore Ts'o <tytso@mit.edu>
|
||||
copyright (c) 1997-2003 Yann Dirson <dirson@debian.org>
|
||||
copyright (c) 2001 Alcove <http://www.alcove.com/>
|
||||
copyright (c) 1997 Klee Dienes
|
||||
copyright (c) 1995-1996 Michael Nonweiler <mrn20@cam.ac.uk>
|
||||
Packaging is Copyright (c) 2003-2007 Theodore Ts'o <tytso@mit.edu>
|
||||
Copyright (c) 1997-2003 Yann Dirson <dirson@debian.org>
|
||||
Copyright (c) 2001 Alcove <http://www.alcove.com/>
|
||||
Copyright (c) 1997 Klee Dienes
|
||||
Copyright (c) 1995-1996 Michael Nonweiler <mrn20@cam.ac.uk>
|
||||
|
||||
Upstream Author: Theodore Ts'o <tytso@mit.edu>
|
||||
|
||||
Copyright notice:
|
||||
|
||||
This package, the EXT2 filesystem utilities, are protected by the GNU
|
||||
This package, the EXT2 filesystem utilities, is protected by the GNU
|
||||
Public License.
|
||||
Copyright (c) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 by Theodore Ts'o
|
||||
|
||||
On Debian GNU systems, the complete text of the GNU General
|
||||
Public License can be found in `/usr/share/common-licenses/GPL'.
|
||||
|
|
|
@ -386,8 +386,6 @@ binary-arch: install install-udeb
|
|||
$(INSTALL) -p -m 0644 debugfs/debug_cmds.ct \
|
||||
${debdir}/ss-dev/usr/share/doc/libss${SS_SOVERSION}/examples
|
||||
|
||||
$(INSTALL) -d ${debdir}/uuid-dev/usr/share/doc/libuuid${UUID_SOVERSION}
|
||||
|
||||
if test -f /etc/lsb-release && \
|
||||
grep -q DISTRIB_ID=Ubuntu /etc/lsb-release; then \
|
||||
$(INSTALL) -p -m 0644 e2fsck/e2fsck.conf.ubuntu \
|
||||
|
|
|
@ -518,5 +518,6 @@ environment variable.
|
|||
was written by Theodore Ts'o <tytso@mit.edu>.
|
||||
.SH SEE ALSO
|
||||
.BR dumpe2fs (8),
|
||||
.BR tune2fs (8),
|
||||
.BR e2fsck (8),
|
||||
.BR mke2fs (8)
|
||||
|
|
|
@ -18,7 +18,7 @@ HTML=texi2html
|
|||
|
||||
all:: libext2fs.info libext2fs.dvi
|
||||
|
||||
install-doc-libs:
|
||||
install-doc-libs: libext2fs.info libext2fs.dvi
|
||||
@$(RM) -rf $(DESTDIR)$(infodir)/libext2fs.info*
|
||||
@echo " MKINSTALLDIRS $(infodir)"
|
||||
@$(MKINSTALLDIRS) $(DESTDIR)$(infodir)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
\input texinfo @c -*-texinfo-*-
|
||||
@c %**start of header
|
||||
@setfilename libext2fs.info
|
||||
@settitle The EXT2FS Library (version 1.40.6)
|
||||
@settitle The EXT2FS Library (version 1.40.7)
|
||||
@synindex tp fn
|
||||
@comment %**end of header
|
||||
|
||||
|
@ -59,7 +59,7 @@ by the author.
|
|||
|
||||
@title The EXT2FS Library
|
||||
@subtitle The EXT2FS Library
|
||||
@subtitle Version 1.40.6
|
||||
@subtitle Version 1.40.7
|
||||
@subtitle February 2008
|
||||
|
||||
@author by Theodore Ts'o
|
||||
|
@ -101,7 +101,7 @@ by the Foundation.
|
|||
|
||||
@top The EXT2FS Library
|
||||
|
||||
This manual documents the EXT2FS Library, version 1.40.6.
|
||||
This manual documents the EXT2FS Library, version 1.40.7.
|
||||
|
||||
@end ifinfo
|
||||
|
||||
|
|
|
@ -171,7 +171,7 @@ installdirs:
|
|||
@$(MKINSTALLDIRS) $(DESTDIR)$(root_sbindir) \
|
||||
$(DESTDIR)$(man8dir) $(DESTDIR)$(man5dir)
|
||||
|
||||
install: $(PROGS) $(MANPAGES) installdirs
|
||||
install: $(PROGS) $(MANPAGES) $(FMANPAGES) installdirs
|
||||
@for i in $(PROGS); do \
|
||||
echo " INSTALL $(root_sbindir)/$$i"; \
|
||||
$(INSTALL_PROGRAM) $$i $(DESTDIR)$(root_sbindir)/$$i; \
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
Begin3
|
||||
Title: EXT2 Filesystem utilities
|
||||
Version: 1.40.6
|
||||
Entered-date: 09Feb2008
|
||||
Version: 1.40.7
|
||||
Entered-date: 28Feb2008
|
||||
Description: The filesystem utilities for the EXT2 filesystem, including
|
||||
e2fsck, mke2fs, dumpe2fs, fsck, and others.
|
||||
Keywords: utilities, fsck, filesystem, Ext2fs
|
||||
Author: tytso@mit.edu (Theodore Tso)
|
||||
Maintained-by: tytso@mit.edu (Theodore Tso)
|
||||
Primary-site: download.sourceforge.net /pub/sourceforge/e2fsprogs
|
||||
3984kB e2fsprogs-1.40.6.tar.gz
|
||||
440kB e2fsprogs-libs-1.40.6.tar.gz
|
||||
3996kB e2fsprogs-1.40.6.tar.gz
|
||||
444kB e2fsprogs-libs-1.40.6.tar.gz
|
||||
1kB e2fsprogs-1.40.6.lsm
|
||||
Alternate-site:
|
||||
Platforms: linux 1.2.x/1.3.x/2.0.x/2.1.x/2.2.x/2.3.x/2.4.x/2.5.x/2.6.x
|
||||
|
|
|
@ -94,13 +94,14 @@ int linux_version_code = 0;
|
|||
|
||||
static void usage(void)
|
||||
{
|
||||
fprintf(stderr, _("Usage: %s [-c|-t|-l filename] [-b block-size] "
|
||||
fprintf(stderr, _("Usage: %s [-c|-l filename] [-b block-size] "
|
||||
"[-f fragment-size]\n\t[-i bytes-per-inode] [-I inode-size] "
|
||||
"[-j] [-J journal-options]\n"
|
||||
"[-J journal-options]\n"
|
||||
"\t[-N number-of-inodes] [-m reserved-blocks-percentage] "
|
||||
"[-o creator-os]\n\t[-g blocks-per-group] [-L volume-label] "
|
||||
"[-M last-mounted-directory]\n\t[-O feature[,...]] "
|
||||
"[-r fs-revision] [-E extended-option[,...]] [-qvSV]\n\tdevice [blocks-count]\n"),
|
||||
"[-r fs-revision] [-E extended-option[,...]]\n"
|
||||
"\t[-T fs-type] [-jnqvFSV] device [blocks-count]\n"),
|
||||
program_name);
|
||||
exit(1);
|
||||
}
|
||||
|
|
|
@ -461,12 +461,6 @@ can be run to convert existing directories to the hashed B-tree format.
|
|||
.BI \-r " reserved-blocks-count"
|
||||
Set the number of reserved filesystem blocks.
|
||||
.TP
|
||||
.BR \-s " [" 0 | 1 ]
|
||||
Turn the sparse super feature off or on. Turning this feature on
|
||||
saves space on really big filesystems. This is the same as using the
|
||||
.B "\-O sparse_super"
|
||||
option.
|
||||
.TP
|
||||
.BI \-T " time-last-checked"
|
||||
Set the time the filesystem was last checked using
|
||||
.BR e2fsck .
|
||||
|
@ -544,6 +538,7 @@ Time-dependent checking was added by Uwe Ohse <uwe@tirka.gun.de>.
|
|||
is part of the e2fsprogs package and is available from
|
||||
http://e2fsprogs.sourceforge.net.
|
||||
.SH SEE ALSO
|
||||
.BR debugfs (8),
|
||||
.BR dumpe2fs (8),
|
||||
.BR e2fsck (8),
|
||||
.BR mke2fs (8)
|
||||
|
|
|
@ -97,10 +97,11 @@ static void usage(void)
|
|||
fprintf(stderr,
|
||||
_("Usage: %s [-c max_mounts_count] [-e errors_behavior] "
|
||||
"[-g group]\n"
|
||||
"\t[-i interval[d|m|w]] [-j] [-J journal_options]\n"
|
||||
"\t[-l] [-s sparse_flag] [-m reserved_blocks_percent]\n"
|
||||
"\t[-o [^]mount_options[,...]] [-r reserved_blocks_count]\n"
|
||||
"\t[-u user] [-C mount_count] [-L volume_label]\n"
|
||||
"\t[-i interval[d|m|w]] [-j] [-J journal_options] [-l]\n"
|
||||
"\t[-m reserved_blocks_percent] "
|
||||
"[-o [^]mount_options[,...]] \n"
|
||||
"\t[-r reserved_blocks_count] [-u user] [-C mount_count] "
|
||||
"[-L volume_label]\n"
|
||||
"\t[-M last_mounted_dir] [-O [^]feature[,...]]\n"
|
||||
"\t[-E extended-option[,...]] [-T last_check_time] "
|
||||
"[-U UUID] device\n"), program_name);
|
||||
|
@ -129,8 +130,7 @@ static __u32 clear_ok_features[3] = {
|
|||
EXT2_FEATURE_INCOMPAT_FILETYPE |
|
||||
EXT4_FEATURE_INCOMPAT_FLEX_BG,
|
||||
/* R/O compat */
|
||||
EXT2_FEATURE_RO_COMPAT_LARGE_FILE |
|
||||
EXT2_FEATURE_RO_COMPAT_SPARSE_SUPER
|
||||
EXT2_FEATURE_RO_COMPAT_LARGE_FILE
|
||||
};
|
||||
|
||||
/*
|
||||
|
@ -732,7 +732,7 @@ static void parse_tune2fs_options(int argc, char **argv)
|
|||
r_flag = 1;
|
||||
open_flag = EXT2_FLAG_RW;
|
||||
break;
|
||||
case 's':
|
||||
case 's': /* Deprecated */
|
||||
s_flag = atoi(optarg);
|
||||
open_flag = EXT2_FLAG_RW;
|
||||
break;
|
||||
|
@ -1018,19 +1018,9 @@ int main (int argc, char ** argv)
|
|||
}
|
||||
}
|
||||
if (s_flag == 0) {
|
||||
if (!(sb->s_feature_ro_compat &
|
||||
EXT2_FEATURE_RO_COMPAT_SPARSE_SUPER))
|
||||
fputs(_("\nThe filesystem already has sparse "
|
||||
"superblocks disabled.\n"), stderr);
|
||||
else {
|
||||
sb->s_feature_ro_compat &=
|
||||
~EXT2_FEATURE_RO_COMPAT_SPARSE_SUPER;
|
||||
sb->s_state &= ~EXT2_VALID_FS;
|
||||
fs->flags |= EXT2_FLAG_MASTER_SB_ONLY;
|
||||
ext2fs_mark_super_dirty(fs);
|
||||
printf(_("\nSparse superblock flag cleared. %s"),
|
||||
_(please_fsck));
|
||||
}
|
||||
fputs(_("\nClearing the sparse superflag not supported.\n"),
|
||||
stderr);
|
||||
exit(1);
|
||||
}
|
||||
if (T_flag) {
|
||||
sb->s_lastcheck = last_check_time;
|
||||
|
|
516
po/e2fsprogs.pot
516
po/e2fsprogs.pot
File diff suppressed because it is too large
Load Diff
|
@ -1108,13 +1108,15 @@ static errcode_t inode_scan_and_fix(ext2_resize_t rfs)
|
|||
{
|
||||
struct process_block_struct pb;
|
||||
ext2_ino_t ino, new_inode;
|
||||
struct ext2_inode inode;
|
||||
struct ext2_inode inode, *buf = NULL;
|
||||
struct ext2_inode_large *large_inode;
|
||||
ext2_inode_scan scan = NULL;
|
||||
errcode_t retval;
|
||||
int group;
|
||||
char *block_buf = 0;
|
||||
ext2_ino_t start_to_move;
|
||||
blk_t orig_size, new_block;
|
||||
int inode_size;
|
||||
|
||||
if ((rfs->old_fs->group_desc_count <=
|
||||
rfs->new_fs->group_desc_count) &&
|
||||
|
@ -1154,6 +1156,12 @@ static errcode_t inode_scan_and_fix(ext2_resize_t rfs)
|
|||
pb.inode = &inode;
|
||||
pb.error = 0;
|
||||
new_inode = EXT2_FIRST_INODE(rfs->new_fs->super);
|
||||
inode_size = EXT2_INODE_SIZE(rfs->new_fs->super);
|
||||
buf = malloc(inode_size);
|
||||
if (!buf) {
|
||||
retval = ENOMEM;
|
||||
goto errout;
|
||||
}
|
||||
/*
|
||||
* First, copy all of the inodes that need to be moved
|
||||
* elsewhere in the inode table
|
||||
|
@ -1212,13 +1220,19 @@ static errcode_t inode_scan_and_fix(ext2_resize_t rfs)
|
|||
}
|
||||
}
|
||||
ext2fs_mark_inode_bitmap(rfs->new_fs->inode_map, new_inode);
|
||||
memcpy(buf, &inode, sizeof(struct ext2_inode));
|
||||
large_inode = (struct ext2_inode_large *)buf;
|
||||
large_inode->i_extra_isize = sizeof(struct ext2_inode_large) -
|
||||
EXT2_GOOD_OLD_INODE_SIZE;
|
||||
if (pb.changed) {
|
||||
/* Get the new version of the inode */
|
||||
retval = ext2fs_read_inode(rfs->old_fs, ino, &inode);
|
||||
retval = ext2fs_read_inode_full(rfs->old_fs, ino,
|
||||
buf, inode_size);
|
||||
if (retval) goto errout;
|
||||
}
|
||||
inode.i_ctime = time(0);
|
||||
retval = ext2fs_write_inode(rfs->old_fs, new_inode, &inode);
|
||||
retval = ext2fs_write_inode_full(rfs->old_fs, new_inode,
|
||||
buf, inode_size);
|
||||
if (retval) goto errout;
|
||||
|
||||
group = (new_inode-1) / EXT2_INODES_PER_GROUP(rfs->new_fs->super);
|
||||
|
@ -1248,6 +1262,8 @@ errout:
|
|||
ext2fs_close_inode_scan(scan);
|
||||
if (block_buf)
|
||||
ext2fs_free_mem(&block_buf);
|
||||
if (buf)
|
||||
free(buf);
|
||||
return retval;
|
||||
}
|
||||
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
resize2fs test
|
||||
debugfs -R ''stat file'' ./test.img 2>&1 | grep ''^Inode\|in inode body\|name = ''
|
||||
Inode: 1550 Type: regular Mode: 0644 Flags: 0x0 Generation: 3498507810
|
||||
Extended attributes stored in inode body:
|
||||
name = "propervalue" (11)
|
||||
Exit status is 0
|
||||
resize2fs ./test.img 5M
|
||||
Resizing the filesystem on ./test.img to 5120 (1k) blocks.
|
||||
The filesystem on ./test.img is now 5120 blocks long.
|
||||
|
||||
Exit status is 0
|
||||
debugfs -R ''stat file'' ./test.img 2>&1 | grep ''^Inode\|in inode body\|name = ''
|
||||
Inode: 12 Type: regular Mode: 0644 Flags: 0x0 Generation: 3498507810
|
||||
Extended attributes stored in inode body:
|
||||
name = "propervalue" (11)
|
||||
Exit status is 0
|
Binary file not shown.
|
@ -0,0 +1 @@
|
|||
shrinking filesystem with in-inode extended attributes
|
|
@ -0,0 +1,55 @@
|
|||
if test -x $RESIZE2FS_EXE; then
|
||||
|
||||
IMAGE=$test_dir/image.gz
|
||||
FSCK_OPT=-yf
|
||||
OUT=$test_name.log
|
||||
EXP=$test_dir/expect
|
||||
|
||||
gunzip < $IMAGE > $TMPFILE
|
||||
|
||||
echo "resize2fs test" > $OUT
|
||||
|
||||
# Look at existing inline extended attribute
|
||||
echo "debugfs -R ''stat file'' $TMPFILE 2>&1 | grep ''^Inode\|in inode body\|name = ''" >> $OUT
|
||||
$DEBUGFS -R "stat file" $TMPFILE 2>&1 | grep "^Inode\|in inode body\|name = " >> $OUT
|
||||
status=$?
|
||||
echo Exit status is $status >> $OUT
|
||||
|
||||
# resize it
|
||||
echo "resize2fs $TMPFILE 5M" >> $OUT
|
||||
$RESIZE2FS $TMPFILE 5M 2>&1 >> $OUT.new 2>&1
|
||||
status=$?
|
||||
echo Exit status is $status >> $OUT.new
|
||||
sed -e '1d' $OUT.new >> $OUT
|
||||
|
||||
# Look at inline extended attribute in resized fs
|
||||
echo "debugfs -R ''stat file'' $TMPFILE 2>&1 | grep ''^Inode\|in inode body\|name = ''" >> $OUT
|
||||
$DEBUGFS -R "stat file" $TMPFILE 2>&1 | grep "^Inode\|in inode body\|name = " >> $OUT
|
||||
status=$?
|
||||
echo Exit status is $status >> $OUT
|
||||
|
||||
rm $TMPFILE $OUT.new
|
||||
|
||||
#
|
||||
# Do the verification
|
||||
#
|
||||
|
||||
rm -f $test_name.ok $test_name.failed
|
||||
cmp -s $OUT $EXP
|
||||
status=$?
|
||||
|
||||
if [ "$status" = 0 ] ; then
|
||||
echo "ok"
|
||||
touch $test_name.ok
|
||||
else
|
||||
echo "failed"
|
||||
diff $DIFF_OPTS $EXP $OUT > $test_name.failed
|
||||
fi
|
||||
|
||||
unset IMAGE FSCK_OPT OUT EXP
|
||||
|
||||
else #if test -x $RESIZE2FS; then
|
||||
rm -f $test_name.ok $test_name.failed
|
||||
echo "skipped"
|
||||
fi
|
||||
|
|
@ -0,0 +1 @@
|
|||
filesystem resize which requires moving the inode table
|
|
@ -1,5 +1,3 @@
|
|||
printf "resize2fs with resize_inode: "
|
||||
|
||||
if test -x $RESIZE2FS_EXE; then
|
||||
|
||||
FSCK_OPT=-yf
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
filesystem resize with a resize_inode present
|
||||
|
|
@ -1,5 +1,3 @@
|
|||
printf "resize2fs with resize_inode: "
|
||||
|
||||
if test -x $RESIZE2FS_EXE; then
|
||||
|
||||
FSCK_OPT=-yf
|
||||
|
|
Loading…
Reference in New Issue