From owner-svn-src-head@freebsd.org  Thu May 23 14:40:29 2019
Return-Path: <owner-svn-src-head@freebsd.org>
Delivered-To: svn-src-head@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6545C15ACAED;
 Thu, 23 May 2019 14:40:29 +0000 (UTC)
 (envelope-from freebsd@gndrsh.dnsmgr.net)
Received: from gndrsh.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id CE1726F5B5;
 Thu, 23 May 2019 14:40:28 +0000 (UTC)
 (envelope-from freebsd@gndrsh.dnsmgr.net)
Received: from gndrsh.dnsmgr.net (localhost [127.0.0.1])
 by gndrsh.dnsmgr.net (8.13.3/8.13.3) with ESMTP id x4NEeQIW090578;
 Thu, 23 May 2019 07:40:26 -0700 (PDT)
 (envelope-from freebsd@gndrsh.dnsmgr.net)
Received: (from freebsd@localhost)
 by gndrsh.dnsmgr.net (8.13.3/8.13.3/Submit) id x4NEeQ7L090577;
 Thu, 23 May 2019 07:40:26 -0700 (PDT) (envelope-from freebsd)
From: "Rodney W. Grimes" <freebsd@gndrsh.dnsmgr.net>
Message-Id: <201905231440.x4NEeQ7L090577@gndrsh.dnsmgr.net>
Subject: Re: svn commit: r348167 - in head/usr.bin: . posixshmcontrol
In-Reply-To: <201905231433.x4NEX2QF042023@repo.freebsd.org>
To: Konstantin Belousov <kib@freebsd.org>
Date: Thu, 23 May 2019 07:40:26 -0700 (PDT)
CC: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-head@freebsd.org
Reply-To: rgrimes@freebsd.org
X-Mailer: ELM [version 2.4ME+ PL121h (25)]
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII
X-Rspamd-Queue-Id: CE1726F5B5
X-Spamd-Bar: ------
Authentication-Results: mx1.freebsd.org
X-Spamd-Result: default: False [-6.94 / 15.00];
 NEURAL_HAM_MEDIUM(-0.99)[-0.995,0];
 NEURAL_HAM_SHORT(-0.95)[-0.948,0];
 NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[]
X-BeenThere: svn-src-head@freebsd.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: SVN commit messages for the src tree for head/-current
 <svn-src-head.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/svn-src-head>,
 <mailto:svn-src-head-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-head/>
List-Post: <mailto:svn-src-head@freebsd.org>
List-Help: <mailto:svn-src-head-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/svn-src-head>,
 <mailto:svn-src-head-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 23 May 2019 14:40:29 -0000

> Author: kib
> Date: Thu May 23 14:33:01 2019
> New Revision: 348167
> URL: https://svnweb.freebsd.org/changeset/base/348167
> 
> Log:
>   Add posixshmcontrol(1), an utility to manipulate posix shared memory segments.
>   
>   See usage for the command line structure.  Man page will come shortly.
>   
>   Reviewed by:	jilles, tmunro
>   Sponsored by:	The FreeBSD Foundation
>   MFC after:	1 week
>   Differential revision:	https://reviews.freebsd.org/D20258
> 
> Added:
>   head/usr.bin/posixshmcontrol/
>   head/usr.bin/posixshmcontrol/Makefile   (contents, props changed)
>   head/usr.bin/posixshmcontrol/posixshmcontrol.c   (contents, props changed)
> Modified:
>   head/usr.bin/Makefile

Can someone extract the usage: and slap a template man page
up so that apropos can at least locate this command?

Thanks,
Rod


> +	fprintf(stderr, "Usage:\n"
> +	    "posixshmcontrol create [-m <mode>] <path> ...\n"
> +	    "posixshmcontrol rm <path> ...\n"
> +	    "posixshmcontrol ls [-h] [-n]\n"
> +	    "posixshmcontrol dump <path> ...\n"
> +	    "posixshmcontrol stat [-h] [-n] <path> ...\n"
> +	    "posixshmcontrol truncate [-s <newlen>] <path> ...\n");

-- 
Rod Grimes                                                 rgrimes@freebsd.org