NFS Services Administrator's Guide (5900-1632, August 2011)
Supported Filesystems
AutoFS enables you to mount different types of filesystems. To mount the filesystems, use the fstype
mount option, and specify the location field of the map entry. Following is a list of supported
filesystems and the appropriate map entry:
AutoFS mount-point -fstype=autofs autofs_map_name
NOTE: You can specify another AutoFS map name in the location field of the
map-entry. This would enable AutoFS to trigger other AutoFS mounts.
CacheFS mount-point -fstype=cachefs, cachedir=/cache_directory, backfstype=nfs
server:/source_directory
NOTE: You must ensure that the back-end filesystem, for example NFS, must be
made available. Also, the cache directory must have been created.
HFS mount-point -fstype=hfs :/device_path
NFS mount-point server:/source directory
NOTE: You must ensure that the source directory has been created and exported
on the server.
VxFS mount-point /source_directory
NOTE: You must ensure that the source directory has been created.
NOTE: The examples specified are for AutoFS maps stored in plain files. You can use specific
tools to convert the maps to other supported backends, such as NIS or LDAP.
To mount a CD-ROM device, follow these steps:
1. Log in as superuser.
2. Update the appropriate AutoFS map, as follows:
cdrom -fstype=hfs, ro :/dev/sr0
For mount devices, If the mount resource begins with a “ / ” , it must be preceded by a colon.
For instance in the above section, the CD-ROM device, /dev/sr0, is preceded by the colon.
Supported Backends (Map Locations)
AutoFS maps can be located in the following:
• Files: Local files that store the AutoFS map information for that individual system. An example
of a map that can be kept on the local system is the master map. The AUTO_MASTER variable
in /etc/rc.config.d/nfsconf is set to the name of the master map. The default master
map name is /etc/auto_master.
NOTE: To modify the master map name, use the -f option of the automount command
and specify the filename. The automount command uses the specified file as the master
map.
• Network Information Service (NIS): A service that enables you to administer the configuration
of many hosts from a central location. Common configuration information, which otherwise
has to be maintained separately on each host in a network without NIS, can now be stored
and maintained in a central location and propagated to all the nodes in the network. For
more information on NIS, see NIS Administrator's Guide (5991–2187). To locate this
Supported Filesystems 53