aimage

Langue: en

Autres versions - même langue

Version: 312759 (ubuntu - 07/07/09)

Section: 1 (Commandes utilisateur)

NAME

aimage - Image a hard drive into AFF or raw format

SYNOPSIS

aimage [options] INPUT1 [OUTFILE1] [INPUT2 OUTPUT2] ...

INPUT may be any of these:

- A device e.g. /dev/disk1 or /dev/stdin, for standard input
- Listen on TCP port eg: listen:1234

OUTFILE may be:

- outfile.aff - image to the AFF file outfile

OPTIONS

General Options:

--quiet, -q
No interactive statistics.
--batch, -Y
Batch output
--silent, -Q
No output at all except for errors.
--readsectors=nn, -R nnnn
set number of sectors to read at once (default 32768)
--version, -v
Just print the version number and exit.
--skip=nn[s], -k nn
Skip nn bytes [or nns for sectors] in input file
--no_beeps, -B
Don't beep when imaging is finished.
--logfile=fn, -l fn
Where to write a log. By default none is written
--logAFF, -L
Log all AFF operations
--preview, -p
view some of the data as it goes by.
--no_preview, -P
do not show the preview.

Existing File Options:

--append, -a
Append to existing file
--zap, -z
Erase outfile(s) before writing

Raw Output Options:

--raw=fname, -r
fname write block-by-block output to fname.

AFF Options:

--outfile=fname, -ofname
write an AFF file.
--image_pagesize=nnn, -S nnnn
set the AFF page size (default 16777216) (number can be suffixed with b, k, m or g) Also sets maxsize to be 2^32 if not otherwise set.
--make_config, -m
Make the config file if it doesn't exist Config file is aimage.cfg by default and can be overridden by the AIMAGE_CONFIG enviroment variable
--no_dmesg, -D
Do not put dmesg into the AFF file
--no_ifconfig, -I
Do not put ifconfig output into AFF file (Currently unset)
--no_compress, -x
Do not compress. Useful on slow machines.
--compression=n, -Xn
Set the compression level
--auto_compress, -A
write as fast as possible, with compression if it helps. sets compression level 1
--maxsize=n, -Mn
sets the maximum size of output file to be n.. Default units are megabytes; suffix with 'g', 'm', 'k' or 'b' use 'cd' for a 650MB CD. use 'bigcd' for a 700MB CD.
--setseg name=value, -s name=value
Create segment 'name' and give it 'value'. This option may be repeated.
--no_hash, -H
Do not calculate MD5 and SHA1 of image.

Error Recovery Options:

--error=0, -e0
Standard error recovery: Read disk 256K at a time until there are 5 errors in a row. Then go to the end of the disk and read backwards until there are 5 erros in a row. Then stop.
--error=1 -e1
Stop reading at first error.
--retry=nn -tnn
change retry count from 5 to nn
--reverse, -V
Scan in reverse to the beginning.

Other:

--help, -h
Print help message.
--fast_quit, -Z
Make ^c just exit immediately.
--allow_regular, -E
allow the imaging of a regular file
--title=s, -T s
change title to s (from IMAGING) and disable blink
--debug=n, -d n
set debug code n (-d0 for list)
--use_timers, -y
Use timers for compressing, reading & writing times

EXAMPLES

Create image.aff from /dev/sd0:
aimage /dev/sd0 image.aff or aimage -o image.aff /dev/sd0
Create image0.aff from /dev/sd0 and image1 from /dev/sd1:
aimage /dev/sd0 image0.aff /dev/sd1 /image1.aff

AUTHOR

aimage is part of afflib and was written by Simson L. Garfinkel

This manual page was written by Kenny Duffus <kenny@duffus.org> for Ubuntu but may be used by others.