you are viewing a single comment's thread
view the rest of the comments
[–] 24 points 2 months ago (7 children)

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.

  • source
  • parent
  • hideshow 7 child comments
  • [–] 8 points 2 months ago (6 children)

    Does that not make them a hard link (pointing to a filesystem node) instead of a symlink (pointing to another filename)?

  • source
  • parent
  • hideshow 6 child comments
  • [–] 23 points 2 months ago (5 children)

    No, you can't have a hard link cross filesystems and proc is its own fs type.

  • source
  • parent
  • hideshow 5 child comments
  • [–] 13 points 2 months ago (4 children)

    Ah - it has its own special magical file system type, that’s the secret sauce. Neat!

  • source
  • parent
  • hideshow 4 child comments
  • [–] 12 points 2 months ago (3 children)

    /dev and /sys are the other two special ones

  • source
  • parent
  • hideshow 3 child comments
  • [–] 2 points 2 months ago (1 child)

    Remember the old days before /dev was its own virtual filesystem?

  • source
  • parent
  • hideshow 1 child comment
  • [–] 5 points 2 months ago

    It still is! If you try and boot a kernel with nothing in /dev, you won't get most of the kernel boot messages since /dev/console doesn't exist. You need a basic set of device nodes in /dev before udev is started.

    If you're going to rsync a system to new hardware and exclude /dev /proc /sys, it's better to setup a new mount of your / to a different directory and sync off that, so you get the underlying stuff without the cruft.

  • source
  • parent