How does ext2 implement sparse files?

2008-01-31 Thread Lars Noschinski
Hello! For an university project, we had to write a toy filesystem (ext2-like), for which I would like to implement sparse file support. For this, I digged through the ext2 source code; but I could not find the point, where ext2 detects holes. As far as I can see from fs/buffer.c, an hole is a

Re: How does ext2 implement sparse files?

2008-02-01 Thread Lars Noschinski
[Sorry for using an invalid mail address in my previous post] * Andi Kleen <[EMAIL PROTECTED]> [08-02-01 10:28]: Lars Noschinski <[EMAIL PROTECTED]> writes: For an university project, we had to write a toy filesystem (ext2-like), for which I would like to implement sparse file