16.12.2012 Views

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

|<br />

|<br />

|<br />

autoload<br />

See typeset — Assign attributes and values to variables and <strong>Command</strong> Execution<br />

for more information.<br />

Related information<br />

typeset, functions, sh<br />

automount — Configure the automount facility<br />

Format<br />

Description<br />

Options<br />

automount [–e] [–a|q] [–s] [Master filename]<br />

automount is used to configure the automount facility. This facility can<br />

automatically mount file systems at the time they are accessed, and also unmount<br />

them later. You can use a single automount policy to manage both HFS and zFS<br />

file systems. (For information on setting up the automount facility, refer to z/<strong>OS</strong><br />

<strong>UNIX</strong> <strong>System</strong> <strong>Services</strong> Planning.)<br />

The automount file system is mounted as AUTOMOVE(YES). However, if the parent<br />

file system has the automove unmount attribute, then the automount file system will<br />

have that attribute instead of AUTOMOUNT(YES).<br />

When run with no arguments, automount reads the /etc/auto.master file to<br />

determine all directories that are to be configured for automounting and the<br />

filenames that contain their configuration specifications.<br />

Guideline: zFS is the preferred file system and continued use of HFS is<br />

discouraged. New file systems should be created as zFS file systems.<br />

If you run automount with the [master filename] argument, that filename is used<br />

instead of /etc/auto.master.<br />

automount should be run from the /etc/rc script with no arguments. This processes<br />

the installation’s default automount configuration file.<br />

If the automount policy is loaded, you will get a return code of 0. A nonzero return<br />

code indicates that the policy was not loaded.<br />

automount requires superuser authority.<br />

Restriction: The automount function requires the zFS file system to be a<br />

compatibility mode file system. zFS file systems in multi-file system aggregates will<br />

not work with automount.<br />

–a Indicates that the policy being loaded is to be appended to the existing<br />

policy rather than replace the existing policy. For example:<br />

/usr/sbin/automount -a<br />

–a is mutually exclusive with –q.<br />

–e Displays recent error information from automount attempting to create a<br />

26 z/<strong>OS</strong> <strong>V1R9.0</strong> <strong>UNIX</strong> <strong>System</strong> <strong>Services</strong> <strong>Command</strong> Reference

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!