NSHOLD(1)

NAME
cgroupnshold ipcnshold mntnshold netnshold pidnshold usernshold utsnshold - Set a placeholder for a namespace

SYNOPSIS
cgroupnshold [ tag ] ipcnshold [ tag ] mntnshold [ tag ] netnshold [ tag ] pidnshold [ tag ] usernshold [ tag ] utsnshold [ tag ]

DESCRIPTION
nshold commands define placeholders for namespaces. A placeholder is a small idle process whose goal is to keep the namespace alive. Each nshold command has a prefix to specify the type of namespace and creates a placeholder for the current namespace of that type. It is possible to assign a tag to a placeholder to later identify that namespace. tag is a single argument. nshold implements a shortcut to define a tag consisting of several keywords: two dashes -- followed by all the keywords. A namespace placeholder is a process and can be terminated using kill(1) or kill(2). For example a placeholder for the net namespace of the current process can be defined by:
  netnshold privatenet
A user can later run a shell in that namespace typing:
  netnsjoin privatenet bash
Similar commands using the -- shortrcdut are:
  netnshold -- house automation
  netnsjoin house automation -- bash

SEE ALSO
nslist(1) nsrelease(1) netnsjoin(1) cado(1)