ext2fs free space file system

ext2fsfsfs allows you to access free space on ext2-formatted device as a file

ruby e2fsfsfs.rb /dev/sda2 /mnt/free_space_of_sda2

this will mount a special fuse-based filesystem on /mnt/free_space_of_sda2
there will be just one file inside - “data”
content of the file is the content of your free blocks on /dev/sda2

unmounting:
fusermount -u /tmp/free_space_of_sda2

there is no fault tolerance,
program is not tested,
it can irrecoverably break your hw,sw,brain,and so on…

if you decide to mkfs on “data” file - be aware that any write to the original ext2 filesystem can change the free space allocations, breaking your new fs

also, if your original ext2 (e.g. /dev/sda2) is mounted rw while e2fsfsfs is running on it - well… don’t do that

potential uses (let me know if you’ve got any other idea):

block ranges are mapped from the end of device
so, the first block of “data” file is a first block of the last range of free blocks on /dev/sda2
this reverse mapping is meant to reduce the risk that your data on in-free-space-created-fs get overwritten by writing to the original ext2 volume

it’s ruby but it’s fast, way faster than any hd I own

Requirements

Downloads: