Coder Social home page Coder Social logo

ext2fs's Introduction

EXT2 File System

How To Build

Run make all in the project directory.

It will produce an executable called je2fs in the bin/ directory.

Testing the File System

First create an image file for the disk with 512 blocks of size 1024 bytes.

dd if=/dev/zero of=disk.img bs=1024 count=512

Format the disk with ext2 file system using mke2fs.

mke2fs -t ext2 -b 2048 -N 64 disk.img

Program is going to work with the disk.img file you created. In order to monitor the filesystem you can mount it to a directory.

sudo mount -o loop disk.img fs-root/

Commands

./je2fs disk.img mkdir </abs/path/to/dirname>
./je2fs disk.img rmdir </abs/path/to/directory>
./je2fs disk.img rm </abs/path/to/file>

ext2fs's People

Watchers

Eren Çolak 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.