svn commit: r348167 - in head/usr.bin: . posixshmcontrol

Rodney W. Grimes freebsd at gndrsh.dnsmgr.net
Thu May 23 14:40:29 UTC 2019


> 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 at freebsd.org


More information about the svn-src-head mailing list