我有以下文件夹结构:
AllMyWork/
--.git/
--Proj1/
file1.cpp, ..., file10.cpp
--WindowsOnly/ (this subfolder does not exist on Linux machine)
filea.bat
--LinuxOnly/ (this subfolder does not exist on Windows machine)
fileb.sh
我在Windows机器和Linux机器上使用Proj1进行交替操作。这两台机器通过.git/和Proj1/及其内容file1.c
我正在Ubuntu16.04LTS主机上运行几个LXD容器。所有的机器都在破坏64位的Linux。
Linux <hostname> 4.4.0-36-generic #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
我使用ACL (getfalc/setfacl)来配置跨不同容器共享的主机挂载文件夹的权限。虽然这在一般情况下很好,但是对于某些文件夹,我得到了错误消息:
getfacl: <folder name>: Value too large for defined
为了在我的Linux机器上模拟数据包丢弃,我提供了以下几行代码。
# for randomly dropping 10% of incoming packets:
iptables -A INPUT -m statistic --mode random --probability 0.1 -j DROP
# and for dropping 10% of outgoing packets:
iptables -A OUTPUT -m statistic --mode random --probability 0.1 -j DROP
之后,我运行ping some_ip_address,当我终