Menu

#2 e2fsimage cannot create images larger than 2GB

open
nobody
None
5
2006-02-06
2006-02-06
Joseph Tate
No

Because of the way the blank file is created in mke2fs.c:
fopen()
fseek()
fwrite()
fclose()
e2fsimage creates a file of only 1024 k when asked to
make a file larger than 2G. This needs to be changed to:
open()
lseek()
write()
close()
or similar.

I have not yet reviewed the remainder of the code for
large file support.

Discussion

MongoDB Logo MongoDB