boem@lemmy.world to Technology@lemmy.worldEnglish · 9 months ago20 years of Gmailwww.theverge.comexternal-linkmessage-square89fedilinkarrow-up1187arrow-down19
arrow-up1178arrow-down1external-link20 years of Gmailwww.theverge.comboem@lemmy.world to Technology@lemmy.worldEnglish · 9 months agomessage-square89fedilink
minus-squarehperrin@lemmy.worldlinkfedilinkEnglisharrow-up5·9 months agoOn 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.
minus-squarebamboo@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up2·9 months agoStill 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.
minus-squarehperrin@lemmy.worldlinkfedilinkEnglisharrow-up1·9 months agofind has a way to search by inode.
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.
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.
find
has a way to search by inode.