Re: /etc/fstab mounting filesystems for proftpd

From: 'Dungeon' Dave (Newsgroup_at_tombstones.org.uk)
Date: 04/28/04


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..."


Relevant Pages

  • Re: /etc/fstab mounting filesystems for proftpd
    ... > I am attempting to create some persistent mount points for a folder ... > mounted in my home directory, here is what i am currently trying. ... > say in a users home folder to a central upload folder for example. ...
    (alt.os.linux.redhat)
  • Re: messed up Konqueror setting
    ... > I click on my Documents folder, or any folder in my Home folder, I get ... > Home directory. ... Use setting For Inode group = ticked ...
    (alt.os.linux.suse)
  • Re: RECYCLER folder into users home folder?
    ... Claude Lachapelle wrote: ... I would like to know for why we have this folder on almost all user's ... Does users can undelete files from their home folder, ... Documents data to their home directory. ...
    (microsoft.public.windows.server.networking)
  • Re: Various File Save error messages with Word 2004 and Tiger (10.4.2) Server
    ... > Did the ".TemporaryItems" thing, and it seemed to work for a while (a few ... >> the Homes folder on the server. ... >>> Word is having various problems saving to remote home folder (henceforth RH, ...
    (microsoft.public.mac.office.word)
  • Re: disk quotas
    ... the appropiate permissions on the TS home directory and redirected folder ... And how much free space do you have on your system disk and the F: ... so the redirection is actually taken place to the same ...
    (microsoft.public.windows.terminal_services)