Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Everytime I mount a ramdisk with the following command, I get two instead of one ramdisk?

mount -t tmpfs -o size=1024M tmpfs /home/site/public_html/var/cache

Mount shows no ramdisks mounted prior, and after running the command it shows:

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)

If I unmount, both disappear, and when remounting, both appear.

share|improve this question

1 Answer 1

This can happen if you have a bind mount in your home directory.

Type this:

mount | grep bind

You can also check the contents of /etc/mtab, though I doubt you will see duplicate entries there.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.