Pergunta

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

Foi útil?

Solução

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top