linux查询tftp服务目录和nfs服务目录命令

/*********************************************************************
 * Author  : Samson
 * Date    : 01/18/2014
 * Test platform:
 *               3.6.10-4.fc18.i686.PAE
 *               GNU bash, version 4.2.39

 * *******************************************************************/


[xlp@localhost ~]$ less /etc/xinetd.d/tftp

# default: off
# description: The tftp server serves files using the trivial file transfer \
#       protocol.  The tftp protocol is often used to boot diskless \
#       workstations, download configuration files to network-aware printers, \
#       and to start the installation process for some operating systems.
service tftp
{
        socket_type             = dgram
        protocol                = udp
        wait                    = yes
        user                    = root
        server                  = /usr/sbin/in.tftpd
#       server_args             = -s /var/lib/tftpboot
        server_args             = -c -s /var/tftp/
#       server_args             = -c -s /home/guolijun/sdk-base/binaries
        disable                 = no
        per_source              = 11
        cps                     = 100 2
        flags                   = IPv4
}
[xlp@localhost ~]$ less /etc/exports
/home *(rw,sync,no_root_squash)
/rootfs.xlp *(rw,sync,no_root_squash)
/xlp-nfs *(rw,sync,no_root_squash)
[xlp@localhost ~]$

你可能感兴趣的:(linux查询tftp服务目录和nfs服务目录命令)