[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

mount --bind and fstab



Hey all;

I'm trying to setup tmpfs, and encountering the following problem:

I know how to mount tmpfs on /dev/shm, and I know how to mount tmpfs on
/tmp, and I know how to put both entries in the fstab.

What I can't figure out is how to mount tmpfs on /dev/shm, and then do
the equivilent of

mount --bind /dev/shm /tmp

in /etc/fstab.  The FM isn't helpful (in fact, it barely mentions the
bind option to mount), and neither was google.

Has anyone done this?

M



Reply to: