Name
nidump
Synopsis
nidump [-Ttimeout] (-rdirectory|format) [-t]domain
Dumps 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
-
-Ttimeout 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/localrefers to the local NetInfo domain of the machine namedabbot.-
-rdirectory Dumps the directory in raw format. Directory should be a path to a NetInfo directory, such as
/users/rootor/machines.-
format Specifies a format corresponding to a Unix flat file of the same name. Can be:
aliases,bootptab,bootparams,ethers,exports,fstab,group,hosts,networks,passwd,printcap,protocols,resolv.conf,rpc,services, ormountmaps.-
domain Specifies a NetInfo domain. For standalone machines, use a dot (.), which refers to the local domain.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access