[Devel] Re: [RFC][PATCH 0/6] Enable multiple mounts of devpts

H. Peter Anvin hpa at zytor.com
Mon Aug 4 18:37:18 PDT 2008


sukadev at us.ibm.com wrote:
> 
> If devpts is mounted more than once, then '/dev/ptmx' must be a symlink
> to '/dev/pts/ptmx' and in each new devpts mount we must create the
> device node '/dev/pts/ptmx' [c, 5;2] by hand.
> 

This should be auto-created.  That also eliminates any need to support 
the mknod system call.

> Appreciate comments on overall approach of my mapping from the inode
> to sb->s_fs_info to allocated_ptys and the hacky use of get_sb_nodev(),
> and also on the tweak to init_dev() (patch 6).
> 
> Todo:
> 	User-space impact of /dev/ptmx symlink - Options are being
> 	discussed on mailing list (new mount option and config token,
> 	new fs name, etc)
> 
> 	Remove even initial kernel mount of devpts ?

The initial kernel mount of devpts should be removed, since that 
instance will never be accessible.

	-hpa
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list