Scam-Lemmy.me
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
zarkanian@sh.itjust.works to Linux@lemmy.ml · 4 hours ago

An amazing directory: /proc

sh.itjust.works

message-square
30
fedilink
219

An amazing directory: /proc

sh.itjust.works

zarkanian@sh.itjust.works to Linux@lemmy.ml · 4 hours ago
message-square
30
fedilink
  • Shadow@lemmy.ca
    link
    fedilink
    arrow-up
    5
    ·
    4 hours ago

    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.

    • RustySharp@programming.dev
      link
      fedilink
      arrow-up
      3
      ·
      3 hours ago

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

      • Shadow@lemmy.ca
        link
        fedilink
        arrow-up
        6
        ·
        3 hours ago

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

        • gravitas_deficiency@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 hour ago

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

          • Shadow@lemmy.ca
            link
            fedilink
            arrow-up
            4
            ·
            1 hour ago

            /dev and /sys are the other two special ones

Linux@lemmy.ml

linux@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 666 users / day
  • 1.91K users / week
  • 4.36K users / month
  • 12.6K users / 6 months
  • 1 local subscriber
  • 67.1K subscribers
  • 6.5K Posts
  • 136K Comments
  • Modlog
  • mods:
  • nooter692@lemmy.ml
  • MarcellusDrum@lemmy.ml
  • Arthur Besse@lemmy.ml
  • Cyclohexane@lemmy.ml
  • d3Xt3r@lemmy.nz
  • BE: 0.19.9
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org