zarkanian@sh.itjust.works to Linux@lemmy.ml · 3 hours agoAn amazing directory: /procsh.itjust.worksimagemessage-square28linkfedilinkarrow-up1259arrow-down11
arrow-up1258arrow-down1imageAn amazing directory: /procsh.itjust.workszarkanian@sh.itjust.works to Linux@lemmy.ml · 3 hours agomessage-square28linkfedilink
minus-squarerockSlayer@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up14·3 hours agoI know what a symlink is, but what is a magic symlink?
minus-squarezarkanian@sh.itjust.worksOPlinkfedilinkarrow-up21·2 hours agoA symlink that has been blessed by Richard Stallman.
minus-squareShadow@lemmy.calinkfedilinkarrow-up12·3 hours agoIf you delete a file that’s still open by the app, the link in proc will still exist and you can copy the file back out of proc.
minus-squareRustySharp@programming.devlinkfedilinkarrow-up5·2 hours agoDoes that not make them a hard link (pointing to a filesystem node) instead of a symlink (pointing to another filename)?
minus-squareShadow@lemmy.calinkfedilinkarrow-up8·2 hours agoNo, you can’t have a hard link cross filesystems and proc is its own fs type.
minus-squaregravitas_deficiency@sh.itjust.workslinkfedilinkEnglisharrow-up1·14 minutes agoAh - it has its own special magical file system type, that’s the secret sauce. Neat!
I know what a symlink is, but what is a magic symlink?
A symlink that has been blessed by Richard Stallman.
If you delete a file that’s still open by the app, the link in proc will still exist and you can copy the file back out of proc.
Does that not make them a hard link (pointing to a filesystem node) instead of a symlink (pointing to another filename)?
No, you can’t have a hard link cross filesystems and proc is its own fs type.
Ah - it has its own special magical file system type, that’s the secret sauce. Neat!