Coder Social home page Coder Social logo

filesystem-kind-rs's People

Contributors

ryanavella avatar

Watchers

 avatar

filesystem-kind-rs's Issues

Linux support

Unlike FreeBSD, Linux doesn't have a f_fstypename field on struct statfs. However, it does provide a f_type field that contains a magic number corresponding to each filesystem. The full list of magic numbers resides in /usr/include/linux/magic.h, and they are also available in the libc crate, so this could possibly be done with a few tweaks to the FreeBSD code.

Naming conventions for FilesystemName

Right now, some filesystems end in "fs," while others do not. Should we favor consistency, or should we try to stick to the common renderings? Right now I try my best to match the name as it is shown on Wikipedia, but abiding by the typical Rust convention of not capitalizing each letter in an enum if it is part of an acronym.

What about emulated filesystems?

Should we classify e.g. linprocfs differently than procfs? As far as I can tell, both filesystems can be mounted on FreeBSD and it is possible to distinguish between the two, although the latter appears to be deprecated.

NetBSD Support

On the surface it looks like NetBSD and FreeBSD could share the same code, but I don't have a way to test this at the moment.

macOS support

On the surface it looks like macOS and FreeBSD could share the same code, but I don't have a way to test this at the moment.

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.