Autofs

From OLPC
Revision as of 23:18, 14 February 2008 by Kove (talk | contribs) (New page: ** autofs will allow you to easily mount nfs/smb shares ** Suppose you have a server on your network that has content you would like to access from your xo. You can setup your xo to mou...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
    • autofs will allow you to easily mount nfs/smb shares **

Suppose you have a server on your network that has content you would like to access from your xo. You can setup your xo to mount that share as if it were local to your xo.

First become root user: {{{ su -l }}}

Next install nfs-utils: {{{ yum install nfs-utils }}}

Now install autofs: {{{ yum install autofs }}}

Configure autofs by editimg /etc/auto.master: {{{

  1. $Id: auto.master,v 1.4 2005/01/04 14:36:54 raven Exp $
  2. Sample auto.master file
  3. This is an automounter map and it has the following forma

t

  1. key [ -mount-options-separated-by-comma ] location
  2. For details of the format look at autofs(5).
  3. /misc /etc/auto.misc
  4. /net -hosts

/media /etc/auto.media --timeout=60

  1. Include central master map if it can be found using
  2. nsswitch sources.
  3. Note that if there are entries for /net or /misc (as
  4. above) in the included master map any keys that are the
  5. same will not be seen as the first read key seen takes
  6. precedence.
  7. +auto.master

}}}