|
NAME/usr/local/etc/nbdtab - configuration file for nbd-clientSYNOPSIS/usr/local/etc/nbdtabDESCRIPTIONThis file allows to configure predefined connections for nbd-client. It may contain multiple definitions, one per line, each of which contains four space-separated fields.To connect a device specified in the nbdtab file, run nbd-client(8) with the short name of that device as the sole argument. It will then look up the required information in nbdtab, and make the connection. Fields are separated from one another by any number of space or tab characters; records are separated from one another by newline characters. The file may also contain any number of comments, which start with a '#' character and continue until the end of the line or the end of the file, whichever is first. FIELDSThe file contains the following fields:
OPTIONSEvery command-line nbd-client option which allows to configure specific options for a particular device node has a corresponding option in the nbdtab file, and vice versa; where this isn't the case, that is a bug.Individual options in this field should be separated from one another by the comma character.
SEE ALSOnbd-server (1), nbd-client (8), nbd-trdump (8)AUTHORThe NBD kernel module and the NBD tools were originally written by Pavel Machek (pavel@ucw.cz)The Linux kernel module is now maintained by Paul Clements (Paul.Clements@steeleye.com), while the userland tools are maintained by Wouter Verhelst (<wouter@debian.org>) On The Hurd there is a regular translator available to perform the client side of the protocol, and the use of nbd-client is not required. Please see the relevant documentation for more information. This manual page was written by Wouter Verhelst (<wouter@debian.org>). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, version 2, as published by the Free Software Foundation. EXAMPLESA simple nbdtab file could look like this:# swap space, called "swapexport" on the server # optimize for swap, and try to reconnect upon disconnect. nbd0 nbdserver.example.com swapexport swap,persist # other export, called "data" on the server. No options for this one. nbd1 nbdserver.example.com data
Visit the GSP FreeBSD Man Page Interface. |