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