Coder Social home page Coder Social logo

nullfs's Introduction

nullFS File System

nullFS is an educational research project. It is a full implementation of a Windows installable file system that doesn't do any real work. It will allow full operation of the file system: creating files, deleting files, reading and writing data, etc. But it will not actually store the data anywhere. Read operations will be successful, but will always return zero-filled buffers. Write operations will succeed but not persist the data anywhere.

Testing Environment

  1. Windows 10/11 VM (x64 only)
  2. Copy files to test VM:
    • nullFS.sys
    • nullFS.inf
    • nullFSIntegrationTests.exe
    • You can use .\test\scripts\updateTestVm.ps1 to copy these files, but must set the DRIVER_DEV_VM_NAME and DRIVER_DEV_VM_PATH environment variables first.
  3. Install driver by double-clicking nullFS.inf
  4. Enable driver verifier
    • verifier.exe /flags standard /driver nullFS.sys
  5. Restart VM
  6. Attach a kernel debugger
  7. [Optional] Enable wmitrace output to debugger
    • !wmitrace.enable nullFS 4FE5B599-1715-4296-B97E-FE7EB2E28FC3 -level 5
    • !wmitrace.start nullFS
    • !wmitrace.kdtracing nullFS 1
  8. Run tests
    • nullFSIntegrationTests.exe --gtest_filter=*

Future work items

  1. Create a debugger extension to dump the file system state

nullfs's People

Contributors

lordjeb avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.