Name
nidump
Syntax
nidump [-Ttimeout
] (-rdirectory
|format
) [-t]domain
Description
You can dump NetInfo information in a flat file format (such as the /etc/hosts format) or in a raw format that uses a C-like syntax:
{ "name" = ( "localhost" ); "ip_address" = ( "127.0.0.1" ); "serves" = ( "./local" ); }
Options
-
-T
timeout
Specifies a timeout in seconds.
- -t
Treats the domain as a tagged domain, which includes a machine name and a tagged NetInfo database. For example, abbot/local refers to the local NetInfo domain of the machine named abbot.
-
-r
directory
Dumps the directory in raw format. Directory should be a path to a NetInfo directory, such as /users/root or /machines.
-
format
Specifies a format corresponding to a Unix flat file of the same name. Can be one of: aliases, bootptab, bootparams, ethers, exports, fstab, group, hosts, networks, passwd, printcap, protocols, resolv.conf, rpc, services, or mountmaps.
-
domain
Specifies a NetInfo domain. For standalone machines, use a dot (
.
), which refers to the local domain.
Get Mac OS X for Unix Geeks now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.