findbtc
findbtc copied to clipboard
Error "Unable to scan target: bad file descriptor" on fresh install of Ubuntu 16.04.3
When I run findbtc /dev/sda
or findbtc /dev/sdb
(for my external drive) I get the following error:
[scan] Starting new target: /dev/sda
[scan] Unable to scan target: bad file descriptor
[COMPLETE]
This is on a fresh install of Ubuntu 16.04.3 with golang 1.6 installed from the Ubuntu repositories.
Output of ll /dev/sd*
:
brw-rw---- 1 root disk 8, 0 Jan 22 07:29 /dev/sda
brw-rw---- 1 root disk 8, 1 Jan 22 07:29 /dev/sda1
brw-rw---- 1 root disk 8, 2 Jan 22 07:29 /dev/sda2
brw-rw---- 1 root disk 8, 5 Jan 22 07:29 /dev/sda5
brw-rw---- 1 root disk 8, 16 Jan 22 07:34 /dev/sdb
brw-rw---- 1 root disk 8, 17 Jan 22 08:06 /dev/sdb1
Am I perhaps making a simple mistake?
Hey, sorry for the slow feedback loop here. Could you try running findbtc
as root? I'd expect it would error out with permission denied
if that were the issue, but you never know.
If that doesn't help, could you please provide the output of uname -a
, and I'll see if I can replicate in a docker container.