On Sat, 15 Nov 2003 13:41:33 -0800
[EMAIL PROTECTED] wrote:

> 
> According to the man page for clamscan,
> 
>          --max-space=#n
>            Extract first #n kilobytes from each archive.  You  may
>            give  the number in megabytes in format xM or xm, where
>            x is a number.
> 
> as well, 'clamscan --help' reports,
> 
>          --max-space=#n                      Extract first #n
>          kilobytes only
> 
> However, I frequently see references to --max-space with values such
> as 1000000 - which would be equivalent to
> 
> 1,024,000,000 bytes (1000000 kilobytes, or about 1gigabyte)
> 
> is this correct? or is the description for --max-space wrong? i have 

No, this is definitely not correct. The description is OK and (in
contrast to clamd) --max-space in clamscan uses a kilobyte unit.

> resorted to using "1M" nomenclature to be sure that i'm not telling it
> to extract everything including gigantic attachments - but would like
> to limit it to an even smaller value, like 200 kilobytes - but the

just use --max-space=200

Best regards,
Tomasz Kojm
-- 
      oo    .....       [EMAIL PROTECTED]         www.ClamAV.net
     (\/)\.........     http://www.clamav.net/gpg/tkojm.gpg
        \..........._   0DCA5A08407D5288279DB43454822DC8985A444B
          //\   /\      Mon Nov 17 02:51:51 CET 2003

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to