boem@lemmy.world to Technology@lemmy.worldEnglish · 8 months ago20 years of Gmailwww.theverge.comexternal-linkmessage-square88fedilinkarrow-up1187arrow-down19
arrow-up1178arrow-down1external-link20 years of Gmailwww.theverge.comboem@lemmy.world to Technology@lemmy.worldEnglish · 8 months agomessage-square88fedilink
minus-squarehperrin@lemmy.worldlinkfedilinkEnglisharrow-up5·8 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·8 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·8 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.