[Nix-dev] [PATCH] Make sure /dev/pts/ptmx is world-writable
Lluís Batlle i Rossell
viric at viric.name
Thu Apr 3 12:38:07 CEST 2014
On Thu, Apr 03, 2014 at 09:31:11AM +0200, Ludovic Courtès wrote:
> Lluís Batlle i Rossell <viric at viric.name> skribis:
>
> > Usually it's handled with the devpts special mountable device. The
> > "ptmxmode" variable handles that. Don't you want to mount that in the
> > chroot?
>
> Ah sorry, I see the ptmxmode mount option:
>
> https://www.kernel.org/doc/Documentation/filesystems/devpts.txt
>
> Well it seems both chmod and that mount option would work, but the
> ptmxmode option is marked as “new” in the doc above, so maybe it’s safer
> to use chmod?
I think that ptmxmode is there since 2.6 kernels, at least. :)
There is a reason for having the devpts fs instead of static nodes, but I don't remember it.
More information about the nix-dev
mailing list