News: 0001193558

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

F2FS Preparing To Introduce New "Secure Erase" Functionality

([Linux Storage] 57 Minutes Ago F2FS_IOC_SEC_TRIM_FILE)


A new feature that's been in development for a while with the Flash-Friendly File-System (F2FS) looks set to land with the forthcoming Linux 5.9 cycle.

F2FS_IOC_SEC_TRIM_FILE is a new ioctl for allowing secure TRIM/DISCARD erase of specific files. In case of DISCARD not being supported, zeroing out of the data range for the regular file is performed.

This interface is intended to be used as a "secure erase" feature for the file-system if wanting to securely wipe a file from disk. Of course, it will still be up to user-space for supporting and making use of the ioctl.

Wiring up of F2FS_IOC_SEC_TRIM_FILE is within [1]the F2FS dev branch meaning it should arrive for Linux 5.9.



[1] https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git/commit/?h=dev&id=35245180459aebf6d70fde88a538f0400a794aa6

phoronix

We are MicroSoft. You will be assimilated. Resistance is futile.
-- Attributed to B.G., Gill Bates