All of lore.kernel.org
 help / color / mirror / Atom feed
* Impossible or Possible to Securely Erase File on Btrfs?
@ 2013-03-18 18:15 Kyle
  2013-03-18 18:57 ` Hugo Mills
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Kyle @ 2013-03-18 18:15 UTC (permalink / raw)
  To: linux-btrfs

Hi,

After reading through the btrfs documentation I'm curious to know if 
it's possible to ever securely erase a file from a btrfs filesystem (or 
ZFS for that matter). On non-COW filesystems atop regular HDDs one can 
simply overwrite the file with zeros or random data using dd or some 
other tool and rest assured that the blocks which contained the 
sensitive information have been wiped. However on btrfs it would seem 
any such attempt would write the zeros/random data to a new location, 
leaving the old blocks with the sensitive data intact. Further, since 
specifying NOCOW is only possible for newly created files, there seems 
to be no way to overwrite the appropriate blocks short of deleting the 
associated file and then filling the entire free filesystem space with 
zeros/random data such that the old blocks are eventually overwritten. 
What's the verdict on this?

Regards,

Kyle

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2013-03-20 19:20 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-18 18:15 Impossible or Possible to Securely Erase File on Btrfs? Kyle
2013-03-18 18:57 ` Hugo Mills
2013-03-18 19:09   ` Chris Murphy
2013-03-18 23:00     ` Kyle
2013-03-19  4:41       ` Chris Murphy
2013-03-18 19:18 ` Chris Mason
2013-03-18 22:48   ` Gareth Pye
2013-03-19  9:19     ` David Sterba
2013-03-19  3:18   ` Chris Murphy
2013-03-19  9:06     ` David Sterba
2013-03-20  0:52       ` Chris Murphy
2013-03-19 22:46 ` Marek Otahal
2013-03-20 19:20   ` Martin Steigerwald

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.