Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Post virtual filesystem


    I am working on virtual file system in the kernel, my requirement is I want add some more header information to the file when the data is written to the filesystem during this time the control comes to vfs_write() function, in this function I have to add the header information to the file and storing into the filesystem and similarly when the user trying to open the file for reading the system will comes to vfs_read() function , here I have to remove the header and give normal information to user.

    Can somebody tell me how I can add the header information.

    Thanking you

  2. #2
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    3rd rock from sun - Often seen near moon
    Are you trying to provide checksum for data? I heard brtfs file system provides data check-sum. Dropping a mail to file system developers is better option.

    First they ignore you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    FOSS India Award winning ext3fs Undelete tool Online Linux Terminal

  3. #3

    Vfs fileheader

    Hi ,

    I want to add some more extra information like I want to encrypt the file and keep the encrypted information in the file header itself.
    Thanking u

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts