Coder Social home page Coder Social logo

lde's Introduction

CMake-Linux CMake-OSX CMake-MSVS Coverity Scan Build Status Quality Gate Status CodeQL

This is lde, the Linux disk editor, for Minix/Linux partitions. It supports what were once the three most popular file systems under Linux: ext2fs, minix, and xiafs (there is also a "nofs" system under which lde will function as a binary editor). There is also minimal support for msdos/fat filesytems and very minimal support for ISO9660 cdrom based filesystems. lde allows you to view and edit disk blocks as hex and/or ASCII, view/navigate directory entries, and view and edit formatted inodes. Most of the functions can be accessed using the program's curses interface or from the command line so that you can automate things with your own scripts.

lde can also be used to recover files which may have been accidentally erased or just to poke around the file system to see what it's made of. I've included a short introduction to the Minix file system (just enough to get the ideas of blocks and inodes across to most people) and some docs on the ext2fs (mostly just data out of <linux/ext2_fs.h> formatted as tables to make wading through the disk blocks a little bit easier). If you aren't familiar with inode based file systems, you should have a look at those files before proceeding to the doc/UNERASE file, which details what I think you might try to recover a file.

There is no tutorial, but there is a detailed man page. Look at docs/lde.man (or docs/lde.man.text) for information on running lde from the command line and using its ncurses interface. For more information on compiling, installing, or running lde for the first time, see INSTALL and INSTALL.LDE.

This project started as a major hack to fsck. In the first few months of the project, most of the fsck code evaporated as I added support for the xiafs and ext2fs file systems, but there is still some code which should be credited to Linus Torvalds. Also, some of the code in ext2fs.c has worked its way out of Remy Card's e2fsprogs.

Development has been moved to github. The project homepage is https://sheavner.github.io/lde or check the project page at https://github.com/sheavner/lde. They both contain links back to the other. Older versions of the project can be found at http://lde.sourceforge.net

If you find lde useful, send me email and a postcard -- email for instant gratification and a postcard, so I'll have some tangible evidence of a userbase. I won't turn away cash or gifts if you feel any urges to bestow them upon me.

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.