No.
Browse the directory and open the file will be slower (regardless of how noticeable in practice depends on the file system). The input / output in the file is exactly the same.
EDIT:
To clarify, the "file" in the directory is not really a file, but a link (a "hard link", as opposed to a symbolic link), which is just a kind of name with some metadata, but otherwise not related, d consider "file". This is also the historical reason why file deletion is done using syscall unlink , rather than through a hypothetical deletefile call. unlink removes the link, and if it was the last link (but only then!), the file.
It is natural that one file has a hundred links in different directories, and it is completely legal to open the file, and then move it to another location or even turn it off (while it remains open!). This does not affect your ability to read / write in the file descriptor, even if the file (as far as you know) does not even exist.
source share