Re: /etc/fstab mounting filesystems for proftpd
From: 'Dungeon' Dave (Newsgroup_at_tombstones.org.uk)
Date: 04/28/04
- Next message: Nils O. Selåsdal: "Re: Application Launch Detection"
- Previous message: 'Dungeon' Dave: "Re: Virtual Hosts with Apache"
- In reply to: hyperspace: "/etc/fstab mounting filesystems for proftpd"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 28 Apr 2004 21:08:44 +0100
begin not.binary!
And hyperspace <no@no.com> confused OE posters with...
>Hello all,
>
> I am attempting to create some persistent mount points for a
>folder mounted in my home directory, here is what i am currently trying.
>
>When using proftpd symbolic links do not work for linking a directory,
>say in a users home folder to a central upload folder for example. In
>my case im just trying to mount the root of a folder used as a virtual
>host in apache.
>
>So in my home folder i do;
(^^DIRECTORY!)
>
>mkdir sitename.com
>mount --bind /var/www/sitename.com sitename.com/
>
>This works great until the server reboots (which it really shouldnt but
>in the case of a kernel upgrade i must.
>
>So, in /etc/fstab i add this entry;
>
>/var/www/sitename.com /home/username/sitename.com ext3 defaults 0 0
>
>Then reboot the server to test, and it doesn't seem to be mounting it. =[
>
>what am i doing wrong?
>
You're specifying the filesystem as EXT3 and not mentioning the --bind
option... I kinda remember doing something like this before, but can't
remember fully off the top of my head.
To test out the line in /etc/fstab, try:
mount /var/www/sitename.com
See if it picks it up with the "--bind" option.
--
"You float like a feather
In a beautiful world.
I wish I was special..."
- Next message: Nils O. Selåsdal: "Re: Application Launch Detection"
- Previous message: 'Dungeon' Dave: "Re: Virtual Hosts with Apache"
- In reply to: hyperspace: "/etc/fstab mounting filesystems for proftpd"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|