2.6.19.1 bug? tar: file changed as we read it
In-Reply-To: <[email protected]>
Quoted 7 lines · Ava Kivity
In 2.6.20-rc1, some of these files have other files with the same name in the same directory (modulo case). Perhaps this is confusing cifs.
Can you check where all of the files in your case share that property?
example:
Quoted 7 lines
[avi@firebolt linux-2.6]$ find net -iname
ipt_tos.cnet/ipv4/netfilter/ipt_TOS.cnet/ipv4/netfilter/ipt_tos.c[avi@firebolt linux-2.6]$ find net -iname
ipt_ecn.cnet/ipv4/netfilter/ipt_ECN.cnet/ipv4/netfilter/ipt_ecn.c
Yes, that's it.
Using smbfs, both files have the same size and contents even though they're really different:
$ ll ipt_dscp* ipt_DSCP* -r--r----- 1 me me 2753 Jan 29 2004 ipt_dscp.c -r--r----- 1 me me 2753 Jan 29 2004 ipt_DSCP.c $ ll ipt_dscp.c ipt_DSCP.c -r--r----- 1 me me 2753 Jan 29 2004 ipt_dscp.c -r--r----- 1 me me 2753 Jan 29 2004 ipt_DSCP.c
With cifs, a directory search shows different sizes but opening them by name gives identical contents:
$ ll ipt_dscp* ipt_DSCP* -r-------- 1 me me 1581 Jan 28 2004 ipt_dscp.c -r-------- 1 me me 2753 Jan 29 2004 ipt_DSCP.c $ ll ipt_dscp.c ipt_DSCP.c -r-------- 1 me me 1581 Jan 28 2004 ipt_dscp.c -r-------- 1 me me 1581 Jan 28 2004 ipt_DSCP.c $ diff ipt_dscp.c ipt_DSCP.c $
So where is the bug? On the server?
Signature · 1 line
MBTI: IXTP
Quoted 12 lines · Chuck Ebbert
With cifs, a directory search shows different sizes but opening them by name gives identical contents:
$ ll ipt_dscp* ipt_DSCP*(quoted diff) +0
-2-r-------- 1 me me 1581 Jan 28 2004 ipt_dscp.c -r-------- 1 me me 2753 Jan 29 2004 ipt_DSCP.c$ ll ipt_dscp.c ipt_DSCP.c(quoted diff) +0
-2-r-------- 1 me me 1581 Jan 28 2004 ipt_dscp.c -r-------- 1 me me 1581 Jan 28 2004 ipt_DSCP.c$ diff ipt_dscp.c ipt_DSCP.c $
Quoted 1 line
So where is the bug? On the server?
What is the server?
Samba? Which vertsion?
Do you use unix extensions? Or "case sensitive = yes" ?
Simo.
Signature · 4 lines
Simo Sorce Samba Team GPL Compliance Officer email: [email protected] http://samba.org