Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   auto.master    ( 5 )

мастер карта для автомонтирования, консультируемая autofs (Master Map for automounter consulted by autofs)

Примеры (Examples)

/-        auto.data
         /home     /etc/auto.home
         /mnt      yp:mnt.map

This will generate two mountpoints for /home and /mnt and install direct mount triggers for each entry in the direct mount map auto.data. All accesses to /home will lead to the consultation of the map in /etc/auto.home and all accesses to /mnt will consult the NIS map mnt.map. All accesses to paths in the map auto.data will trigger mounts when they are accessed and the Name Service Switch configuration will be used to locate the source of the map auto.data.

To avoid making edits to @mapdir@/auto.master, @mapdir@/auto.master.d may be used. Files in that directory must have a ".autofs" suffix, e.g. @mapdir@/auto.master.d/extra.autofs. Such files contain lines of the same format as the auto.master file, e.g.

/foo /etc/auto.foo /baz yp:baz.map