# mkdir -p /mnt/tmpfs
# mount -t tmpfs -o size=6400M tmpfs /mnt/tmpfs

I ran that but if I was to reboot will I need to run that again because it is tmpfs?

How do I get that mount point to come back on a reboot?

  • For what purpose? – Andrew Apr 24 '13 at 5:19

As usual: You can define this in /etc/fstab

none     /tmp/tmpfs     tmpfs     defaults,size=6400M     0 0
  • 1
    I think however that you want /mnt/tmpfs instead of /tmp – ETL Apr 24 '13 at 2:45
  • can that be done with a software raid? – Jake Thomas Apr 24 '13 at 2:52
  • @ETL Sure, was just lazy with copying. – Hauke Laging Apr 24 '13 at 2:53
  • @JakeThomas Would you mind rephrasing your question? I have no idea what you want to know. How do you come from tmpfs to mdraid? But of course, /dev/md* devices can be (and usually are) configured in fstab. – Hauke Laging Apr 24 '13 at 2:56
  • 1
    you could also add the size option to your fstab example, so it will do exactly what he wants – Renan Apr 24 '13 at 3:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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