Linux file system-based file complete deletion method and device

A file system and complete deletion technology, applied in the field of data cleaning, can solve problems such as inability to completely delete data, failure, and no guarantee of validity, and achieve the effect of reliable design principle, elimination of disk data and traces, and simple structure

Inactive Publication Date: 2019-04-19
中孚安全技术有限公司 +2
View PDF5 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] Under the Linux operating system, to delete the files and directories of the machine, usually use the rm command or delete directly through the interface, which cannot completely delete the data
On Linux, you can also use the shred command or wipe to completely delete files, but there are some invalid or not guaranteed effective scenarios, one of which is "record structure or log file system", that is to say, in the ext3 log system data= In journal mode, it is not guaranteed to be effective

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Linux file system-based file complete deletion method and device
  • Linux file system-based file complete deletion method and device
  • Linux file system-based file complete deletion method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0062] In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described The embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.

[0063] Key terms appearing in this application are explained below.

[0064]figure 1 is a schematic flowchart of a method in an embodiment of the present application. in, figure 1 The execution subject may be a file system complete deletion device.

[0065] Such as figure 1 As shown, the method 100 includes:

[0066] Step 110, read...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a linux file system-based file thorough deletion method and apparatus. The method comprises the steps of reading a block group descriptor table of a disk partition where a target file is located, and obtaining an i node table initial block number of each block group according to a content structure of the block group descriptor table; Obtaining corresponding i node information according to the i node number of the target file and the i node table starting block number of the block group; Clearing file data of the target file according to the i node information corresponding to the target file; Cleaning the directory entry of the target file according to the i node information corresponding to the directory entry of the parent directory of the target file; And clearing the log of the file system where the target file is located according to the i node information corresponding to the file system log. According to the method, it can be guaranteed that disk data andtraces of the target file are thoroughly eliminated, logs are deleted, and data recovery through technical means is avoided.

Description

technical field [0001] The invention belongs to the technical field of data cleaning, and in particular relates to a method and device for completely deleting files based on a Linux file system. Background technique [0002] Under the Linux operating system, to delete the files and directories of the machine, usually use the rm command or directly delete through the interface, which cannot completely delete the data. On Linux, you can also use the shred command or wipe to completely delete files, but there are some invalid or not guaranteed effective scenarios, one of which is "record structure or log file system", that is to say, in the ext3 log system data= In journal mode, it is not guaranteed to be valid. Contents of the invention [0003] Aiming at the deficiencies of the prior art, the present invention provides a method, device, terminal and storage medium for completely deleting a file system to solve the above technical problems. [0004] In the first aspect, th...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F16/16
Inventor 王鑫鑫王金国崔新安
Owner 中孚安全技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products