Results 1 to 3 of 3
Pretty much just a conceptual question here. I understand that the directory file links the name of the file to an inode, but that seems a little backwards logicly to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 04-11-2009 #1Just Joined!
- Join Date
- Dec 2007
- Posts
- 11
inodes directories and mount points, points of confusion
Pretty much just a conceptual question here. I understand that the directory file links the name of the file to an inode, but that seems a little backwards logicly to me.
What I mean is, if the system gets the location of the inode of a file from another file (directory file), how does it find the very first directory by name? Does the system just assume / will be linked to a certain inode?
And involving mount points. When you mount sd1 to.../mnt/otherpartition.... Does it simply rewrite the /mnt/otherpartition directory file to point to an inode on sd1? And if it does, why does the system have to remount it every time at startup?
I hope I expressed my questions clearly. Thanks for your time.
- 04-15-2009 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 10,148
Those are excellent questions! Here are a couple of links that will answer these questions for you much better than I can.
About inodes: Understanding UNIX / Linux filesystem Inodes
File system details: About files and the file systemSometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 04-15-2009 #3Just Joined!
- Join Date
- Dec 2007
- Posts
- 11
Thank you very much. ^.^


Reply With Quote
