• hperrinEnglish
    arrow-up
    5
    arrow-down
    0
    ·
    7 months ago
    link
    fedilink

    On Linux file systems it basically is. A file name is just a label for an inode, and the same inode can have as many file names as you want.

    • bambooEnglish
      arrow-up
      2
      arrow-down
      0
      ·
      7 months ago
      link
      fedilink

      Still this requires different directories for the hardlinks to be in the filesystem, and there’s not an easy way given a file to list all “labels” that file has, without checking other directories for files with the same inode.

      • hperrinEnglish
        arrow-up
        1
        arrow-down
        0
        ·
        7 months ago
        link
        fedilink

        find has a way to search by inode.