by boteium » Mon Feb 01, 2016 5:34 pm
What should I be looking at ? I have no idea what to do.
$this->bbcode_second_pass_code('', '[yusuf@nsa ~]$ ls -l /dev/mtd*
crw------- 1 root root 90, 0 Feb 2 00:16 /dev/mtd0
crw------- 1 root root 90, 1 Feb 2 00:16 /dev/mtd0ro
crw------- 1 root root 90, 2 Feb 2 00:16 /dev/mtd1
crw------- 1 root root 90, 3 Feb 2 00:16 /dev/mtd1ro
crw------- 1 root root 90, 4 Feb 2 00:16 /dev/mtd2
crw------- 1 root root 90, 5 Feb 2 00:16 /dev/mtd2ro
crw------- 1 root root 90, 6 Feb 2 00:16 /dev/mtd3
crw------- 1 root root 90, 7 Feb 2 00:16 /dev/mtd3ro
crw------- 1 root root 90, 8 Feb 2 00:16 /dev/mtd4
crw------- 1 root root 90, 9 Feb 2 00:16 /dev/mtd4ro
crw------- 1 root root 90, 10 Feb 2 00:16 /dev/mtd5
crw------- 1 root root 90, 11 Feb 2 00:16 /dev/mtd5ro
crw------- 1 root root 90, 12 Feb 2 00:16 /dev/mtd6
crw------- 1 root root 90, 13 Feb 2 00:16 /dev/mtd6ro
crw------- 1 root root 90, 14 Feb 2 00:16 /dev/mtd7
crw------- 1 root root 90, 15 Feb 2 00:16 /dev/mtd7ro
crw------- 1 root root 90, 16 Feb 2 00:16 /dev/mtd8
crw------- 1 root root 90, 17 Feb 2 00:16 /dev/mtd8ro
')
$this->bbcode_second_pass_code('', '[root@nsa boot]# cat /proc/mtd
dev: size erasesize name
mtd0: 00100000 00020000 "uboot"
mtd1: 00080000 00020000 "uboot_env"
mtd2: 00080000 00020000 "key_store"
mtd3: 00080000 00020000 "info"
mtd4: 00a00000 00020000 "etc"
mtd5: 00a00000 00020000 "kernel_1"
mtd6: 02fc0000 00020000 "rootfs1"
mtd7: 00a00000 00020000 "kernel_2"
mtd8: 02fc0000 00020000 "rootfs2"
')