Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

I have a android mobile with gingerbread 2.3.4 installed.

I want to know if my device(kernel) supports ext2 filesystem. Is there any terminal command to check the support for ext2 filesystem ?

share|improve this question

1 Answer 1

up vote 3 down vote accepted

cat /proc/filesystems is the typical Linux/Unix way of determining this. It works fine on CyanogenMod, but I'm not sure about other ROMs. If you want to filter out all of the other supported filesystems you could grep the output, too (assuming you've got grep, of course):

# cat /proc/filesystems | grep 'ext*'
    ext2
    ext3
    ext4
#
share|improve this answer
    
Thanks. The output is showing nodev word before some filesystems, what is nodev??? –  sam Jan 27 '12 at 19:55
1  
@sam: Taken from Redhat's documentation: "The first column signifies whether the file system is mounted on a block device. Those beginning with nodev are not mounted on a device." You'll usually see "virtual" filesystems with the nodev flag, I believe (like sysfs or rootfs). –  eldarerathis Jan 27 '12 at 20:23

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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