LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to mount curlftpfs in fstab (http://www.linuxquestions.org/questions/linux-software-2/how-to-mount-curlftpfs-in-fstab-4175430854/)

usr345 10-06-2012 12:28 PM

How to mount curlftpfs in fstab
 
I wanted to permanently mount an ftp directory in fstab, using curlftpfs. I added this line to fstab:

Quote:

curlftpfs#user:password@192.168.1.3:/root /mnt/share fuse rw,allow_other,user,noauto 0 0
But it doesn't work. Manual addition, using this works:

Quote:

#curlftpfs -o allow_other ftp://user:password@192.168.1.3/root /mnt/share

What is wrong?

Habitual 10-06-2012 06:11 PM

How can I make CurlFtpFS mount automatically at startup?
You can add it to /etc/fstab. Example:

Code:

curlftpfs#ftp.host.com /mnt/host fuse rw,uid=500,user,noauto 0 0

says http://curlftpfs.sourceforge.net/
the "curlftpfs#..." may be needed? I seen to remember doing something similar using glusterfs...

usr345 10-06-2012 06:56 PM

Yeah, I read that doc. And used curlftpfs# at the beginning. I believe, this line looks like the one, they provided:

Code:

curlftpfs#user:password@192.168.1.3 /mnt/share        fuse rw,uid=500,user,noauto 0 0
But it doesn't work. Maybe, it's because network is not available, when they trying to mount it?

Habitual 10-07-2012 07:55 AM

Code:

grep "curlftpfs|mount" /var/log/messages


All times are GMT -5. The time now is 07:54 PM.