where does file system keeps file name in the file system data structure
I want to know where does the file system keeps information of all files present in the file system. inode only keeps the information of size,attribs, other than the name of the file.
Ex :If i want to access a file a.txt in the file system , how does the read operation takes place , and if i want to write the same a.txt file under same partition or directory how does file system finds the duplicate file ,
Here my ultimate doubt is if a write operation has to take place ,a read operation must take place to get the file name if it is already present or not in the filesystem (directory).
If i am not clear please let me know where i am not clear.