0

I want to write code to save records of FAT file modifications when running applications on the local file system ext4 of the virtual machine using normal system calls input / output (eg, open, write, etc.). With these registrations I have to record changes to FAT system structures such as superblock, file allocation table, directory entries and file data not just calls systemic. To check the proper operation of my implementation in LKL I will have to try different applications that make changes to the system FAT files (eg, / tmp / vfatfile) and record the changes to a file (eg / tmp / journal) of the Linux ext4 filesystem running the implementation of the LKL.

SeraFM
  • 3
  • 3
  • You describe your task or/and your intentions. But what is a **question**? We cannot write an answer without the question. – Tsyvarev Apr 27 '22 at 18:54
  • My question is Where I have to open (create) the txt file in the Linux Kernel source code? – SeraFM Apr 29 '22 at 13:58
  • If you ask about **how** to create a file in the kernel code, then see [that question](https://stackoverflow.com/questions/1184274/read-write-files-within-a-linux-kernel-module). If you ask about where FAT filesystem is implemented, then it is `fs/fat` directory: https://elixir.bootlin.com/linux/v3.9.11/source/fs/fat. – Tsyvarev Apr 29 '22 at 14:03

0 Answers0