Re: fatal error: failed to mmap new message file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/


[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux