diff options
Diffstat (limited to 'fs/Kconfig')
-rw-r--r-- | fs/Kconfig | 109 |
1 files changed, 57 insertions, 52 deletions
diff --git a/fs/Kconfig b/fs/Kconfig index 8b18a8758677..56c83f40cdbe 100644 --- a/fs/Kconfig +++ b/fs/Kconfig | |||
@@ -411,7 +411,7 @@ config JFS_STATISTICS | |||
411 | to be made available to the user in the /proc/fs/jfs/ directory. | 411 | to be made available to the user in the /proc/fs/jfs/ directory. |
412 | 412 | ||
413 | config FS_POSIX_ACL | 413 | config FS_POSIX_ACL |
414 | # Posix ACL utility routines (for now, only ext2/ext3/jfs/reiserfs) | 414 | # Posix ACL utility routines (for now, only ext2/ext3/jfs/reiserfs/nfs4) |
415 | # | 415 | # |
416 | # NOTE: you can implement Posix ACLs without these helpers (XFS does). | 416 | # NOTE: you can implement Posix ACLs without these helpers (XFS does). |
417 | # Never use this symbol for ifdefs. | 417 | # Never use this symbol for ifdefs. |
@@ -1694,75 +1694,80 @@ config NFSD | |||
1694 | select LOCKD | 1694 | select LOCKD |
1695 | select SUNRPC | 1695 | select SUNRPC |
1696 | select EXPORTFS | 1696 | select EXPORTFS |
1697 | select NFSD_V2_ACL if NFSD_V3_ACL | ||
1698 | select NFS_ACL_SUPPORT if NFSD_V2_ACL | 1697 | select NFS_ACL_SUPPORT if NFSD_V2_ACL |
1699 | select NFSD_TCP if NFSD_V4 | 1698 | help |
1700 | select CRYPTO_MD5 if NFSD_V4 | 1699 | Choose Y here if you want to allow other computers to access |
1701 | select CRYPTO if NFSD_V4 | 1700 | files residing on this system using Sun's Network File System |
1702 | select FS_POSIX_ACL if NFSD_V4 | 1701 | protocol. To compile the NFS server support as a module, |
1703 | select PROC_FS if NFSD_V4 | 1702 | choose M here: the module will be called nfsd. |
1704 | select PROC_FS if SUNRPC_GSS | 1703 | |
1705 | help | 1704 | You may choose to use a user-space NFS server instead, in which |
1706 | If you want your Linux box to act as an NFS *server*, so that other | 1705 | case you can choose N here. |
1707 | computers on your local network which support NFS can access certain | 1706 | |
1708 | directories on your box transparently, you have two options: you can | 1707 | To export local file systems using NFS, you also need to install |
1709 | use the self-contained user space program nfsd, in which case you | 1708 | user space programs which can be found in the Linux nfs-utils |
1710 | should say N here, or you can say Y and use the kernel based NFS | 1709 | package, available from http://linux-nfs.org/. More detail about |
1711 | server. The advantage of the kernel based solution is that it is | 1710 | the Linux NFS server implementation is available via the |
1712 | faster. | 1711 | exports(5) man page. |
1713 | 1712 | ||
1714 | In either case, you will need support software; the respective | 1713 | Below you can choose which versions of the NFS protocol are |
1715 | locations are given in the file <file:Documentation/Changes> in the | 1714 | available to clients mounting the NFS server on this system. |
1716 | NFS section. | 1715 | Support for NFS version 2 (RFC 1094) is always available when |
1717 | 1716 | CONFIG_NFSD is selected. | |
1718 | If you say Y here, you will get support for version 2 of the NFS | 1717 | |
1719 | protocol (NFSv2). If you also want NFSv3, say Y to the next question | 1718 | If unsure, say N. |
1720 | as well. | ||
1721 | |||
1722 | Please read the NFS-HOWTO, available from | ||
1723 | <http://www.tldp.org/docs.html#howto>. | ||
1724 | |||
1725 | To compile the NFS server support as a module, choose M here: the | ||
1726 | module will be called nfsd. If unsure, say N. | ||
1727 | 1719 | ||
1728 | config NFSD_V2_ACL | 1720 | config NFSD_V2_ACL |
1729 | bool | 1721 | bool |
1730 | depends on NFSD | 1722 | depends on NFSD |
1731 | 1723 | ||
1732 | config NFSD_V3 | 1724 | config NFSD_V3 |
1733 | bool "Provide NFSv3 server support" | 1725 | bool "NFS server support for NFS version 3" |
1734 | depends on NFSD | 1726 | depends on NFSD |
1735 | help | 1727 | help |
1736 | If you would like to include the NFSv3 server as well as the NFSv2 | 1728 | This option enables support in your system's NFS server for |
1737 | server, say Y here. If unsure, say Y. | 1729 | version 3 of the NFS protocol (RFC 1813). |
1730 | |||
1731 | If unsure, say Y. | ||
1738 | 1732 | ||
1739 | config NFSD_V3_ACL | 1733 | config NFSD_V3_ACL |
1740 | bool "Provide server support for the NFSv3 ACL protocol extension" | 1734 | bool "NFS server support for the NFSv3 ACL protocol extension" |
1741 | depends on NFSD_V3 | 1735 | depends on NFSD_V3 |
1736 | select NFSD_V2_ACL | ||
1742 | help | 1737 | help |
1743 | Implement the NFSv3 ACL protocol extension for manipulating POSIX | 1738 | Solaris NFS servers support an auxiliary NFSv3 ACL protocol that |
1744 | Access Control Lists on exported file systems. NFS clients should | 1739 | never became an official part of the NFS version 3 protocol. |
1745 | be compiled with the NFSv3 ACL protocol extension; see the | 1740 | This protocol extension allows applications on NFS clients to |
1746 | CONFIG_NFS_V3_ACL option. If unsure, say N. | 1741 | manipulate POSIX Access Control Lists on files residing on NFS |
1742 | servers. NFS servers enforce POSIX ACLs on local files whether | ||
1743 | this protocol is available or not. | ||
1744 | |||
1745 | This option enables support in your system's NFS server for the | ||
1746 | NFSv3 ACL protocol extension allowing NFS clients to manipulate | ||
1747 | POSIX ACLs on files exported by your system's NFS server. NFS | ||
1748 | clients which support the Solaris NFSv3 ACL protocol can then | ||
1749 | access and modify ACLs on your NFS server. | ||
1750 | |||
1751 | To store ACLs on your NFS server, you also need to enable ACL- | ||
1752 | related CONFIG options for your local file systems of choice. | ||
1753 | |||
1754 | If unsure, say N. | ||
1747 | 1755 | ||
1748 | config NFSD_V4 | 1756 | config NFSD_V4 |
1749 | bool "Provide NFSv4 server support (EXPERIMENTAL)" | 1757 | bool "NFS server support for NFS version 4 (EXPERIMENTAL)" |
1750 | depends on NFSD && NFSD_V3 && EXPERIMENTAL | 1758 | depends on NFSD && PROC_FS && EXPERIMENTAL |
1759 | select NFSD_V3 | ||
1760 | select FS_POSIX_ACL | ||
1751 | select RPCSEC_GSS_KRB5 | 1761 | select RPCSEC_GSS_KRB5 |
1752 | help | 1762 | help |
1753 | If you would like to include the NFSv4 server as well as the NFSv2 | 1763 | This option enables support in your system's NFS server for |
1754 | and NFSv3 servers, say Y here. This feature is experimental, and | 1764 | version 4 of the NFS protocol (RFC 3530). |
1755 | should only be used if you are interested in helping to test NFSv4. | ||
1756 | If unsure, say N. | ||
1757 | 1765 | ||
1758 | config NFSD_TCP | 1766 | To export files using NFSv4, you need to install additional user |
1759 | bool "Provide NFS server over TCP support" | 1767 | space programs which can be found in the Linux nfs-utils package, |
1760 | depends on NFSD | 1768 | available from http://linux-nfs.org/. |
1761 | default y | 1769 | |
1762 | help | 1770 | If unsure, say N. |
1763 | If you want your NFS server to support TCP connections, say Y here. | ||
1764 | TCP connections usually perform better than the default UDP when | ||
1765 | the network is lossy or congested. If unsure, say Y. | ||
1766 | 1771 | ||
1767 | config ROOT_NFS | 1772 | config ROOT_NFS |
1768 | bool "Root file system on NFS" | 1773 | bool "Root file system on NFS" |