Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
0b59f4ea
Commit
0b59f4ea
authored
Jul 06, 2020
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc/plugins.rst: merge redundant nfs:// documentation
parent
402663de
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
24 deletions
+20
-24
plugins.rst
doc/plugins.rst
+20
-24
No files found.
doc/plugins.rst
View file @
0b59f4ea
...
...
@@ -78,19 +78,7 @@ Load music files from a NFS server. It is used when
:code:`music_directory` contains a ``nfs://`` URI according to
RFC2224, for example :samp:`nfs://servername/path`.
This plugin uses libnfs, which supports only NFS version 3. Since
:program:`MPD` is not allowed to bind to "privileged ports", the NFS
server needs to enable the ``insecure`` setting; example
:file:`/etc/exports`:
.. code-block:: none
/srv/mp3 192.168.1.55(ro,insecure)
Don't fear: ``insecure`` does not mean that your NFS server is
insecure. A few decades ago, people thought the concept of "privileged
ports" would make network services "secure", which was a fallacy. The
absence of this obsolete "security" measure means little.
See :ref:`input_nfs` for more information.
udisks
------
...
...
@@ -211,25 +199,33 @@ mms
Plays streams with the MMS protocol using `libmms <https://launchpad.net/libmms>`_.
.. _input_nfs:
nfs
---
Allows :program:`MPD` to access files on NFS
v3 servers without
actually mounting them (i.e. in userspace, without help from the
kernel's VFS layer). All URIs with the ``nfs://`` scheme are used
according to RFC2224. Example:
Allows :program:`MPD` to access files on NFS
servers without actually
mounting them (i.e. with :program:`libnfs` in userspace, without help
from the kernel's VFS layer). All URIs with the ``nfs://`` scheme are
used
according to RFC2224. Example:
.. code-block:: none
mpc add nfs://servername/path/filename.ogg
Note that this usually requires enabling the ``insecure`` flag in the
server's /etc/exports file, because :program:`MPD` cannot bind to
so-called "privileged" ports. Don't fear: this will not make your file
server insecure; the flag was named in a time long ago when privileged
ports were thought to be meaningful for security. By today's
standards, NFSv3 is not secure at all, and if you believe it is,
you're already doomed.
This plugin uses :program:`libnfs`, which supports only NFS version 3.
Since :program:`MPD` is not allowed to bind to so-called "privileged
ports", the NFS server needs to enable the ``insecure`` setting;
example :file:`/etc/exports`:
.. code-block:: none
/srv/mp3 192.168.1.55(ro,insecure)
Don't fear: this will not make your file server insecure; the flag was
named a time long ago when privileged ports were thought to be
meaningful for security. By today's standards, NFSv3 is not secure at
all, and if you believe it is, you're already doomed.
smbclient
---------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment