LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 10-06-2012, 12:28 PM   #1
usr345
Member
 
Registered: Jan 2012
Posts: 80
Blog Entries: 1

Rep: Reputation: Disabled
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?
 
Old 10-06-2012, 06:11 PM   #2
Habitual
Senior Member
 
Registered: Jan 2011
Distribution: Undecided
Posts: 3,622
Blog Entries: 1

Rep: Reputation: Disabled
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...
 
Old 10-06-2012, 06:56 PM   #3
usr345
Member
 
Registered: Jan 2012
Posts: 80
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
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?
 
Old 10-07-2012, 07:55 AM   #4
Habitual
Senior Member
 
Registered: Jan 2011
Distribution: Undecided
Posts: 3,622
Blog Entries: 1

Rep: Reputation: Disabled
Code:
grep "curlftpfs|mount" /var/log/messages
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
FTP shares won't mount on startup [Curlftpfs] jamespetts Linux - Networking 2 01-18-2012 06:03 PM
Redhat Linux 4.8 error -mount: mount point /oracle does not exist for new /etc/fstab entries bellnarm Linux - Server 1 11-23-2011 06:09 AM
fstab problem: mount: can't find dvd in /etc/fstab or /etc/mtab Nikon01 Slackware 5 11-17-2006 07:15 AM
FSTAB: My Win Share Wont Mount @ Boot, but will when I sudo mount -a...please help! TruANTOlogy Ubuntu 8 06-20-2006 09:00 AM


All times are GMT -5. The time now is 03:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration