Closed wangvsa closed 1 year ago
BTW, Montage uses stat()
on directories to make sure the directories exist, and uses readdir()
to iterate all files under a given directory. Since UnifyFS does not fully support directory operations, Montage currently can not run on UnifyFS.
It seems that there does not have a Gotcha wrapper for
fopen64, stat64
, etc. (We do have aopen64
wrapper). One application, Montage, uses 64-bit version I/O calls. Montage can write/read very large files so it needs the large file support. It uses-D_FILE_OFFSET_BITS=64
to compile, which results in those calls.A temporary fix is to remove the
D_FILE_OFFSET_BITS
flag from the Montage's Makefile. I have tested this and it works fine provided we do not access large files.