martijnvanbrummelen / nwipe

nwipe secure disk eraser
GNU General Public License v2.0
801 stars 86 forks source link

bug? wipes mounted filesystems #26

Closed xoonaetha closed 7 years ago

xoonaetha commented 7 years ago

I'm not sure if this expected behavior, but the following command (at least) will wipe a mounted filesystem, such as the filesystem containing the operating system nwipe is running off of: nwipe --nogui --nowait --autonuke --method=zero --verify=off /dev/sda1

(I expected it would quit with an error if a mounted filesystem was specified.)

martijnvanbrummelen commented 7 years ago

Currently it does not check from which (mounted) fs Nwipe runs. Perhaps in a later version.