Re: mmap bug?

From: Giorgos Keramidas <keramida_at_ceid.upatras.gr>
Date: Sun, 31 Jul 2005 19:08:53 +0300
On 2005-07-31 21:26, Joseph Koshy <joseph.koshy_at_gmail.com> wrote:
> > The following program can be used to mmap() a region
>
> Do you still see the 'extra' data if you unmount and remount
> the filesystem with the test file?

That's something I didn't test.  No, the 'extra' data disappears.

I tried this by creating a new md-based filesystem.  After the file
system is unmounted, mounted again and the test program run to write
through mmap() past the end of the file, there are zeroes in that area
(before I write my own data, that is).

The size of the file remains the same between mount/unmount requests.
Received on Sun Jul 31 2005 - 14:08:59 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:40 UTC