Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • 2
    en.wikipedia.org/wiki/Devpts Commented Dec 6, 2021 at 5:19
  • 2
    The filesystem (devpts) doesn't support creating any files. Even if you're root, you can't do something that's impossible. Theoretically, it would be possible to overlay-mount that directory with another dir from a fs where you can create files, but that will break /dev/ptmx and any programs which create pseudo-ttys (screen, xterm, ssh, etc) Commented Dec 6, 2021 at 6:56
  • 1
    @UncleBilly any chance you could write that as an answer? Commented Dec 6, 2021 at 7:11
  • if programmatically, there's an example in the manual gnu.org/software/libc/manual/html_node/Allocation.html Commented Jan 11, 2024 at 16:30