* [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
* Re: [gentoo-user] where to put mount --bind during startup
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
0 siblings, 1 reply; 3+ messages in thread
From: Neil Bothwick @ 2006-09-14 22:55 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 708 bytes --]
On Thu, 14 Sep 2006 18:31:52 -0400, Allan Gottlieb wrote:
> 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?
You can do it in fstab, I've been doing it for a while. Just make sure
the bind line is after the one mounting the target.
/dev/hda1 /local somefs blah
/local/allan/gottlieb /home/gottlieb auto bind
--
Neil Bothwick
Confucius says "He who posts with broken addresses gets no replies......"
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] where to put mount --bind during startup
2006-09-14 22:55 ` Neil Bothwick
@ 2006-09-15 0:47 ` Allan Gottlieb
0 siblings, 0 replies; 3+ messages in thread
From: Allan Gottlieb @ 2006-09-15 0:47 UTC (permalink / raw
To: gentoo-user
At Thu, 14 Sep 2006 23:55:48 +0100 Neil Bothwick <neil@digimed.co.uk> wrote:
> On Thu, 14 Sep 2006 18:31:52 -0400, Allan Gottlieb wrote:
>
>> 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?
>
> You can do it in fstab, I've been doing it for a while. Just make sure
> the bind line is after the one mounting the target.
>
> /dev/hda1 /local somefs blah
> /local/allan/gottlieb /home/gottlieb auto bind
Thank you.
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