• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

niload

niload

niload [-v] [-d | m] [-p] [-t] {-r <directory> | <format>}<domain>
niload loads information from standard output into the specified NetInfo <domain>. If <format> is specified, the input is interpreted according to the flat-file format <format>. Acceptable values for <format> are aliases, bootparams, bootptab, fstab, group, hosts, networks, passwd, printcap, protocols, rpc, and services.
If -r <directory> is specified instead of <format>, the input is interpreted as raw NetInfo data, as generated by nidump -r, and is loaded into <directory>.
niload overwrites entries in the existing directory with those contained in the input. Entries that are in the directory, but not in the input, are not deleted unless -d is specified. niload must be run as the super user on the master NetInfo server for <domain>, unless -p is specified.
-v Verbose mode. Prints + for each entry loaded, and - for each entry deleted (flat-file-formats only).
-d Deletes entries that are in the directory, but not in the input.
-m Merges new values into the directory when the input contains a duplicate name.
Note: Only one of -d or -m may be specified. If neither option is specified, existing entries in the NetInfo database will remain unchanged when the input contains a duplicate name.
-p Prompts for the root password of the given domain so that the command may be run from locations other than the master.
-u <user> Authenticates as <user>. Implies -p.
-P <password> Provides <password> on the command line. Overrides -p.
-t <host>/<tag> Interprets the domain as a tagged domain. For example, trotter/network refers to the domain network on the machine trotter. The machine name can be specified as an actual name or an IP address.
-T <seconds> Sets the read and write timeout to <seconds>. Default is30 seconds.
-r <directory> Loads entries in raw format, as generated by nidump -r. The first argument should be the path of a NetInfo directory into which the information is loaded. The specified directory might be renamed as a result of contents of the input, particularly if the input includes a top-level name property. If the specified directory does not exist, it is created.
<domain> NetInfo <domain> that is receiving input. If the value is .for <domain>, it refers to the local NetInfo database.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint