This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH 0/2] Squashing long inodes.
- From: Denis Obrezkov <reprofy at etersoft dot ru>
- To: libc-alpha at sourceware dot org
- Cc: Denis Obrezkov <reprofy at etersoft dot ru>
- Date: Thu, 27 Feb 2014 21:22:54 +0400
- Subject: [PATCH 0/2] Squashing long inodes.
- Authentication-results: sourceware.org; auth=none
Hi,
nowadays we can observe active cooperation between 64bit and 32bit systems. Due to this we have a compatibility problem - programs on 32bit systems have to operate with 64bit inodes.
Most of these programs use stat to check out file's presence and don's use inodes themselves. Sometimes we could resolve this problem by means of rebuilding them with -D_FILE_OFFSET_BITS=64 flag.
But many of them can't be rebuilt. So there is another way that is used in other products which have such a problem(e.g. fuse) - squashing inodes for 32bit systems.
Should it be solved? Should it be solved a different way?
Denis Obrezkov (2):
Squashing-64bit-file-inode-into-32bit-inode-field
Squashing 64bit directory inode into 32bit inode field
.../unix/sysv/linux/generic/wordsize-32/getdents.c | 17 ++++++++++++++---
sysdeps/unix/sysv/linux/xstatconv.c | 14 ++++++++++----
2 files changed, 24 insertions(+), 7 deletions(-)
--
1.8.4.5