cgsecurity / testdisk

TestDisk & PhotoRec
https://www.cgsecurity.org/
GNU General Public License v2.0
1.58k stars 195 forks source link

Digital Ocean /dev/vda support #30

Closed swordfish6975 closed 6 years ago

swordfish6975 commented 7 years ago

Was getting no disk found

root@SERVERNAME:~# df
Filesystem     1K-blocks     Used Available Use% Mounted on
/dev/vda1       41282880 12868100  26317732  33% /
udev             1021904        4   1021900   1% /dev
tmpfs             410280      228    410052   1% /run
none                5120        0      5120   0% /run/lock
none             1025692        0   1025692   0% /run/shm
none              102400        0    102400   0% /run/user
cgsecurity commented 7 years ago

It looks like you are openning each partition, not the disk itself. It may be better to use instead list_disk=hd_glob_parse("/dev/vd?", list_disk, verbose, testdisk_mode);

Can you check ?

swordfish6975 commented 7 years ago

cant check, couldn't figure out how to build but that looks better then what i did.

I can give you access to a Digital Ocean box if you need to check?