On Fri, Jan 16, 2009 at 06:25:44PM -0800, Sukadev Bhattiprolu wrote: > >From: Sukadev Bhattiprolu <sukadev@xxxxxxxxxxxxxxxxxx> >Date: Thu, 15 Jan 2009 22:41:42 -0800 >Subject: [PATCH] Document newinstance and ptmxmode options to devpts > >Support for multiple instances of devpts were included in 2.6.29-rc1. >Update man pages to document the new options. Additional details about >the new options are described in 'Documentation/filesystems/devpts.txt' >of kernel source tree. > >TODO: > - If devpts(4) options are described in a separate man page, base > this patch on that source. Until then leave this text in mount(8) ? > >Changelog[v2]: > - Fix a typo (Americo Wang) > - Remove some duplication (Serge Hallyn) > >Signed-off-by: Sukadev Bhattiprolu <sukadev@xxxxxxxxxxxxxxxxxx> >--- > mount/mount.8 | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ > 1 files changed, 55 insertions(+), 0 deletions(-) > >diff --git a/mount/mount.8 b/mount/mount.8 >index 956e10f..53d9fe9 100644 >--- a/mount/mount.8 >+++ b/mount/mount.8 >@@ -991,6 +991,61 @@ A value of > and > .B gid=5 > makes "mesg y" the default on newly created PTYs. >+.TP >+\fBnewinstance >+Create a private instance of devpts filesystem, such that >+indices of ptys allocated in this new instance are >+independent of indices created in other instances of devpts. >+ >+All mounts of devpts without this >+.B newinstance >+option share the same set of pty indices (i.e legacy mode). >+Each mount of devpts with ... with _the_ ... ? >+.B newinstance >+option has a private set of pty indices. >+ <snip> >+ >+Set the mode for the new >+.IR ptmx >+device node in the devpts filesystem. >+ >+With support for multiple instances of devpts (see With _the_ support? :) Otherwise, looks good. Reviewed-by: WANG Cong <wangcong@xxxxxxxxx> Thanks. -- "Against stupidity, the gods themselves, contend in vain." -- To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html