Coder Social home page Coder Social logo

ext2util's Introduction

ext2util 0.1

Command line interface for writing and reading files for ext2 images

I've moved most of my development pipeline to the Windows Subsystem for Linux, and really like it. However, WSL doesn't provide an ability to mount disk image files, since there is no loop device. I needed a tool to be able to read/write/debug ext2 disk image files - so I wrote one.

features:

  • support for variable logical block sizes
  • file read/write operations (by name, or by specific inode number)
  • listing files in directories
  • direct display of block and inode information

usage:

 
-x [disk.img]
-w is write (-i designates inode, optional | -f designates file to write)
-r is read (non functional)
-d is dump inode information
-l is ls root directory

options can be combined like any other getopt program,

$ ./ext2util -x disk.img -wdi 5 -f stage.bin

To generate an ext2 image, execute the following commands:

$ dd if=/dev/zero of=ext2.img bs=1k count=16k
$ mke2fs ext2.img

ext2util's People

Contributors

bringey avatar lazear avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

ch3ll0v3k bringey

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.