Find the answer to your Linux question:
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.
  1. #1
    Just 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.

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,748
    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 system
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Just Joined!
    Join Date
    Dec 2007
    Posts
    11
    Thank you very much. ^.^

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •