Milyen file-rendszer van rajta?

Fórumok

Hi,

N900 (maemo), benne 2GB sd. Probléma adódott a kártyámmal, nem tudta kezelni valami (nitdroid install-uninstall) miatt a készülék... Kivettem, laptopba be, fdisk-reparticionálás, majd mkfs.ext3. Telóba vissza, ekkor már látta, viszont "nem megfelelő formátum". Semmi gond, memóriakártya formázása készüléken belül. Na itt a kérdés: Hogy tudom megnézni, hogy milyen filerendszer lett rajta?

Hozzászólások

Sose volt ilyenem, de ez valami linux féle. A telón mount vagy cat /etc/fstab nem mond értelmeset?

workaround + poén :)
Bedugod, majd mikor felmountolta, akkor dmesg. Hátha ír valamit, nekem legalábbis közölte az SD kártya esetén, hogy:
"FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!"
Szóval ebből kiderült (de amit tudtam is), hogy mezei FAT van rajta. Persze azt nem tudom tesztelni, hogy minden esetben ír-e valamit a filerendszerről vagy csak ha van valami warning stb.

dd if=/dev/sdf1 of=/tmp/xx bs=1024 count=1024
file /tmp/xx

Természetesen a /dev/sdf1 helyett a megfelelő device nevét írd be.

http://linux.die.net/man/1/file

-s, --special-files

Normally, file only attempts to read and determine the type of argument files which stat(2) reports are ordinary files. This prevents problems, because reading special files may have peculiar consequences. Specifying the -s option causes file to also read argument files which are block or character special files. This is useful for determining the filesystem types of the data in raw disk partitions, which are block special files. This option also causes file to disregard the file size as reported by stat(2) since on some systems it reports a zero size for raw disk partitions.