|
发表于 2019-10-12 10:25:11
|
显示全部楼层
0 N9 k1 p' d4 w2 {+ j, p! n
特权模式下,第一步就不行了,然后ls -l /dev/mtd* 可以看到! u, c: M# F9 D
crw------- 1 root root 90, 0 Jan 1 08:00 /dev/mtd0 - d7 Z. ~( b. J# U
crw------- 1 root root 90, 1 Jan 1 08:00 /dev/mtd0ro
# {, i* a( [/ B* g) Q$ o4 Wcrw------- 1 root root 90, 2 Jan 1 08:00 /dev/mtd1
1 d: U5 w- w" q/ Ccrw------- 1 root root 90, 3 Jan 1 08:00 /dev/mtd1ro
6 P; d& I9 V8 L8 u: F1 U* Z- N# vcrw------- 1 root root 90, 4 Jan 1 08:00 /dev/mtd2 5 b& S; ^. P; }% C
crw------- 1 root root 90, 5 Jan 1 08:00 /dev/mtd2ro 0 x9 n b1 ]+ ^4 h v# b8 \2 |
crw------- 1 root root 90, 6 Jan 1 08:00 /dev/mtd3
5 u' m, F& ^" y3 l( E4 P! ]crw------- 1 root root 90, 7 Jan 1 08:00 /dev/mtd3ro " h6 Z6 T( Z- j! v4 g. `
brw------- 1 root root 31, 0 Jan 1 08:00 /dev/mtdblock0
3 `/ I1 _9 I( m% O j/ E; dbrw------- 1 root root 31, 1 Jan 1 08:00 /dev/mtdblock1 ; y; F; K2 ~5 y+ J- f) e$ q
brw------- 1 root root 31, 2 Jan 1 08:00 /dev/mtdblock2
- E) F- z/ N: J3 J) |# fbrw------- 1 root root 31, 3 Jan 1 08:00 /dev/mtdblock3 5 L8 @6 M" P/ G/ V- E3 P0 N! d
但是执行有如下错误
8 e* @- _$ r1 a9 Xsh-4.3# dd if=fullcat.bin of=/dev/mtd0
% |! l3 G$ U. Mdd: writing to '/dev/mtd0': No space left on device . o! S1 M- F/ e: ^
1601+0 records in 0 `% ^ Y& N$ y+ V9 V0 U3 K" ~
1600+0 records out
N& _% A2 K! z, H9 t819200 bytes (819 kB, 800 KiB) copied, 1.40157 s, 584 kB/s
: T5 U/ P" I% lsh-4.3# dd if=fullcat.bin of=/dev/mtd0ro
l. b0 S# B1 L( M$ add: failed to open '/dev/mtd0ro': Permission denied : E. W( M% l6 N z
sh-4.3# chmod 777 /dev/mtd0ro , E8 o! o- U+ u; K2 B
sh-4.3# dd if=fullcat.bin of=/dev/mtd0ro ^: {1 D4 m) H
dd: failed to open '/dev/mtd0ro': Permission denied # v5 e W/ e) C' Y, s$ Y- _6 F
sh-4.3#
; b$ }; T, X- g7 B |
|