Name

set-mount-object — set the state of a mount object

Synopsis

set-mount-object [--recursive] {state} {directory} {next-prog}

BSD Note

This command currently has no effect on BSD. Be careful, therefore, of the effect that this will have on make-private-fs(1).

Description

set-mount-object is a chain-loading utility that changes the state of the mount object at directory to state and then chain loads to next-prog with the execvp(3) function.

next-prog may contain its own command line options, which set-mount-object will ignore.

The states are

[shared]

All mount operations made at or below this mount point are shared with other copies of this mount point.

[slave]

This mount point reflects all mount operations made at or below a(nother) master copy.

[private]

No mount operations made at or below this mount point are reflected either to or from another copy.

Author

Jonathan de Boyne Pollard