我在我的ubuntu系统中做了
mount -bind /a/tmp /tmp
但几天后,如果“mount”显示大量绑定安装,如下所示
...
/dev/sda on /a/tmp ...
/dev/sda on /tmp ...
/dev/sda on /a/tmp ...
/dev/sda on /tmp ...
/dev/sda on /a/tmp ...
/dev/sda on /tmp ...
/dev/sda on /a/tmp ...
/dev/sda on /tmp ...
/dev/sda on /a/tmp ...
/dev/sda on /tmp ...
总行数约为 65,536 行,即 2^16。看来坐骑已经达到了极限了……
如果我检查 /etc/fstab,我们只会得到
/a/tmp /tmp auto defaults,nofail,bind 0 2
/dev/sda /mnt auto defaults,nofail 0 2
怎么会发生这种事……?