[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Still have the open(2) problem
Okay, I have got util-linux working with files larger than
2 gig. I tested it with a 4G twofish loopback with ext2 to
be precise.
The problem is one that might be in the cracks between the
util-linux dist and the crypto patches. You have to modify
MCONFIG to include the -D_FILE_OFFSET_BITS=64 in the Compiler FLAGS:
CFLAGS := -g $(CFLAGS) $(OPT) -I$(LIB) $(WARNFLAGS) \
$(CURSESFLAGS) $(SLANGFLAGS) \
-DSBINDIR=\"$(SBINDIR)\" \
-DUSRSBINDIR=\"$(USRSBINDIR)\" \
-DLOGDIR=\"$(LOGDIR)\" \
-DVARPATH=\"$(VARPATH)\" \
-DLOCALEDIR=\"$(LOCALEDIR)\" \
-D_FILE_OFFSET_BITS=64
And of course you have to apply the util-linux patches from
linux/Documentation/crypto/
--
------------------------------------------------------
Use Linux: A computer Dale Amon, CEO/MD
is a terrible thing Village Networking Ltd
to waste. Belfast, Northern Ireland
------------------------------------------------------
Linux-crypto: cryptography in and on the Linux system
Archive: http://mail.nl.linux.org/linux-crypto/