Hi,
I've encountered unexpected behavior that I suspect is a bug with the fstat system call on Linux on NTFS filesystem.
If you create a pipe with mkfifo, open this pipe in a process, unlink its filename, and then call fstat, it fails with the error ENOENT: No such file or directory. This shouldn't be the case, as the file descriptor is still valid and you should be able to query its status. This problem doesn't occur on ext4 or ntfs regular files.
I've attached to this email a simple program that reproduces the issue. Please let me know if this is a bug or expected behavior.
Cheers,
Vladimir |