当我尝试使用查找文件时find -name "filename"
,出现错误消息:
./var/named/chroot/var/named' is part of the same file system loop as `./var/named'
我运行了该ls -ldi /var/named/chroot/var/named/ /var/named
命令,并且inode编号相同。研究表明解决方法是删除硬链接/var/named/chroot/var/named/
使用rm -f
,并重新创建为一个目录,但我这样做的时候,我建议,它不能被删除,因为它是一个目录了。我该如何解决?我正在使用Plesk 11运行Centos 6。
mount命令给出以下信息:
/dev/vzfs on / type reiserfs (rw,usrquota,grpquota)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
none on /dev type tmpfs (rw,relatime)
none on /dev/pts type devpts (rw,relatime)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)
/etc/named on /var/named/chroot/etc/named type none (rw,bind)
/var/named on /var/named/chroot/var/named type none (rw,bind)
/etc/named.rfc1912.zones on /var/named/chroot/etc/named.rfc1912.zones type none (rw,bind)
/etc/rndc.key on /var/named/chroot/etc/rndc.key type none (rw,bind)
/usr/lib64/bind on /var/named/chroot/usr/lib64/bind type none (rw,bind)
/etc/named.iscdlv.key on /var/named/chroot/etc/named.iscdlv.key type none (rw,bind)
/etc/named.root.key on /var/named/chroot/etc/named.root.key type none (rw,bind)