[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug with diff 2.8.1
From: |
jdeifik |
Subject: |
Re: bug with diff 2.8.1 |
Date: |
Tue, 5 Jun 2007 16:54:52 -0700 |
Does your machine have 2gb or less physical memory?
I suspect it might matter.
I don't have access to that machine right now.
I do have the directory tree(s) that causes the problem.
I believe that diff dies on tree1/dev/sda1/11 or 12.
You will need two copies of the tree of course.
Here it is:
tree1:
total 12
4 drwxr-xr-x 3 root root 4096 Jun 5 13:58 .
4 drwxr-xr-x 6 root root 4096 Jun 5 15:52 ..
4 drwxr-xr-x 6 root root 4096 Jun 5 14:08 dev
tree1/dev:
total 24
4 drwxr-xr-x 6 root root 4096 Jun 5 14:08 .
4 drwxr-xr-x 3 root root 4096 Jun 5 13:58 ..
4 drwxr-xr-x 2 root root 4096 Jun 5 13:58 hdd1
4 drwxr-xr-x 2 root root 4096 Jun 5 13:58 hdd2
4 drwxr-xr-x 2 root root 4096 Jun 5 14:03 hdd3
4 drwxr-xr-x 2 root root 4096 Jun 5 15:50 sda1
tree1/dev/hdd1:
total 8024
4 drwxr-xr-x 2 root root 4096 Jun 5 13:58 .
4 drwxr-xr-x 6 root root 4096 Jun 5 14:08 ..
8016 -rw-r--r-- 1 root root 8193024 Jun 5 13:58 1
tree1/dev/hdd2:
total 997020
4 drwxr-xr-x 2 root root 4096 Jun 5 13:58 .
4 drwxr-xr-x 6 root root 4096 Jun 5 14:08 ..
997012 -rw-r--r-- 1 root root 1019934720 Jun 5 14:03 1
tree1/dev/hdd3:
total 997020
4 drwxr-xr-x 2 root root 4096 Jun 5 14:03 .
4 drwxr-xr-x 6 root root 4096 Jun 5 14:08 ..
997012 -rw-r--r-- 1 root root 1019934720 Jun 5 14:08 1
tree1/dev/sda1:
total 48740696
4 drwxr-xr-x 2 root root 4096 Jun 5 15:50 .
4 drwxr-xr-x 6 root root 4096 Jun 5 14:08 ..
1998756 -rw-r--r-- 1 root root 2044723200 Jun 5 14:09 1
1998756 -rw-r--r-- 1 root root 2044723200 Jun 5 14:21 10
1998756 -rw-r--r-- 1 root root 2044723200 Jun 5 14:23 11
1998756 -rw-r--r-- 1 root root 2044723200 Jun 5 14:24 12
1998756 -rw-r--r-- 1 root root 2044723200 Jun 5 14:25 13
1998756 -rw-r--r-- 1 root root 2044723200 Jun 5 14:27 14
1998756 -rw-r--r-- 1 root root 2044723200 Jun 5 14:28 15
1998756 -rw-r--r-- 1 root root 2044723200 Jun 5 14:29 16
1998756 -rw-r--r-- 1 root root 2044723200 Jun 5 14:31 17
1998756 -rw-r--r-- 1 root root 2044723200 Jun 5 14:32 18
1998756 -rw-r--r-- 1 root root 2044723200 Jun 5 14:33 19
1998756 -rw-r--r-- 1 root root 2044723200 Jun 5 14:10 2
1998756 -rw-r--r-- 1 root root 2044723200 Jun 5 14:35 20
1998756 -rw-r--r-- 1 root root 2044723200 Jun 5 14:36 21
1998756 -rw-r--r-- 1 root root 2044723200 Jun 5 14:38 22
1998756 -rw-r--r-- 1 root root 2044723200 Jun 5 14:39 23
1998756 -rw-r--r-- 1 root root 2044723200 Jun 5 14:40 24
770540 -rw-r--r-- 1 root root 788258304 Jun 5 14:41 25
1998756 -rw-r--r-- 1 root root 2044723200 Jun 5 14:12 3
1998756 -rw-r--r-- 1 root root 2044723200 Jun 5 14:13 4
1998756 -rw-r--r-- 1 root root 2044723200 Jun 5 14:14 5
1998756 -rw-r--r-- 1 root root 2044723200 Jun 5 14:16 6
1998756 -rw-r--r-- 1 root root 2044723200 Jun 5 14:17 7
1998756 -rw-r--r-- 1 root root 2044723200 Jun 5 14:19 8
1998756 -rw-r--r-- 1 root root 2044723200 Jun 5 14:20 9
thanks,
jeff deifik
---- Paul Eggert <address@hidden> wrote:
> <address@hidden> writes:
>
> > I am using diff 2.8.1 on a knoppix gnu-linux system, version 5.1.
> > I have two directory trees of files, which are 1 gigabyte chunks of output
> > from the dd command,
> > (binary files).
> >
> > My system has 2gb of ram.
> > I issue the command ‘diff –r tree1 tree2’
> > After a while, I get an out of memory error.
>
> I can't reproduce the problem. Perhaps you can try the following
> scenario and see whether the problem occurs with your host.
> (I am running Debian stable, if that matters.)
>
> 523-penguin $ mkdir d e
> 524-penguin $ dd if=/etc/motd of=d/big obs=1 seek=1GB
> 0+1 records in
> 353+0 records out
> 353 bytes (353 B) copied, 0.0174142 s, 20.3 kB/s
> 525-penguin $ dd if=/etc/motd of=e/big obs=1 seek=1GB
> 0+1 records in
> 353+0 records out
> 353 bytes (353 B) copied, 0.00102449 s, 345 kB/s
> 526-penguin $ ls -al d e
> d:
> total 20
> drwxr-xr-x 2 eggert eggert 4096 Jun 5 16:26 .
> drwxr-xr-x 12 eggert eggert 4096 Jun 5 16:25 ..
> -rw-r--r-- 1 eggert eggert 1000000353 Jun 5 16:26 big
>
> e:
> total 20
> drwxr-xr-x 2 eggert eggert 4096 Jun 5 16:26 .
> drwxr-xr-x 12 eggert eggert 4096 Jun 5 16:25 ..
> -rw-r--r-- 1 eggert eggert 1000000353 Jun 5 16:26 big
> 527-penguin $ diff -r d e
> 528-penguin $
- bug with diff 2.8.1, jdeifik, 2007/06/05
- Re: bug with diff 2.8.1,
jdeifik <=
- Re: bug with diff 2.8.1, jdeifik, 2007/06/07
- Re: bug with diff 2.8.1, jdeifik, 2007/06/07
- Fwd: Re: bug with diff 2.8.1, jdeifik, 2007/06/07
- Re: bug with diff 2.8.1, jdeifik, 2007/06/11
- Re: Fwd: Re: bug with diff 2.8.1, jdeifik, 2007/06/12
- Re: bug with diff 2.8.1, jdeifik, 2007/06/13