[RFC][PATCH 7/8]: Auto-create ptmx node when mounting devpts

H. Peter Anvin hpa at zytor.com
Thu Aug 21 10:40:32 PDT 2008


sukadev at us.ibm.com wrote:
> 
> I had the new ptmx node only in 'multi-mount' mode initially. But if users
> want the multi-mount semantics, /dev/ptmx must be a symlink. If its a symlink,
> we break in the single-mount case (which does not have the ptmx node and
> we don't support mknod in pts).
> 

True, but changing that is still a configuration change (adding newns to 
the fstab); it's not that much more work to change whatever else needs 
to change.

I personally don't expect a whole lot of back-and-forth; I suspect 
people will switch from the legacy model to the newns model mostly as 
part of a distro upgrade.

>>> I'm open to being convinced and the
>>> other problems with that code are more pressing.
> 
> Yes, I will look at the latest in linux-next and the ->driver_data
> approach.
> 
> But just to confirm, we do want try and keep single-mount semantics.

Certainly for several years at least.

	-hpa



More information about the Containers mailing list