Ocenite etot tekst:


Avto-montirovshchik  -   demon,  zapushchennyj  na  NFS-kliente. |tot
demon montiruet  udalennye  katalogi "PO  TREBOVANIYU"  -  t.e.,
kogda    k  nim  proishodit  obrashchenie.  Esli  k  avtomaticheski
smontirovannomu   katalogu    dolgo    ne    bylo    obrashchenij,
avtomontirovshchik  ego avtomaticheski otmontiruet.

Avto-montirovanie podderzhivaetsya demonom automountd. |tot demon
zapuskaetsya   pri  nachal'noj  zagruzke   operacionnoj  sistemy.
Zapuskaetsya on v komandnom fajle

    /etc/rc2.d/S20nfs.client

     automountd          #  esli vse karty budut brat'sya iz NIS
       ili
     automountd -m -f /etc/auto.master   # brat' tol'ko lokal'nye
                                         # karty

Upravlyaetsya automountd neskol'kimi "kartami" - fajlami s opisa-
niem kogo i kuda nado  montirovat'.  V  prostejshem sluchae nuzhno
imet' tri fajla:

/etc/auto_master     - golovnoj konfiguracionnyj fajl

               Ssylaetsya na:
/etc/auto_direct     - ukazyvaet, kakie katalogi kuda montirovat'

/etc/auto_home       - zadaet pravila montirovaniya domashnih
                       katalogov pol'zovatelej, raspolozhennyh na
                       udalennyh mashinah.

/etc/auto_master :---------------------------------------------
#
# Master map for automounter
#
/net        -hosts
# zadaet: kornevoj katalog komp'yutera po imeni imyarek montiro-
# vat' na katalog       /net/imyarek
#
/-          /etc/auto_direct
/home       /etc/auto_home


/etc/auto_direct :---------------------------------------------
#
#
/usr/informix    -ro,soft    classic00:/usr/informix
/usr/local       -rw,soft    classic00:/usr/local
#
#      Smontirovat' s pervogo otkliknuvshegosya servera.
#
/usr/share/man   -ro,soft    classic00:/usr/share/man \
                 -ro,soft    sun21:/usr/share/man \
                 -ro,soft    sun22:/usr/share/man


/etc/auto_home :---------------------------------------------
moshkow           s08:/udd/moshkow
leo               classic00:/export/home/leo
# a luchshe napisat' tak:
*                 classic00:/export/home/&
*                 sun21:/export/home/&

Kazhdyj pol'zovatel' polxzowatelx na etoj mashine dolzhen byt' za-
registrirovan s domashnim katalogom /home/polxzowatelx

Last-modified: Tue, 26 Aug 2003 12:26:24 GMT
Ocenite etot tekst: