首頁(yè)
社區(qū)
課程
招聘
掛載后復(fù)制固件的一個(gè)錯(cuò)誤?
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
root@bamuwe:/home/bamuwe/pwn_tools/buildroot-2024.02.1/output/images/tmp/root# cp /home/bamuwe/iot/test/ ./
cp: -r not specified; omitting directory '/home/bamuwe/iot/test/'
root@bamuwe:/home/bamuwe/pwn_tools/buildroot-2024.02.1/output/images/tmp/root# cp /home/bamuwe/iot/test/ ./ -r
cp: error writing './test/toolschain/buildroot-gcc342/include/c++/3.4.2/mipsel-linux-uclibc/bits/stdc++.h.gch/O2g': No space left on device
cp: error writing './test/toolschain/buildroot-gcc342/include/c++/3.4.2/mipsel-linux-uclibc/bits/stdc++.h.gch/O0g': No space left on device
cp: error writing './test/toolschain/buildroot-gcc342/include/c++/3.4.2/mipsel-linux-uclibc/bits/c++locale.h': No space left on device
cp: error writing './test/toolschain/buildroot-gcc342/include/c++/3.4.2/mipsel-linux-uclibc/bits/os_defines.h': No space left on device
cp: error writing './test/toolschain/buildroot-gcc342/include/c++/3.4.2/mipsel-linux-uclibc/bits/time_members.h': No space left on device
cp: error writing './test/toolschain/buildroot-gcc342/include/c++/3.4.2/mipsel-linux-uclibc/bits/atomic_word.h': No space left on device
cp: error writing './test/toolschain/buildroot-gcc342/include/c++/3.4.2/mipsel-linux-uclibc/bits/c++io.h': No space left on device
cp: error writing './test/toolschain/buildroot-gcc342/include/c++/3.4.2/mipsel-linux-uclibc/bits/c++allocator.h': No space left on device
cp: error writing './test/toolschain/buildroot-gcc342/include/c++/3.4.2/mipsel-linux-uclibc/bits/c++config.h': No space left on device
cp: error writing './test/toolschain/buildroot-gcc342/include/c++/3.4.2/mipsel-linux-uclibc/bits/ctype_base.h': No space left on device
cp: error writing './test/toolschain/buildroot-gcc342/include/c++/3.4.2/mipsel-linux-uclibc/bits/codecvt_specializations.h': No space left on device
cp: error writing './test/toolschain/buildroot-gcc342/include/c++/3.4.2/mipsel-linux-uclibc/bits/basic_file.h': No space left on device
cp: error writing './test/toolschain/buildroot-gcc342/include/c++/3.4.2/mipsel-linux-uclibc/bits/gthr-default.h': No space left on device
cp: error writing './test/toolschain/buildroot-gcc342/include/c++/3.4.2/ostream': No space left on device
cp: error writing './test/toolschain/buildroot-gcc342/include/c++/3.4.2/stack': No space left on device
cp: error writing './test/toolschain/buildroot-gcc342/include/c++/3.4.2/cstdarg': No space left on device
cp: error writing './test/toolschain/buildroot-gcc342/include/c++/3.4.2/numeric': No space left on device
cp: error writing './test/toolschain/buildroot-gcc342/include/c++/3.4.2/cctype': No space left on device
cp: error writing './test/toolschain/buildroot-gcc342/include/c++/3.4.2/csignal': No space left on device
cp: error writing './test/toolschain/buildroot-gcc342/include/c++/3.4.2/map': No space left on device
cp: error writing './test/toolschain/buildroot-gcc342/include/c++/3.4.2/bitset': No space left on device
cp: error writing './test/toolschain/buildroot-gcc342/include/c++/3.4.2/list': No space left on device
cp: error writing './test/toolschain/buildroot-gcc342/include/c++/3.4.2/queue': No space left on device
cp: error writing './test/toolschain/buildroot-gcc342/include/features.h': No space left on device
cp: error writing './test/toolschain/buildroot-gcc342/include/fpu_control.h': No space left on device
cp: error writing './test/toolschain/buildroot-gcc342/include/neteconet/ec.h': No space left on device
cp: error writing './test/toolschain/buildroot-gcc342/include/memory.h': No space left on device
cp: error writing './test/toolschain/buildroot-gcc342/include/libgen.h': No space left on device
cp: error writing './test/toolschain/buildroot-gcc342/include/atomic.h': No space left on device
cp: error writing './test/toolschain/buildroot-gcc342/include/lastlog.h': No space left on device
cp: error writing './test/toolschain/buildroot-gcc342/include/regex.h': No space left on device
cp: cannot create directory './test/toolschain/buildroot-gcc342/man': No space left on device
cp: cannot create directory './test/toolschain/buildroot-gcc342/mipsel-linux-uclibc': No space left on device
cp: cannot create directory './test/toolschain/buildroot-gcc342/bin': No space left on device
cp: cannot create directory './test/toolschain/buildroot-gcc342/info': No space left on device
cp: error writing './test/REAME': No space left on device
cp: cannot create directory './test/DIR-816_v1.10CNB04': No space left on device
root@bamuwe:/home/bamuwe/pwn_tools/buildroot-2024.02.1/output/images/tmp/root# ls
test
root@bamuwe:/home/bamuwe/pwn_tools/buildroot-2024.02.1/output/images/tmp/root# ls test/
GPL_License_List.pdf  LICENSE.txt  REAME  toolschain
root@bamuwe:/home/bamuwe/pwn_tools/buildroot-2024.02.1/output/images/tmp/root#

下載附件,更名為test,掛載后提示空間不足無(wú)法復(fù)制

1
2
3
C:\             497673816 200205396 297468420  41% /mnt/c
D:\             976744444 212255288 764489156  22% /mnt/d
/dev/loop0          56378     56378         0 100% /home/bamuwe/pwn_tools/buildroot-2024.02.1/output/images/tmp
收藏
1條回答
flatkc 2024-5-9

因?yàn)槟?dev/loop0內(nèi)部的空間已經(jīng)沒(méi)有多余的了,我猜測(cè)應(yīng)該是你想要把編譯環(huán)境丟到固件中,但這是不可能的,因?yàn)楣碳旧砜臻g有限。
如果你希望做什么實(shí)驗(yàn),需要繞過(guò)這個(gè)步驟,例如試著丟一個(gè)gdbserver上去,這樣就不會(huì)讓空間不足了。

回復(fù)
CVE復(fù)現(xiàn)漏洞精講-從基礎(chǔ)到入門(初級(jí)篇)
  參與學(xué)習(xí)     11 人
  提問(wèn)次數(shù)     3 個(gè)
CVE復(fù)現(xiàn)漏洞精講-從基礎(chǔ)到入門;涵蓋IoT、v8、Windows等多類型漏洞知識(shí)點(diǎn)
我的問(wèn)答 領(lǐng)取收益
0
我的提問(wèn)
0
我的回答
0
學(xué)習(xí)收益