My laptop for some reason will not power an external 2.5" HDD, so I am using a Raspberry PI to connect to the drive.
The problem is, I am struggling to perform tasks such as formatting disks and backing-up/restoring partitions. For example:
$ sshfs firstname.lastname@example.org:/dev/ /media/pi-dev # ntfsclone -r -O /media/pi-dev/sda1 backup.iso [sudo] password for zaz: ntfsclone v2016.2.22AR.2 (libntfs-3g) ERROR(13): Couldn't access 'dev/sda1': Permission denied
How can I use
sshfs to mount device files so that I can work with partitions?