摘要 |
Some examples relate to secure file deletion. In an example, request may be received for deleting a file. A hard link of the file to be deleted may be added to special directory. A block assigned to the file overwritten with randomly generated data equal to size of the block. A reference count of the block may be decremented by a single unit, the reference count of the block was previously incremented with a value corresponding to a value assigned to an attribute of the file. A determination may be made whether the reference count of the block is zero. If reference count of the block is zero, the block may be released for further use. A determination may be made whether file size of the file is zero. If file size of file is zero, the hard link of the file may be deleted from the special directory. |