chaos / scrub

disk overwrite utility
GNU General Public License v2.0
71 stars 22 forks source link

Do not Cross Mount Points (into SSD partitions) #26

Closed stef204 closed 3 years ago

stef204 commented 3 years ago

How does one use the -X option, for example, in such a way that scrub does not cross mount points (into mounted partitions on an SSD)?

Example:

# cd /
# scrub -X erase

if there is an SSD mounted on /mnt/ssX?

garlick commented 3 years ago

scrub -X PATH doesn't traverse the file tree. It just creates PATH as a directory, and fills it with junk to try to overwrite all the free space in the file system.

stef204 commented 3 years ago

OK, thanks. let's close this.