How do I get rid of the drive mount confirmation question for sshFS on boot?

Posted by Dave M G on Ask Ubuntu See other posts from Ask Ubuntu or by Dave M G
Published on 2012-06-30T03:10:57Z Indexed on 2012/07/02 3:23 UTC
Read the original article Hit count: 301

Filed under:
|
|

With help from this site, I was able to set up an SSHFS connection between two computers on my LAN so that one auto mounts on the other at boot time.

Everything works, but there is this annoying confirmation that comes up whenever I boot:

sshfs boot confirmation

An error occurred while mounting /home/dave/Mythbuntu.

Press S to skip mounting or M or Manual recovery

If I press S, then booting continues, and my drive is mounted as hoped, so it seems like even though I "skipped" it, maybe it tried again and succeeded later in the boot process.

I followed the instructions here to set up "if up / if down" scripts, and here is my current /etc/fstab:

sshfs#[email protected]:/home/mythbuntu    /home/dave/Mythbuntu    fuse    auto,users,exec,uid=1000,gid=1000,allow_other,reconnect,transform_symlinks,BatchMode=yes 0 0

Although the mounting is working, this step of having to press S every time I boot is obviously kind of a hassle. How do I configure my computer so I don't have to do that, and so that my other computer will still automount?

© Ask Ubuntu or respective owner

Related posts about boot

Related posts about sshfs