Skip to contentSkip to conversation

mount --bind for fstab

DISCUSSION Matt Simonsen 2 participants 2 messages May 24, 2002

lore
Share & tools
lore
#0 lore raw

I found it once a week ago, but I can't find the syntax to use in fstab to mount drives in the "mount --bind olddir newdir" syntax.

I have read fstab man page + search goodle (pulling up too much, I must be missing the right keyword)and can't find the answer. A cc: would be much appreciated, too.

Thanks
Matt

#1 lore raw
Quoted 2 lines · Matt Simonsen

I found it once a week ago, but I can't find the syntax to use in fstab to mount drives in the "mount --bind olddir newdir" syntax.

The line

/dev/shm /tmp none bind

might be what you want.

greetings

Christian