Hi Al, everyone, I've come across the following odd behaviour of open() on tmpfs. When a file is opened open("/dev/shm/foo", O_RDWR | O_CREAT | O_EXCL | O_DIRECT), open() fails with EINVAL. This failure is expected, as tmpfs doesn't support O_DIRECT. What is unexpected is that the file is created and a subsequent attempt to create the file by doing an open("/dev/shm/foo", O_RDWR | O_CREAT | O_EXCL). I consider this to be a bug. Al, any thoughts? -ben -- "Thought is the essence of where you are now." -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html