I'm developing a software that extracts files from a Linux raw image (dd). I use SluethKit to get the partitions & files, however i can't find any files inside /sys & /proc folders.

I know the sysfs & procfs do not contain regular files (as they are loaded to the kernel), but i need to "extract" them somehow...

Any idea how can it be done for forensics (withou mount)?


You can't. Those are virtual filesystems that don't correspond to anything on disk. They're just file-based interfaces to inside the kernel, and only ever exist on-the-fly in RAM.

  • You mean that all the data in those file systems is only created on startup? :0 – Reginiano Apr 4 at 19:30
  • @Reginiano Yes, exactly. – Joseph Sible Apr 4 at 21:18
  • Wow, fascinating! – Reginiano Apr 4 at 21:32
  • 3
    Not even at startup, actually. The data in those filesystem is generated on access. That's how it can reflect the status of the system in real time. – duskwuff Apr 5 at 2:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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