Enhanced AutoFS Administrator's Guide

Configuring and Administering AutoFS
Support for HP CIFS Client
Chapter 3 57
Example File Entries for CIFS Direct Map
Automounts
The following example includes sample lines from an AutoFS direct map
on the CIFS client, mammoth. The sharp sign (#) indicates a comment
line.
# /etc/auto_direct_cifs file
# local mount point mount options remote server:directory
/cifs/mnt1 -fstype=cifs,username=user,password=cifs \ WinSrv1:
/cifs-share1
The following example includes sample lines from the AutoFS master
map on the CIFS client, mammoth:
# /etc/auto_master file
# local mount point map name mount options
/- /etc/auto_direct_cifs
Figure 3-8 illustrates how AutoFS sets up the direct mounts for this
configuration.
Figure 3-8 Example of CIFS Direct Mounts
/
/cifs
/mnt1
/design
/
/cifs-share1
CIFS Server "WinSrv1”
CIFS Client "mammoth"
CIFS Mounts
/tools
/tools
/design