fsgrab -- get blocks from an (ext2) filesystem

Aaron Crane <aaronc@pobox.com>

This program allows you to seek to a given point in a file or a block device
and write a given number of blocks out from that point, without reading the
intervening material.  The data is written to standard output.

Requirements
============

It should compile on most POSIX systems.  If you don't have Linux with the
libext2fs libraries and include files installed (install the e2fsprogs and
e2fsprogs-devel packages if you use RedHat Linux), you probably won't be
able to handle devices with more than (2^31)-1 bytes.  For that matter, even
if you do, there may be situations in which you won't be able to.

Usage
=====

fsgrab [-b BLOCKSIZE] [-c COUNT] [-s SKIP] [-f] [DEVICE]
fsgrab -h

DEVICE is device to read from; defaults to /dev/hda1

Options
=======

-b: BLOCKSIZE is the size of a filesystem block; defaults to 1024
-c: COUNT is count of blocks to read; defaults to 1
-s: SKIP is count of blocks to skip; defaults to 0
-f: write to stdout even if it's a terminal
-h: print a help message

Installation
============

The package now uses GNU Autoconf and GNU Automake to manage the build
process.  As for all such packages, simply type:

    ./configure
    make
    make install

to configure, build and install the program and its manpage.

Copyright and Distribution rights
=================================

`fsgrab', a program which reads blocks from an unmounted filesystem, is
Copyright  1997, 1998 Aaron Crane <aaronc@pobox.com>.

This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the Free
Software Foundation; either version 2 of the License, or (at your option)
any later version.

This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
more details.

You should have received a copy of the GNU General Public License along with
this program; if not, write to the Free Software Foundation, Inc., 675 Mass
Ave, Cambridge, MA 02139, USA.
