Author Topic: Determine File Format For Sd & Cf  (Read 2015 times)

jagrka

  • Jr. Member
  • **
  • Posts: 80
    • View Profile
    • http://
Determine File Format For Sd & Cf
« on: September 26, 2005, 05:29:34 am »
Is there any command issued from the console that will tell me the format of my SD and CF cards? I 'm wondering if my various cards are FAT, MS-DOS, or EXT2.
I was unable to find an answer to this question by searching the forums and google, so perhaps someone might enlighten me. Thanks!
Zaurus SL-C760/Sharp ROM 1.40 JP
Linux Kernel 2.4.18-rmk7-pxa3-embedix, Tetsu Special Kernel 14e
Transcend 2GB SD Card (with SD-Link11b driver)
Planex Communications GW-CF11H Wi-Fi CF Card
Kwins for PDA KW-H128C2 PHS Communications CF Card

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Determine File Format For Sd & Cf
« Reply #1 on: September 26, 2005, 09:31:15 am »
If they're mounted, then you can issue the 'mount' command and it'll tell you what they are mounted as. You can use fdisk to tell yo uthe partition type, but this need not match the actual fs type afaik.

Obviously fsck and mount are able to determine the fs type automagically (most of the time) so perhaps look into what they do,


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva