首页
社区
课程
招聘
挂载后复制固件的一个错误?
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,挂载后提示空间不足无法复制

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

因为您/dev/loop0内部的空间已经没有多余的了,我猜测应该是你想要把编译环境丢到固件中,但这是不可能的,因为固件本身空间有限。
如果你希望做什么实验,需要绕过这个步骤,例如试着丢一个gdbserver上去,这样就不会让空间不足了。

回复
CVE复现漏洞精讲-从基础到入门(初级篇)
  参与学习     17 人
  提问次数     3 个
CVE复现漏洞精讲-从基础到入门;涵盖IoT、v8、Windows等多类型漏洞知识点
我的问答 领取收益
0
我的提问
0
我的回答
0
学习收益