Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ share_nfs(1a) — NEWS-os 5.0.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

unshare(1M)



share(1M)        SYSTEM ADMINISTRATION COMMANDS         share(1M)



NAME
     share (NFS) - make local NFS resources available

SYNOPSIS
     share [ -F nfs ] [ -o specific_options ] [ -d description  ]
     pathname

DESCRIPTION
     The share command makes local resources available for mount-
     ing by remote systems.

     If  no  argument  is  specified,  then  share  displays  all
     resources  currently  shared,  including  NFS  resources and
     resources shared through other distributed file system pack-
     ages.

     The following options are recognized:

     -o specific_options
                 Specify options in  a  comma-separated  list  of
                 keywords   and   attribute-value-assertions  for
                 interpretation by the  file-system-type-specific
                 command.

                 specific_options can be any combination  of  the
                 following:

                 rw   Sharing will be read-write to all clients.

                 rw=client[:client]...
                      Sharing will be read-write  to  the  listed
                      clients; overrides the ro suboption for the
                      clients specified.

                 ro   Sharing will be read-only to all clients.

                 ro=client[:client]...
                      Sharing will be  read-only  to  the  listed
                      clients; overrides the rw suboption for the
                      clients specified.

                 anon=uid
                      Set uid to be  the  effective  user  ID  of
                      unathenticated  users if AUTH_DES authenti-
                      cation is used, or to be root if  AUTH_UNIX
                      authentication   is   used.    By  default,
                      unknown users are given the effective  user
                      ID UIDNOBODY.  If uid is set to -1, access
                      is denied.

                 root=host[:host]...
                      Only root users from  the  specified  hosts



                                                                1





share(1M)        SYSTEM ADMINISTRATION COMMANDS         share(1M)



                      will have root access.  By default, no host
                      has root access.

                 secure
                      Clients must use the  AUTH_DES  authentica-
                      tion  of  RPC.  AUTH_UNIX authentication is
                      the default.

                 If specific_options is not  specified,  then  by
                 default   sharing  will  be  read-write  to  all
                 clients.

     -d description
                 Provide a comment that describes the resource to
                 be shared.

     pathname    Specify the  pathname  of  the  resource  to  be
                 shared.

FILES
     /etc/dfs/fstypes
     /etc/dfs/sharetab
SEE ALSO
     unshare(1M)
NOTES
     The command will fail if both ro and rw are  specified.   If
     the  same  client name exists in both the ro= and rw= lists,
     the rw will override the ro, giving read/write access to the
     client specified.
     ro=, rw=, and root= are guaranteed to work over UDP but  may
     not work over other transport providers.
























                                                                2



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026