automount

Bareos

Automount after label.

Synopsis

automount [on | off]

Words without brackets are required, [ ] marks optional parts, a | b alternatives, ... a repeatable argument and [,...] a comma separated list.

Description

Decides for the current console session whether a volume is mounted automatically after label. The setting starts switched on, applies only to this session and changes neither catalog, configuration nor daemons. There is no confirmation.

Only off (in any case) switches it off; every other word switches it on without an error. If not exactly one word follows, the Director asks “Turn on or off?” and evaluates the answer the same way.

Arguments

ArgumentTypeValues / sourceDefaultFlagsDescription
<on|off>enumon, offpositionalSwitch on or off.

Examples

Label volumes without mounting them:

automount off

Mount every newly labelled volume:

automount on

See also

Command reference