3

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?

EDIT:

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.

Irfan Latif
  • 20,353
  • 3
  • 70
  • 213
Aquarius Power
  • 351
  • 3
  • 6
  • 19

1 Answers1

2

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

Trebor Rude
  • 1,064
  • 8
  • 23
  • 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 :( – Aquarius Power Apr 20 '13 at 23:25
  • mmm, seems we can have the file command: http://forum.xda-developers.com/showthread.php?p=25264786, I just dont know if it will work on my android kernel – Aquarius Power Apr 20 '13 at 23:31