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

Re: mount --bind and fstab



In article <[🔎] 20011210095932.A71367@radix.cryptio.net>,
Mark Ferlatte  <ferlatte@cryptio.net> wrote:
>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.

I think this should do it:

none 	        /dev/shm                tmpfs     defaults        0 0
/dev/shm        /tmp                    none      rw,bind         0 0

Mike.
-- 
  I used to drive a Heisenberg mobile but every time I looked at the
  speedometer - I got lost!



Reply to: