This is a companion discussion topic for the original entry at https://linuxconfig.org/mount-remote-ftp-directory-host-locally-into-linux-filesystem
I want to do like that, but with sftp.
How can i modifiy this tutorial to adapt him to sftp ?
Steve Johnson -> Fab Kim
You need to add
after the mount point.
Adding this to fstab put my laptop in emergency mode… haven’t figured out why yet
Noorquacker Ind. -> Eric Dubé
Comment it out in your fstab, it’s being mounted too early in the boot process and is being mounted before the network has the time to start. Generally it’s not a good idea putting network locations in your fstab, unless it’s really dependable and on your local network, because if it goes out, systemd will panic as it thinks fstab drives are very important and will think that a mount failure will take the system down.
x0ex78/a45 -> Noorquacker Ind.
even with the “bg” flag?
Michael Robert Lawrence -> Noorquacker Ind.
could just add a crontab @ boot give a timer of 120 seconds to get system up etc, then mount in background…
Worked for me. I got rid of the .local at the end of the remote ip address.
Sincerely I tried curlftp and it was awful D:
Jorge Manuel Hernandez
Im having problems with this command, when i mount the ftp server in my pi, the folder is converted to a “inode/x-corrupted type”, can you help me with this?