diff options
author | Signed-off-by: Roy Peled | 2009-02-04 14:56:54 +0100 |
---|---|---|
committer | Karel Zak | 2009-02-04 14:56:54 +0100 |
commit | fbaec83bc0fda4341862cc60ac9796277235e4b9 (patch) | |
tree | 827eeedf2c3108341ef423f4f81b23b4beafb389 /configure.ac | |
parent | mount: non-setuid (POSIX file capabilities) support (diff) | |
download | kernel-qcow2-util-linux-fbaec83bc0fda4341862cc60ac9796277235e4b9.tar.gz kernel-qcow2-util-linux-fbaec83bc0fda4341862cc60ac9796277235e4b9.tar.xz kernel-qcow2-util-linux-fbaec83bc0fda4341862cc60ac9796277235e4b9.zip |
mkfs.cramfs: add endianness support to cramfs tools
cramfs is an endianness dependent file system. So far, the cramfs
utilities did not support cramfs images of different endianness than
the host machine.
A separate utility, cramfsswap, was required in order to change the
endianness of the image before and after using cramfs utilities. The
extra utility introduced extra maintenance and an additional step in
the process.
This patch adds endianness support to mkfs.cramfs and fsck.cramfs.
fsck.cramfs now automatically detects the image endianness, and can
work on images of either endianness. mkfs.cramfs now accepts a new
optional parameter (-N) that allows creating the cramfs image in
either endianness.
Signed-off-by: Roy Peled <the.roy.peled@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 3bbfd5736..35d60e8b5 100644 --- a/configure.ac +++ b/configure.ac @@ -27,6 +27,7 @@ esac AC_PROG_CC_STDC AC_GNU_SOURCE AC_CANONICAL_HOST +AC_C_BIGENDIAN linux_os=no case ${host_os} in |