zarkanian@sh.itjust.works to Linux@lemmy.ml · 4 hours agoAn amazing directory: /procsh.itjust.worksimagemessage-square30fedilinkarrow-up1220arrow-down11
arrow-up1219arrow-down1imageAn amazing directory: /procsh.itjust.workszarkanian@sh.itjust.works to Linux@lemmy.ml · 4 hours agomessage-square30fedilink
minus-squareShadow@lemmy.calinkfedilinkarrow-up5·4 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-up3·3 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-up6·3 hours agoNo, you can’t have a hard link cross filesystems and proc is its own fs type.
minus-squaregravitas_deficiency@sh.itjust.workslinkfedilinkEnglisharrow-up2·1 hour agoAh - it has its own special magical file system type, that’s the secret sauce. Neat!
minus-squareShadow@lemmy.calinkfedilinkarrow-up4·1 hour ago/dev and /sys are the other two special ones
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!
/dev and /sys are the other two special ones