Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Post History

60%
+1 −0
Q&A What does Gnome Disks "erase" do?

Not quite sure what exactly happens, but the Erase option should do something like overwriting the data that used to be on the disk. When formatting a disk, typically only the partition tables are...

posted 9mo ago by mr Tsjolder‭

Answer
#1: Initial revision by user avatar mr Tsjolder‭ · 2023-08-14T19:59:09Z (9 months ago)
Not quite sure what exactly happens, but the Erase option should do something like overwriting the data that used to be on the disk.
When formatting a disk, typically only the partition tables are reset and the disk would look empty.
The data, as in the bytes that make up the files, will typically remain on the disk and can therefore typically easily be recovered.

As I said, I am not sure what exactly Erase does.
I would suspect that it just sets all the bytes on the disk to zero.
As explained on the [Arch Wiki page](https://wiki.archlinux.org/title/Securely_wipe_disk), you can use `dd` on the CLI to do exactly this.
You can also overwrite with random data for even better security.