NAME

Unix::Sysadmin::Automount - Automount entry class


SYNOPSIS

 use Unix::Sysadmin::Automount;
 $automount = Unix::Sysadmin::Automount->new();
 returns an empty Automount object


DESCRIPTION

This class describes automount map entries. The class is designed so that map files for bothe amd and autofs may be generated from lists of these objects


PROPERTIES AND METHODS

Constructors

 new()
      Returns an empty Automount object
 load(FILEHANDLE)
    creates a new object and loads its data from the open file
    handle FILEHANDLE. Reads data until a line containing 'AUTOMOUNT'
    by itself is encountered

Properties

  key()
      (Read only) 
      Concatination of mapname(), "/", subkey()
  mapname()
      The object's base mapname e.g. 'home'
  subkey()
      The object's subkey name. e.g. 'elmer' Not all objects will
      have a subkey. Base map entries will not.
  comments()
      Comments that will appear BEFORE this key in generated map files.
  opts()
      The object's options.
  type()
      The object's mount type. e.g. 'nfs', 'link' or 'auto'.
  scope()
    Hosts this entry is allowed on. 'ALL','NONE' or a colon
    separated list of hosts and/or netgroups. Netgroups
    are specified by a prefix of '+'. Defaults to 'ALL' if not
    otherwise specified.
  exp_allow()
    colon separated list of host names and/or netgroups
    if scope is 'NONE', or the host does not appear, allow these anyway
    ignored if scope is 'ALL'
  exp_deny()
    colon separated list of host names and/or netgroups
    if scope is 'ALL', or the host appears in the scope, deny these anyway
    ignored if scope is 'NONE'
  validsortorders()
    get the fields that User records may be sorted by.
    These are:
        byKey (concatination of Mapname, "/" Subkey)
        byMapname
        bySubkey
  defaultsortorder()
    This returns 'byKey'

Methods

 dump()
    Print the object to stdout.


SEE ALSO

Man(3) pages (programmer's docs):

the Unix::Sysadmin::Host manpage, the Unix::Sysadmin::User manpage, the Unix::Sysadmin::Automount manpage, the Unix::Sysadmin::Group manpage, the Unix::Sysadmin::Netgroup manpage, the Unix::Sysadmin::List manpage, the Unix::Sysadmin::Cmds manpage, the Unix::Sysadmin::Files manpage the Unix::Sysadmin::Utility manpage the Unix::Sysadmin::Config manpage, the Unix::Sysadmin::Scoped manpage

Man(4) pages (file formats):

the Unix::Sysadmin::Host.list manpage, the Unix::Sysadmin::User.list manpage, the Unix::Sysadmin::Automount.list manpage, the Unix::Sysadmin::Group.list manpage, the Unix::Sysadmin::Netgroup.list manpage

Man(1m) pages (manager's docs):

the Unix::Sysadmin manpage, the Unix::Sysadmin::Setup manpage the usasetup manpage

the usatest manpage

the usabackup manpage

the usaupdate manpage

the usapush manpage


AUTHOR

Howard Owen <hbo@egbok.com>