How do I get rid of the drive mount confirmation question for sshFS on boot?
- by Dave M G
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:
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?