본문 바로가기

개발 개발/Android

ext4 minimum partition size , ext4 최소 크기

출처 : http://www.linuxquestions.org/questions/linux-general-1/minimum-partition-size-946423/

결론은 2M 부터 가능

  • Try smaller and smaller sizes until you find the limit. This will be tedious---at least using fdisk, I can't create a new partition and install a file system without rebooting
  • $ dd if=/dev/zero of=disk-image count=4096
    4096+0 records in
    4096+0 records out
    2097152 bytes (2.1 MB) copied, 0.0406892 s, 51.5 MB/s
    $ ls -l disk-image
    -rw-r--r--. 1 colucix users 2097152 May 24 12:04 disk-image
    $ /sbin/mkfs -t ext4 -q disk-image
    disk-image is not a block special device.
    Proceed anyway? (y,n) y
    $ file disk-image 
    disk-image: Linux rev 1.0 ext4 filesystem data (extents) (huge files)
  • The limit of an ext4 filesystem should be 4096 blocks of 512 bytes, that is about 2 Mb. It depends on the minimum size to store the filesystem journal, other than inode and superblock sizes that are smaller. This is from a theoretical point of view, since - as already pointed out - a physically minimum filesystem is not usable.



'개발 개발 > Android' 카테고리의 다른 글

android reboot  (0) 2012.09.18
Bootchart on Android  (0) 2012.07.03
ext4 minimum partition size , ext4 최소 크기  (0) 2012.06.10
adb로 메모리 정보 주기적으로 보기  (0) 2012.05.29
Debugging Deadlocks on Android  (0) 2012.05.24
ICS에서 MTP대신 Mass Storage 추가하기  (3) 2012.05.16