carta
parrot_namespace(1)

parrot_namespace1

Run a command in a modified namespace.

Usage

FCparrot_cp [options] <command>FT

Overview

FCparrot_namespaceFT detects whether it is already running under Parrot and either forks a new mount namespace in the existing Parrot session or simply executes FCparrot_runFT. For applications that only need to make mount-related changes, FCparrot_namespaceFT is a drop-in replacement for FCparrot_runFT that automatically handles nested invocations.

Options

-M,--mount=</foo=/bar>

Mount (redirect) </foo> to </bar> (FCPARROT_MOUNT_STRINGFT)

-m,--ftab-file=<path>

Use <path> as a mountlist (FCPARROT_MOUNT_FILEFT)

-l,--ld-path=<path>

Path to ld.so to use.

--parrot-path

Path to FCparrot_runFT (FCPARROT_PATHFT)

-v,--version

Show version number

-h,--help

Help: Show these options

Exit status

On success, returns zero. On failure, returns non-zero.

Examples

To run Parrot under Parrot with a modified mount environment, use FCparrot_namespaceFT


    

    
        

% parrot_namespace -M /tmp=/tmp/job01 sh % parrot_mount --unmount /tmp # not allowed

Now in the same shell, we can call FCparrot_namespaceFT regardless of whether we're already running under Parrot or not.


    

    
        

% parrot_namespace -m mountfile foo

History

  • Debian 13 (Trixie): the text shown here
  • Debian 12 (Bookworm)
  • Debian 11 (Bullseye)
  • Debian 10 (Buster)

From coop-computing-tools 1:7.14.5-1+b2 in Debian 13 (Trixie). Parsed by carta from the page's man source.