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

来源:互联网 发布:c语言随机数的产生 编辑:程序博客网 时间:2024/05/16 10:51

/*********************************************************************
 * 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 ~]$
0 0
原创粉丝点击