The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

Интерактивная система просмотра системных руководств (man-ов)

 ТемаНаборКатегория 
 
 [Cписок руководств | Печать]

fncopy (1)
  • >> fncopy (1) ( Solaris man: Команды и прикладные программы пользовательского уровня )
  • 
    NAME
         fncopy - copy FNS contexts, possibly from one naming service
         to another naming service
    
    SYNOPSIS
         fncopy  [  -f filename  ]   [  -i old-naming-service  ]    [
         -o new-naming-service ]  old-fns-context  new-fns-context
    
    DESCRIPTION
         fncopy copies recursively the FNS context,  old-fns-context,
         and  attributes to a new FNS context, new-fns-context. If -i
         and -o options are specified with the respective naming ser-
         vice,  the  old-fns-context  with  be  resolved  using  old-
         naming-service as the underlying naming  service,  and  new-
         fns-context  will be created using new-naming-service as the
         underlying naming service. In  the  absence  of  -i  and  -o
         options,  the  default  naming  service  will  be  used (see
         fnselect(1M)).
    
         When the -f option is used, filename names a file containing
         a  list  of  contexts  in the old-fns-context that should be
         copied to the new-fns-context.
    
         If the FNS context new-fns-context  already  exists  in  the
         target naming service, new-naming-service, this command will
         copy only the contexts and bindings that do not exist in the
         target naming service. This command will not  over-write any
         of the existing FNS contexts in the target naming service.
    
         This command follows links  and  copies   FNS  contexts  and
         binding to the new-fns-context namespace.
    
    OPTIONS
         -f filename
               Specifies a file name that contains a list of FNS con-
               texts to be copied.
    
         -i old-naming-service
               Specifies the source naming  service;  currently  only
               nis is supported.
    
         -o new-naming-service
               Specifies the target naming  service;  currently  only
               nisplus is supported.
    
    OPERANDS
         The following operands are supported:
    
         old-fns-context
               The current FNS context.
    
         new-fns-context
               The new FNS context.
    
    EXAMPLES
         Example 1: Using the fncopy command
    
         For example, the command
    
         eg% fncopy .../fed-naming.eng.sun.com/service/printer \
         .../sun.com/orgunit/ssi.eng/service/printer
         will    copy    the    FNS    printer    context    .../fed-
         naming.eng.sun.com/service/printer  and  its subcontexts and
         bindings      to      the      FNS      printer      context
         .../sun.com/orgunit/ssi.eng/service/printer.
    
         In the following example,
    
         eg% fncopy -i nis -o nisplus -f /etc/ssi-users-list \
    
         thisorgunit/user org/ssi.eng/user
         will copy the NIS FNS users' contexts specified in the  file
         /etc/ssi-users-list  to  NIS+  FNS  users'  context  of  the
         orgunit ssi.eng.
    
    EXIT STATUS
         0     Operation was successful.
    
         1     Operation failed.
    
    ATTRIBUTES
         See attributes(5) for descriptions of the  following  attri-
         butes:
    
         ____________________________________________________________
        |       ATTRIBUTE TYPE        |       ATTRIBUTE VALUE       |
        |_____________________________|_____________________________|
        | Availability                | SUNWfns                     |
        |_____________________________|_____________________________|
    
    
    SEE ALSO
         fnbind(1),   fnunbind(1),   fncreate(1M),   fncreate_fs(1M),
         fncreate_printer(1M), fndestroy(1M), attributes(5), fns(5)
    
    
    
    


    Поиск по тексту MAN-ов: 




    Партнёры:
    PostgresPro
    Inferno Solutions
    Hosting by Hoster.ru
    Хостинг:

    Закладки на сайте
    Проследить за страницей
    Created 1996-2024 by Maxim Chirkov
    Добавить, Поддержать, Вебмастеру