[英]I need to crash partition on linux disk
It's possible to crash one partition? 有可能崩溃一个分区吗?
I need to crash one of the linux ext4 partition of one SD disk, to check if, my script of crash recovery, working... 我需要崩溃一个SD磁盘的linux ext4分区之一,检查是否,我的崩溃恢复脚本,工作...
all it's on same SD card (part1,2, 3) i need to crash the third partition 所有它都在同一张SD卡上(第1,2,3部分)我需要崩溃第三个分区
partition 1 and 2 it's mounted RO, partition 3 RW 分区1和2它安装了RO,分区3 RW
thank's Gigi0ne 谢谢你的Gigi0ne
Not sure if I should be posting this... To be run as root: 不确定我是否应该发布这个...以root身份运行:
# note: very dangerous thing to do:
dd if=/dev/urandom of=/dev/sda3 bs=1M
where sda3
is the partition you need to "crash". 其中sda3
是你需要“崩溃”的分区。 cat /proc/mounts
or df
or fdisk -l
can tell you which device you are looking for. cat /proc/mounts
或df
或fdisk -l
可以告诉您正在寻找哪个设备。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.