fatal error: failed to mmap new message file

Andreas Piesk a.piesk at gmx.net
Sun Nov 27 14:46:12 EST 2011


On 27.11.2011 19:59, Dave McMurtrie wrote:
> 
> Indeed, and I can see that an earlier mmap for a file in the same
> directory succeeded.  I'm sorry, but I have no idea why mmap is failing in
> this manner.
> 
open("/var/spool/imap/b/user/barnosky", O_RDONLY) = 12
fstat64(12, {st_mode=S_IFDIR|0700, st_size=282624, ...}) = 0
mmap2(NULL, 282624, PROT_READ, MAP_SHARED, 12, 0) = -1 ENODEV (No such
device)

but if i'm reading the strace correct, mmap() maps the directory /var/spool/imap/b/user/barnosky,
not a file, right? i didn't even know that mmap() can do that or how that works.

regards,
-ap


More information about the Info-cyrus mailing list