.Dd October 17, 2009 .Dt ewfacquirestream .Os libewf .Sh NAME .Nm ewfacquirestream .Nd acquires data in the EWF format from stdin .Sh SYNOPSIS .Nm ewfacquirestream .Op Fl A Ar codepage .Op Fl b Ar amount_of_sectors .Op Fl B Ar amount_of_bytes .Op Fl c Ar compression_type .Op Fl C Ar case_number .Op Fl d Ar digest_type .Op Fl D Ar description .Op Fl e Ar examiner_name .Op Fl E Ar evidence_number .Op Fl f Ar format .Op Fl l Ar log_filename .Op Fl m Ar media_type .Op Fl M Ar media_flags .Op Fl N Ar notes .Op Fl o Ar offset .Op Fl p Ar process_buffer_size .Op Fl S Ar segment_file_size .Op Fl t Ar target .Op Fl 2 Ar secondary_target .Op Fl hqsvVw .Sh DESCRIPTION .Nm ewfacquirestream is a utility to acquire media data from stdin and store it in EWF format (Expert Witness Format). .Nm ewfacquirestream acquires media data in a format equivalent to EnCase and FTK imager, including meta data. Under Linux, FreeBSD, NetBSD, OpenBSD, MacOS\-X/Darwin .Pp .Nm ewfacquirestream is part of the .Nm libewf package. .Nm libewf is a library to support the Expert Witness Compression Format (EWF). .Nm libewf supports both the SMART format (EWF-S01) and the EnCase format (EWF-E01). .Nm libewf currently does not support the Logical Volume format (EWF-L01). EWF-X is an expirimental format intended for testing purposes to enhance the EWF format. .Nm libewf allows you to read and write media data in the EWF format. .Pp The options are as follows: .Bl -tag -width Ds .It Fl A Ar codepage the codepage of header section, options: ascii (default), windows-874, windows-1250, windows-1251, windows-1252, windows-1253, windows-1254, windows-1255, windows-1256, windows-1257, windows-1258 .It Fl b Ar amount_of_sectors the amount of sectors to read at once (per chunk), options: 64 (default), 128, 256, 512, 1024, 2048, 4096, 8192, 16384 or 32768 .It Fl B Ar amount_of_bytes the amount of bytes to acquire .It Fl c Ar compression_type the compression type, options: none (default), empty-block, fast, best .It Fl C Ar case_number the case number (default is case_number) .It Fl d Ar digest_type calculate additional digest (hash) types besides md5, options: sha1 .It Fl D Ar description the description (default is description) .It Fl e Ar examiner_name the examiner name (default is examiner_name) .It Fl E Ar evidence_number the evidence number (default is evidence_number) .It Fl f Ar format the EWF file format to write to, options: ftk, encase2, encase3, encase4, encase5, encase6 (default), linen5, linen6, ewfx. .Nm libewf does not support streamed writes for other EWF formats. .It Fl h shows this help .It Fl l Ar log_filename logs acquiry errors and the digest (hash) to the log filename .It Fl m Ar media_type the media type, options: fixed (default), removable, optical, memory .It Fl M Ar media_flags the media flags, options: logical, physical (default) .It Fl N Ar notes the notes (default is notes) .It Fl o Ar offset the offset to start to acquire (default is 0) .It Fl p Ar process_buffer_size the process buffer size (default is the chunk size) .It Fl q quiet shows no status information .It Fl s swap byte pairs of the media data (from AB to BA) (use this for big to little endian conversion and vice versa) .It Fl S Ar segment_file_size the segment file size in bytes (default is 1.4 GiB) (minimum is 1.0 MiB, maximum is 7.9 EiB for encase6 format and 1.9 GiB for other formats) .It Fl t Ar target the target file (without extension) to write to (default is image) .It Fl v verbose output to stderr .It Fl V print version .It Fl w wipe sectors on read error (mimic EnCase like behavior) .It Fl 2 Ar secondary_target the secondary target file (without extension) to write to .El .Pp .Nm ewfacquirestream will read from stding until it encounters a read error. On read error it will stop no error information is stored in the EWF file(s). .Pp Empty block compression detects blocks of sectors with entirely the same byte data and compresses them using the default compression level. .Sh ENVIRONMENT None .Sh FILES None .Sh EXAMPLES .Bd -literal # ewfacquirestream \-C 1 \-D Floppy \-E 1.1 \-e 'John D.' \-N 'Just a floppy in my system' \-m removable \-M physical \-t floppy or on the project website: http://libewf.sourceforge.net/ .Sh AUTHOR These man pages were written by Joachim Metz. .Sh COPYRIGHT .Pp Copyright 2006-2009 Joachim Metz, Hoffmann Investigations and contributors. .Pp This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. .Sh SEE ALSO .Xr ewfacquire 1 , .Xr ewfexport 1 , .Xr ewfinfo 1 , .Xr ewfverify 1