每次我使用以下命令挂载一个ramdisk时,都会得到两个,而不是一个ramdisk?
mount -t tmpfs -o size=1024M tmpfs /home/site/public_html/var/cache挂载没有显示先前安装的ramdisk,在运行命令之后它显示:
tmpfs on /home/site/public_html/var/cache type tmpfs (rw,size=1024M)
tmpfs on /home/site/public_html/var/cache type tmpfs (rw,size=1024M)如果我卸载,两者都消失,当重新安装,两者都出现。
发布于 2015-01-01 00:26:12
如果您在主目录中有一个绑定挂载,就会发生这种情况。
键入以下内容:
mount | grep bind您也可以检查/etc/mtab的内容,但我怀疑您会在那里看到重复的条目。
https://serverfault.com/questions/403247
复制相似问题