tag:blogger.com,1999:blog-5651019185378761177.post8742698602031629053..comments2013-02-28T19:32:17.265+01:00Comments on powdered mind: automounting ftpfs using curlftpfs and autofsŁukasz 'frogu' Proszekhttp://www.blogger.com/profile/01000761854915538196noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-5651019185378761177.post-30599815844378435882013-02-28T19:32:17.265+01:002013-02-28T19:32:17.265+01:00Can do even better (without script)
In /etc/auto.f...Can do even better (without script)<br />In /etc/auto.ftp (or /etc/autofs/auto.ftp):<br /><br />myFTP -fstype=fuse curlftpfs#USER\:PASSWORD\@MACHINEAnonymoushttps://www.blogger.com/profile/04537593284306029052noreply@blogger.comtag:blogger.com,1999:blog-5651019185378761177.post-38343880872736923982009-07-14T01:24:41.298+02:002009-07-14T01:24:41.298+02:00I tried with both methods but no luck. Can you tel...I tried with both methods but no luck. Can you tell me how should I debug this.Jawadhttps://www.blogger.com/profile/15505111555277119147noreply@blogger.comtag:blogger.com,1999:blog-5651019185378761177.post-67078601445722690562009-07-10T00:19:28.035+02:002009-07-10T00:19:28.035+02:00Too much a work, you can do the same thing easier....Too much a work, you can do the same thing easier.<br />I've got following /etc/auto.ftp:<br /><br />#!/bin/sh<br />key="$1"<br />opts="-fstype=fuse,rw,nodev,nosuid,nonempty,noatime,allow_other"<br />proto="curlftpfs"<br />echo "$opts" ":$proto\\#$key"<br /><br />Don't forget to chmod a+x /etc/auto.ftp.<br />Now I have line in my /etc/auto.master:<br />/remote/ftp /etc/auto.ftp uid=1001,gid=1001,--timeout=30,--ghost<br /><br />And at least I put .netrc with hosts/usernames/passwords into ~root.<br /><br />So I can cd into /remote/ftp/some.host.name and this host is automagically mounted via curlftpfs. No need for wrapper scripts around curlftpfs!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5651019185378761177.post-28292178327946550672009-02-23T23:55:00.000+01:002009-02-23T23:55:00.000+01:00Before I get to the automounting part I thought I ...Before I get to the automounting part I thought I would get manual mounting working. <I>mount</I> works successfully as does <I>fusermount -u /mnt/usb</I>, but <I>umount</I>:<BR/><B> $ umount /mnt/usb<BR/>umount: /mnt/usb mount disagrees with the fstab</B><BR/><BR/>This is mentioned a few places around the traps, but I haven't seen a solution.<BR/><BR/>Thoughts?<BR/><BR/>Regards<BR/><BR/>Fog_Watch.<BR/><BR/>Kernel: 2.6.26-gentoo-r3<BR/>curlftpfs-0.9.1Fog_Watchhttps://www.blogger.com/profile/04628280565654014978noreply@blogger.com