Skip site navigation (1)Skip section navigation (2)
Date:      13 Aug 2002 15:43:00 +0200
From:      Danny Carroll <danny-bgtrk@dannysplace.net>
To:        questions@freebsd.org
Cc:        stable@freebsd.org
Subject:   Bug in Zoo? Or is it in ls or ffs?
Message-ID:  <1029246182.1919.47.camel@moby.dannysplace.com>

next in thread | raw e-mail | index | archive | help
I was testing amavis and mcafee virus scan with the eicar test file
(e.exe).

Basically I was sending different archives to my email machine.
I created a zoo file and look at the results.

As you can see the size is not taken up in disk space so I suspect the
bug is in ls.  DU, DF and the left hand column of LS looks OK.

This is on 4.6-STABLE as of about 1 week ago.

-D


[03:33pm danny@guard:~/eicar]$ls -asl
total 46
 1 drwxr-xr-x  2 danny  danny         512 Aug 13 15:33 .
 1 drwxr-xr-x  9 danny  danny         512 Aug 13 15:30 ..
 1 -rw-r--r--  1 danny  danny          69 Aug 13 15:31 e.exe
 1 -rw-r--r--  1 danny  danny         121 Aug 13 15:32 e.lhz
 1 -rw-r--r--  1 danny  danny         198 Aug 13 15:32 e.tgz
[03:34pm danny@guard:~/eicar]$zoo -add e.zoo e.exe
Zoo:  e.exe --  ( 0%) added
[03:34pm danny@guard:~/eicar]$ls -asl
total 45
 1 drwxr-xr-x  2 danny  danny         512 Aug 13 15:34 .
 1 drwxr-xr-x  9 danny  danny         512 Aug 13 15:30 ..
 1 -rw-r--r--  1 danny  danny          69 Aug 13 15:31 e.exe
 1 -rw-r--r--  1 danny  danny         121 Aug 13 15:32 e.lhz
 1 -rw-r--r--  1 danny  danny         198 Aug 13 15:32 e.tgz
40 -rw-r--r--  1 danny  danny  4294967352 Aug 13 15:31 e.zoo

[03:34pm danny@guard:~/eicar]$df
Filesystem  1K-blocks    Used   Avail Capacity  Mounted on
/dev/ad0s1a   1016303   88846  846153    10%    /
/dev/ad0s1h   9355771 1894838 6712472    22%    /usr
/dev/ad0s1f   1016303  123188  811811    13%    /usr/home
/dev/ad0s1g   5081581  211351 4463704     5%    /usr/local
/dev/ad0s1e   2032623   18800 1851214     1%    /var
procfs              4       4       0   100%    /proc
[03:36pm danny@guard:~/eicar]$rm e.zoo
[03:36pm danny@guard:~/eicar]$df
Filesystem  1K-blocks    Used   Avail Capacity  Mounted on
/dev/ad0s1a   1016303   88846  846153    10%    /
/dev/ad0s1h   9355771 1894838 6712472    22%    /usr
/dev/ad0s1f   1016303  123148  811851    13%    /usr/home
/dev/ad0s1g   5081581  211351 4463704     5%    /usr/local
/dev/ad0s1e   2032623   18800 1851214     1%    /var
procfs              4       4       0   100%    /proc






To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1029246182.1919.47.camel>