public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] where to put mount --bind during startup
@ 2006-09-14 22:31 Allan Gottlieb
  2006-09-14 22:55 ` Neil Bothwick
  0 siblings, 1 reply; 3+ messages in thread
From: Allan Gottlieb @ 2006-09-14 22:31 UTC (permalink / raw
  To: gentoo-user

I have had /home/gottlieb a symlink to /local/allan/gottlieb
for a while.  Now I am having a problem because apache doenn't follow
symlinks by default (presumably due to some security concern).

As a test I did

   rm /home/gottlieb
   mkdir /home/gottlieb
   mount --bind /local/allan/gottlieb /home/gottlieb

and all seems well.

Two questions.

1.  Are there common gotcha's with mount --bind.  That is, will
    programs that have worked fine with the symlink now fail?

2.  Assuming I want to go with mount --bind, how do I make it happen
    during startup (I assume the mount is not preserved across
    reboots).  The man pages for fstab doesn't suggest that fstab is
    the way to go.  Do you put the mount in the boot runlevel and if so
    where?

thanks,
allan
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-09-15  0:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-14 22:31 [gentoo-user] where to put mount --bind during startup Allan Gottlieb
2006-09-14 22:55 ` Neil Bothwick
2006-09-15  0:47   ` Allan Gottlieb

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox