1 mapsector -- Map sector number to file name(s)
3 Given a device and a sector number, mapsector will try to find the
4 file name(s) mapping to this sector. It will try to gather as much
5 information about the given sector as possible.
7 At the time of writing this README, mapsector has support for the
8 following mapping schemes:
11 cryptsetup (luks and dmcrypt)
12 LVM (linear allocation scheme)
15 and the following filesystems:
24 There are two ways to build mapsector:
26 - build a debian package
27 - generate a combined 'mapsectorsh' script
29 The debian package will automatically install dependencies and
30 'Suggests' all additional packages needed to detect all the known
31 filesystems and mapping schemes.
33 The 'mapsectorsh' script is a single self-contained file which may be
34 copied easily to any target system to be used. You need to make sure,
35 that 'awk', 'python' and 'dc' are available.
41 The sourcecode is distributed via git:
43 $ git clone git://git.j32.de/mapsector.git
45 $ git submodule update
48 Building a debian package
49 -------------------------
51 Make sure, you have 'fakeroot' and the debian package development
52 tools installed, then issue
56 The resulting debian package will be placed into the parent directory.
59 Building 'mapsectorsh'
60 ----------------------
66 and copy the 'mapsectorsh' script wherever you need it.