If we do disk encryption on a drive and add some files later on, will they be encrypted or not?

closed as unclear what you're asking by S.L. Barth, forest, ThoriumBR, Matthew, Josef Sep 18 '18 at 11:02

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • Please note that disk encryption only helps when somebody steals your hardware. It does NOT prevent rogue software from reading files on disk as the OS de-crypts files for everything running.It would not help against wannacry++, for example. – thecarpy Sep 11 '18 at 10:05

Yes it will be encrypted.

This is (basically) because of the operating system replacing several calls for file I/O and other operations of ran in encrypted "mode". This paper states on a very basic level what happens:

When a user requests access to a file (i.e., creates, opens, or deletes a file), the request is sent to the operating system input/output (I/O) manager, which forwards the request to the file system manager. The file system manager processes data in blocks.

Life with encryption: business as usual

Most whole disk encryption software operates in conjunction with the file system architecture. It filters I/O operations for one or more file systems or file system volumes. When a drive is encrypted with whole disk encryption for the first time, it converts unencrypted drive blocks into encrypted blocks one at a time (Figure 2).

Not the answer you're looking for? Browse other questions tagged or ask your own question.