Hi,
I run Opensuse on my boxes. I use sftp between them to transfer files. To do so, I use Nautilus/Caja file manager, I enter the address in the location area ie: sftp://user@192.168.1.100/home/
This is working fine I can transfer files.
I want to the same with the USB HDD connected to the router ver. 18.06.2
I installed openssh-sftp-server
Now I can do : sftp://root@192.168.1.1/ and I can go in folders but
I can't open the mount point sftp://root@192.168.1.1/dev/sda1 it output an error message
"Could not display sftp://root/192.168... There is no application installed for block devices files. Do you want to search for an application to open this file?"
When I enter yes or no nothing happen.
How to fix this issue?
Thank you
This is the location of the block file that represents physical sectors on the disk, it is not the mount point for the filesystem stored on that disk. Use the df command to see a summary of mounted filesystems, you may not have mounted it yet!
In LUCI I added the mount point UUID: e32de9ff-2897-420a-9a8b-e3339dcaeec0 (/dev/sda1, 3815446 MB) /dev/sda ext4 defaults no no
I was thinking /dev/sda is the mount point!
uci set fstab.@mount[0].target="/mnt/sda1"
root@OpenWrt:~# uci commit fstab
root@OpenWrt:~# service fstab boot
block: /dev/ubiblock0_0 is already mounted on /rom
block: /dev/ubi0_1 is already mounted on /overlay
block: /dev/sda1 is already mounted on /mnt/sda1