![]() (The drivers are represented in your file system hierarchy within the /dev directory.) But in order for the filesystem software to perform the actual read and writes to the drive, there needs to be present a device driver that does the actual controlling of the device itself, as shown in the left side of the next figure. The filesystem software determines where to write the sectors of data and how to organize them, including the creation of metadata that describes the filenames and how they’re organized, and so on. Now that we’re clear on how block-level devices work, consider this: The operating system uses its filesystem software to write the sectors of data to the drive. Different filesystems use different means to organize the data, and also include various security mechanisms the end result is different file systems such as ext4 and NTFS. To manage the files, the filesystem uses different types of indexes that it also stores on the disk. When you read a file, the filesystem figures out which sectors the data is on, and then reads those sectors and reconstructs the file for you. ![]() When you save a file, the filesystem software figures out the sectors to write to. When an operating system works with a local drive, the operating system uses filesystem software to format the drive, and then read and write individual sectors. And to ask the right questions, you need to understand how block storage works. This is the approach I’m taking here, but for this there are many other questions you need to ask. Linux would encrypt the file before actually writing it to the disk, and decrypt it after reading it back. In the case of Linux taking care of it, LibreOffice would have to do nothing other than read and write the files as it currently does. odt word processing document, and encrypt it, and then write the encrypted results to the file system as a single file, as in the following figure? Or would they like Linux to take care of the encryption itself at the file system level? People from time to time say they want to encrypt their data, but there’s a fundamental part missing in what they’re asking: What exactly do they want to encrypt? Do they want to encrypt their data from within a software package, and then store that data to the hard drive in a single file? For example, would they like LibreOffice to create an entire. And that’s what I’m going to address here, after which I’ll give you some pointers on how to accomplish the encryption, and then point you to the other resources. Second, it’s important to understand the technical details of the problem. So I’m going to point you to a couple of really good resources I managed to find. Before we dive into this, I want to make two points:įirst, it’s hard to find decent information on the web about this. ![]() ![]() One common question we get from readers is about how to implement a file system encryption method for Linux. And “filesystem” refers to the software that manages the files and directories. Editor’s Note: File system as two words refers to the layout of your directories, which includes things like the /dev directory that represent different hardware devices and don’t actually refer to files on your disk drive.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |