These commands won't work:

fdisk -l      #outputs nothing...
su; fdisk -l  #nothing..
sudo fdisk -l #sudo not found...
parted -l     #parted not found...

Is there any app that shows that easly?


For now I had to attach the sdcard to PC and let Linux mount it, I found the partition was ext3 and not ext2 that I thought! All I read says partition must be mounted to know its type. I think we must create a path and mount it with automatic detection and see mount output to know the partition type.


Have you got the file command available? This question on SuperUser says that's the way to go.

  • very interesting, on my PC, this command: sudo file -Ls /dev/sda4; shows, without mounting, that the filesystem is ext4! but file command isnt available on my android :(, I have busybox, but no file command was found :( Apr 20 '13 at 23:25
  • mmm, seems we can have the file command: forum.xda-developers.com/showthread.php?p=25264786, I just dont know if it will work on my android kernel Apr 20 '13 at 23:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.