On Thu, Apr 03, 2014 at 09:31:11AM +0200, Ludovic Courtès wrote: > Lluís Batlle i Rossell <vi...@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.