2 mapsector -- Map sector number to file name(s)
4 Given a device and a sector number, mapsector will try to find the
5 file name(s) mapping to this sector. It will try to gather as much
6 information about the given sector as possible.
8 At the time of writing this README, mapsector has support for the
9 following mapping schemes:
12 cryptsetup (luks and dmcrypt)
13 LVM (linear allocation scheme)
16 and the following filesystems:
25 There are two ways to build mapsector:
27 - build a debian package
28 - generate a combined 'mapsectorsh' script
30 The debian package will automatically install dependencies and
31 'Suggests' all additional packages needed to detect all the known
32 filesystems and mapping schemes.
34 The 'mapsectorsh' script is a single self-contained file which may be
35 copied easily to any target system to be used. You need to make sure,
36 that 'awk', 'python' and 'dc' are available.
42 The sourcecode is distributed via git:
44 $ git clone git://git.j32.de/mapsector.git
47 Building a debian package
48 -------------------------
50 Make sure, you have 'fakeroot' and the debian package development
51 tools installed, then issue
55 The resulting debian package will be placed into the parent directory.
58 Building 'mapsectorsh'
59 ----------------------
65 and copy the 'mapsectorsh' script wherever you need it.