Results 1 to 2 of 2

Thread: how to read ext4 journal information?

  1. #1
    Join Date
    Nov 2012
    Location
    Sanya, China
    Posts
    219

    Default how to read ext4 journal information?

    ext4 journal contains every actions performed to file system files.
    i wanna know :
    1. how to read ext4 journal information? is there any easy-to-use tools? or i have to write my own program using jbd2 header files and other source files?
    2. is it possible to retrieve all meta infos for files under' a specified directory from ext4 journal without walk through this directory? the meta info i mentioned should includes: file name, file path, last modified name , creation time etc.

  2. #2

    Default Re: how to read ext4 journal information?

    Quote Originally Posted by redhatlinux10 View Post
    ext4 journal contains every actions performed to file system files.
    i wanna know :
    1. how to read ext4 journal information? is there any easy-to-use tools? or i have to write my own program using jbd2 header files and other source files?
    Check debugfs man page. Maybe logdump does what you want.

Posting Permissions

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