Translated message

A translation of this page exists in English.

Warning message

This translation is outdated. For the most up-to-date information, please refer to the English version.

複数のファイルシステムを autofs でネストする

Solution Unverified - Updated -

Environment

  • Red Hat Enterprise Linux 6

Issue

  • 複数のファイルシステムを autofs でネストする方法は?

Resolution

multi-mount マップを使用します。

key [-options] [mount-point [-options] location...]...

たとえば、以下のようになります。

server    -rw,hard,intr       / -ro myserver.me.org:/\
                              /usr myserver.me.org:/usr \
                              /home myserver.me.org:/home

Root Cause

詳細については、AUTOFS(5) を参照してください。

   Multiple Mounts
       A multi-mount map can be used to name multiple  filesystems  to  mount.
       It takes the form:

         key [-options] [mount-point [-options] location...]...

       This  may extend over multiple lines, quoting the line-breaks with `\?.
       If present,  the  per-mountpoint  mount-options  are  appended  to  the
       default mount-options.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments