Code Monkey home page Code Monkey logo

regfs-rs's Introduction

regfs-rs

A re-implementation of RegFS, a sample project for the Windows Projected File System (ProjFS), in the Rust language.

The original project is written in C++, and licensed by Microsoft under the MIT License.

For more information, please refer to the original project.

Running

This project can be run in almost exactly the same way as the original project, except that one should use cargo build to build the project, instead of Visual Studio. Also, please make sure you have ProjFS enabled on your local system (details in the original project's documentation).

Logs are disabled by default. To enable logging, set the environment variable RUST_LOG to the log level you want, e.g. debug or trace.

Notes

Note that several quirks exist in this project, due to the project's simplified implementation. (These quirks also exist in the original project.) For example:

  • The file system cannot distinguish between different value types; values are represented in their raw forms (e.g. DWORD values are simply represented as 4 bytes, and strings are represented by null-terminated wide strings).
  • It is not able to display keys and values with illegal characters (such as * and /) in their names (interestingly, these characters are not prohibited in registry hives).
  • Keys or values whose names end with . may not be accessible (may result in an error when accessed).
  • Most file attributes (creation / modification time, security attributes, etc.) are not present; specifically, only file names and sizes are supplied.
  • If the program is run multiple times, multiple instances of a same file / directory may show up in the directory listings (probably due to the absence of correct file attributes).

Due to the lack of write support, any changes made to the file system will not be reflected in the system registry. It may be non-trivial to add write support to the current implementation.

regfs-rs's People

Contributors

kazurin-775 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.