BSD Ports

sysutils/magicrescue 1.1.4nb10 NetBSD

Recover files from a block device by scanning for magic bytes

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Categories
sysutils
Package size
60.7 KiB, 251.6 KiB installed

Description

Magic Rescue scans a block device for file types it knows how to recover and calls an external program to extract them. It looks at "magic bytes" in file contents, so it can be used both as an undelete utility and for recovering a corrupted drive or partition. As long as the file data is there, it will find it.

It works on any file system, but on very fragmented file systems it can only recover the first chunk of each file. Practical experience (this program was not written for fun) shows, however, that chunks of 30-50MB are not uncommon.

In the other systems

SystemPortVersion
NetBSDsysutils/magicrescue1.1.4nb10
FreeBSDsysutils/magicrescue1.1.10_1
DragonFlysysutils/magicrescue1.1.10_1

Install

Binary package:

pkgin install magicrescue

From pkgsrc:

cd /usr/pkgsrc/sysutils/magicrescue && make install clean

Dependencies

Run dependencies 1

No port depends on this one.