I managed to mount Iphone device to Ubuntu using ifuse as explained here
Now I want to do image recovery using photorec , when I run: photorec ~/iphone
I get the following error:
Unable to open file or device iphone2: Inappropriate ioctl for device
Can you please tell me how I can recover deleted files from iphone connected to Ubuntu using photorec correctly? thanks