boem@lemmy.world to Technology@lemmy.worldEnglish · 7 个月前20 years of Gmailwww.theverge.comexternal-linkmessage-square89fedilinkarrow-up1187arrow-down19
arrow-up1178arrow-down1external-link20 years of Gmailwww.theverge.comboem@lemmy.world to Technology@lemmy.worldEnglish · 7 个月前message-square89fedilink
minus-squareKnock_Knock_Lemmy_In@lemmy.worldlinkfedilinkEnglisharrow-up6·7 个月前What if a message covers 2 different topics? IMHO the entire OS should be based around files and labels, not files and folders.
minus-squarehperrin@lemmy.worldlinkfedilinkEnglisharrow-up5·7 个月前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.
minus-squarebamboo@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up2·7 个月前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.
What if a message covers 2 different topics?
IMHO the entire OS should be based around files and labels, not files and folders.
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.