Chapter 13, Configuring the NFS automounter
Ampersand (&)Suppose you have an indirect map with a lot of subdirectories specified, for example: john moscow:/home/moscow:john mary moscow:/home/moscow:mary joe moscow:/home/moscow:joe able prague:/export/home:able baker sydney:/export/home:baker [. . .]Consider using string substitutions. If the string in the ``key'' field is repeated in the ``location'' field, you can use the ampersand character (&) in place of the key value string wherever it appears in the ``location'' field. Using the ampersand, the above map now looks like: john moscow:/home/moscow:& mary moscow:/home/moscow:& joe moscow:/home/moscow:& able prague:/export/home:& baker sydney:/export/home:& [. . .]Suppose the name of the server is the same as the key itself, for instance: moscow moscow:/home/moscow sydney sydney:/home/sydney prague prague:/home/prague milan milan:/home/milan zurich zurich:/home/zurich [. . .]The use of the ampersand results in: moscow &:/home/& sydney &:/home/& prague &:/home/& milan &:/home/& zurich &:/home/& [. . .] You can also use key substitutions in a direct map: /usr/man moscow,seattle,zurich:/usr/manThis could be written as: /usr/man moscow,seattle,zurich:&Notice that the ampersand substitution uses the whole key string, so if the key in a direct map starts with a ``/'' (as it should), that slash is carried over, and you could not do something like this: /progs &1,&2,&3:/export/src/progsThis is because automount interprets it as: /progs /progs1,/progs2,/progs3:/export/src/progs Asterisk ( |
Networking
guide Call : 800-519- 2267
Vibrant boot camp offers MCSE MCITP, CCNA, CCNP Certification back to back Vibrant offers MCSE MCITP certification training boot camp for $5400 all inclusive, instructor led at California and Baltimore. |
reason_to_join_vibrant_boot_camp.php
mta-it-infrastructure-windows-server-training-certification.php
msce-windows-2008-to-2016-upgrade.php
microsoft-mcse-messaging-certification-training-course.php
microsoft-certification-courses.php
mcse-productivity-exchange-server-2016.php
mcse-cloud-platform-infrastructure-azure-track.php
mcsa-windows-server-2016-training-certification-boot-camp.php
mcsa_server_2012_r2_boot_camp.php
comptia-certification-courses.php
comptia_a+_network+_boot_camp.php
comptia_a+_bootcamp_course.php
cisco-certification-courses.php
certified-ethical-hacker-ceh-certified-EC-council.php