Yes, that's definitely a part of the specification of mmap,
even if it's not mentioned on the man page.
Note that the file on disk is likely not to be updated until
some time after you unmap it, unless you use msync to force it.
Hugh
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/