Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # dd if=/dev/zero of=/data/system.bin bs=1048576 count=30
- dd if=/dev/zero of=/data/system.bin bs=1048576 count=30
- 30+0 records in
- 30+0 records out
- #
- # /data/local/mke2fs_recvy /data/system.bin
- mke2fs 1.40.8 (13-Mar-2008)
- system.bin is not a block special device.
- Proceed anyway? (y,n) y
- y
- Filesystem label=
- OS type: Linux
- Block size=1024 (log=0)
- Fragment size=1024 (log=0)
- 7680 inodes, 30720 blocks
- 1536 blocks (5.00%) reserved for the super user
- First data block=1
- Maximum filesystem blocks=31457280
- 4 block groups
- 8192 blocks per group, 8192 fragments per group
- 1920 inodes per group
- Superblock backups stored on blocks:
- 8193, 24577
- Writing inode tables: done
- Writing superblocks and filesystem accounting information: done
- This filesystem will be automatically checked every 20 mounts or
- 180 days, whichever comes first. Use tune2fs -c or -i to override.
- #
- #
- # losetup /dev/block/loop0 /data/system.bin
- losetup /dev/block/loop0 /data/system.bin
- # cd /dev/block
- # ls -l
- ls -l
- ...
- brw------- 1 0 0 7, 0 Apr 3 09:38 loop0
- ...
- # mv mtdblock4 mtdblock4-
- # mknod mtdblock4 b 7 0
- # mount /dev/block/mtdblock4 /system
- # ls /system
- ls /system
- lost+found
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement