简体   繁体   中英

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...

all it's on same SD card (part1,2, 3) i need to crash the third partition

partition 1 and 2 it's mounted RO, partition 3 RW

thank's Gigi0ne

Not sure if I should be posting this... To be run as 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". cat /proc/mounts or df or fdisk -l can tell you which device you are looking for.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM