~ubuntu-branches/ubuntu/precise/nbd/precise-updates

« back to all changes in this revision

Viewing changes to man/nbd-server.5.in.sgml

  • Committer: Package Import Robot
  • Author(s): Stéphane Graber
  • Date: 2012-02-11 12:35:53 UTC
  • mfrom: (1.1.20) (21.1.32 sid)
  • Revision ID: package-import@ubuntu.com-20120211123553-ij6q80vp1w7wc3td
Tags: 1:2.9.25-2ubuntu1
* Merge from Debian unstable. Remaining changes (LP: #594595):
  - Drop /etc/modprobe.d/nbd-client; the kernel default is already
    appropriate. Ubuntu-specific change.
    + Modify debian/nbd-client.dirs
    + Remove debian/nbd-client.modprobe
    + Add debian/nbd-client.preinst

Show diffs side-by-side

added added

removed removed

Lines of Context:
804
804
      [generic]
805
805
      [export]
806
806
          exportname = /export/blkdev
807
 
          port = 12345
808
807
    </programlisting>
809
808
    <para>For increased security, one might want to create an
810
809
      authorization file, and set the UID and GID to run as:</para>
814
813
          group = nbd
815
814
      [export]
816
815
          exportname = /export/blkdev
817
 
          port = 12345
818
816
          authfile = $sysconfdir/nbd-server/allow
819
817
    </programlisting>
820
818
    <para>With $sysconfdir/nbd-server/allow containing the following:</para>
823
821
      192.168.0.0/8
824
822
      192.168.1.1
825
823
    </programlisting>
 
824
    <para>To be compatible with older nbd-client systems, one might wish
 
825
    to enable the old-style, port-based, negotation:</para>
 
826
    <programlisting>
 
827
      [generic]
 
828
          oldstyle = true
 
829
      [export]
 
830
          exportname = /export/blkdev
 
831
          port = 12345
 
832
    </programlisting>
826
833
  </refsect1>
827
834
</refentry>
828
835