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 support. For

Re: How does ext2 implement sparse files?

2008-02-01 Thread Eric Dumazet
Shuduo Sang a écrit : On Feb 1, 2008 2:14 AM, Andi Kleen <[EMAIL PROTECTED]> wrote: 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 support. For this, I digged through

Re: How does ext2 implement sparse files?

2008-02-01 Thread Shuduo Sang
On Feb 1, 2008 2:14 AM, Andi Kleen <[EMAIL PROTECTED]> wrote: > 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 support. For this, I > > digged through the ext2 source

Re: How does ext2 implement sparse files?

2008-02-01 Thread Shuduo Sang
On Feb 1, 2008 2:14 AM, Andi Kleen [EMAIL PROTECTED] wrote: 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 support. For this, I digged through the ext2 source code; but I

Re: How does ext2 implement sparse files?

2008-02-01 Thread Eric Dumazet
Shuduo Sang a écrit : On Feb 1, 2008 2:14 AM, Andi Kleen [EMAIL PROTECTED] wrote: 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 support. For this, I digged through the

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 support. For this,

Re: How does ext2 implement sparse files?

2008-01-31 Thread Andi Kleen
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 support. For this, I > digged through the ext2 source code; but I could not find the point, > where ext2 detects holes. > > As

Re: How does ext2 implement sparse files?

2008-01-31 Thread Chris Snook
Lars Noschinski wrote: 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

Re: How does ext2 implement sparse files?

2008-01-31 Thread Lennart Sorensen
On Thu, Jan 31, 2008 at 04:28:23PM +0100, Lars Noschinski wrote: > 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

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

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-01-31 Thread Lennart Sorensen
On Thu, Jan 31, 2008 at 04:28:23PM +0100, Lars Noschinski wrote: 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

Re: How does ext2 implement sparse files?

2008-01-31 Thread Chris Snook
Lars Noschinski wrote: 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

Re: How does ext2 implement sparse files?

2008-01-31 Thread Andi Kleen
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 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