4 ms·
I suggest you patch the call to rm with a call to srm: http://en.wikipedia.org/wiki/Srm_(Unix) http://en.wikipedia.org/wiki/Srm_(Unix)
by pnathan 16y ago
I suggest you patch the call to rm with a call to srm:
http://en.wikipedia.org/wiki/Srm_(Unix) http://en.wikipedia.org/wiki/Srm_(Unix)
- apgwoz 16y ago...or at least use shred(1) and then rm(1)
- pnathan 16y agoSix of one, half a dozen of the other? Also note that there are interesting complications in relation to file data long-term storage on SSD drives. It should be investigated.
- koenigdavidmj 16y agoOr journaling file systems.
- AdmiralBeotch 16y agoBetter to mount /dev/ram0 and do your encryption there. Then shred; rm -rf; umount for the win.