e2fsprogs/debian
Theodore Ts'o f77704e416 Add directory hashed signed/unsigned hint to superblock
The e2fsprogs and kernel implementation of directory hash tree has a
bug which causes the implementation to be dependent on whether
characters are signed or unsigned.  Platforms such as the PowerPC,
Arm, and S/390 have signed characters by default, which means that
hash directories on those systems are incompatible with hash
directories on other systems, such as the x86.

To fix this we add a new flags field to the superblock, and define two
new bits in that field to indicate whether or not the directory should
be signed or unsigned.  If the bits are not set, e2fsck and fixed
kernels will set them to the signed/unsigned value of the currently
running platform, and then respect those bits when calculating the
directory hash.  This allows compatibility with current filesystems,
as well as allowing cross-architectural compatibility.

Addresses Debian Bug: #389772

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-11-11 22:32:35 -05:00
..
attic Many files: 2001-05-09 04:51:07 +00:00
changelog Update debian/changelog for 1.39+1.40-WIP-2006.10.02+dfsg-2 release 2006-10-22 00:44:15 -04:00
comerr-dev.doc-base Fix comerr-dev's pointer doc-base pointer to the top-level html file 2006-05-14 18:11:18 -04:00
comerr-dev.examples Synchronize with Debian release 1.21+1.22-WIP-0620-1 2001-06-22 23:05:23 -04:00
comerr-dev.files Add pkg-config files to e2fsprogs's libraries. 2005-01-26 12:59:25 -05:00
compat Update to debian's 1.27+1.28-WIP-0626-1 2002-08-17 21:11:29 -04:00
control Update Debian packaging for 1.39+1.40-WIP-2006.10.02+dfsg-1 2006-10-04 09:12:35 -04:00
e2fsck-static.copyright Update Debian packaging for 1.39+1.40-WIP-2006.10.02+dfsg-1 2006-10-04 09:12:35 -04:00
e2fsck-static.files changelog, control, rules, e2fsck-static.files, e2fsprogs.copyright: 2001-05-21 02:48:41 +00:00
e2fsck-static.lintian-overrides Update with the Debian package e2fsprogs-1.26-1. 2002-02-23 21:23:26 -05:00
e2fslibs-dev.doc-base Fix erroneous reference to /usr/share/doc/e2fsprogs/html-info in 2003-07-29 23:13:14 -04:00
e2fslibs-dev.files Add pkg-config files to e2fsprogs's libraries. 2005-01-26 12:59:25 -05:00
e2fslibs.copyright Separate out shared libraries out of e2fsprogs to real pacakges: 2003-07-25 07:03:00 -04:00
e2fslibs.files Separate out shared libraries out of e2fsprogs to real pacakges: 2003-07-25 07:03:00 -04:00
e2fsprogs-udeb.shlibs.local Applied NMU patch to fix Debian bugs #203056 and #203058 2003-07-29 22:15:33 -04:00
e2fsprogs.copyright Separate out shared libraries out of e2fsprogs to real pacakges: 2003-07-25 07:03:00 -04:00
e2fsprogs.docs Many files: 2001-05-09 04:51:07 +00:00
e2fsprogs.files Update the debian build files to deal with /etc/mke2fs.conf 2006-03-27 01:11:06 -05:00
e2fsprogs.preinst Fix test for /etc/mkinitrd/scripts/e2fsprogs to make sure it gets 2003-12-07 12:45:49 -05:00
e2fsprogs.shlibs.local Update debian changelog 2003-08-31 23:07:16 -04:00
initrd-tools.e2fsprogs Fix problem with creating initrd's for 2.4 systems on Debian 2006-05-13 09:05:01 -04:00
initrd.ext3-add-journal Avoid trying to mount the root device if it is an NFS device. 2005-12-10 22:57:05 -05:00
libblkid-dev.files Add pkg-config files to e2fsprogs's libraries. 2005-01-26 12:59:25 -05:00
libblkid.copyright Fix typo in the Debian copyright file, to consistently and correctly 2004-04-26 18:25:39 -04:00
libblkid1.files Move the blkid and uuidgen programs out of library packages and into e2fsprogs 2005-12-31 01:11:06 -05:00
libcomerr2.copyright Many files: 2001-05-09 04:51:07 +00:00
libcomerr2.files Separate out shared libraries out of e2fsprogs to real pacakges: 2003-07-25 07:03:00 -04:00
libss2.copyright Many files: 2001-06-15 22:54:34 +00:00
libss2.files Separate out shared libraries out of e2fsprogs to real pacakges: 2003-07-25 07:03:00 -04:00
libuuid1.copyright Change the license on the UUID library to be 3-clause BSD-style 2004-03-20 14:02:24 -05:00
libuuid1.files Move the blkid and uuidgen programs out of library packages and into e2fsprogs 2005-12-31 01:11:06 -05:00
rules Add directory hashed signed/unsigned hint to superblock 2006-11-11 22:32:35 -05:00
shlibs.local Separate out shared libraries out of e2fsprogs to real pacakges: 2003-07-25 07:03:00 -04:00
ss-dev.examples Many files: 2001-05-09 04:51:07 +00:00
ss-dev.files Add pkg-config files to e2fsprogs's libraries. 2005-01-26 12:59:25 -05:00
uuid-dev.README.Debian Update Debian packaging for 1.39+1.40-WIP-2006.10.02+dfsg-1 2006-10-04 09:12:35 -04:00
uuid-dev.copyright Update Debian packaging for 1.39+1.40-WIP-2006.10.02+dfsg-1 2006-10-04 09:12:35 -04:00
uuid-dev.files Add pkg-config files to e2fsprogs's libraries. 2005-01-26 12:59:25 -05:00