* Re: 2.6.19.1 bug? tar: file changed as we read it
@ 2006-12-18 16:13 Chuck Ebbert
2006-12-18 16:22 ` [linux-cifs-client] " simo
0 siblings, 1 reply; 3+ messages in thread
From: Chuck Ebbert @ 2006-12-18 16:13 UTC (permalink / raw)
To: Avi Kivity; +Cc: Andrew Morton, Steve French, linux-cifs-client, linux-kernel
In-Reply-To: <4586408C.2050408@argo.co.il>
On Mon, 18 Dec 2006 09:17:32 +0200, Ava Kivity wrote:
> 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:
>
> [avi@firebolt linux-2.6]$ find net -iname ipt_tos.c
> net/ipv4/netfilter/ipt_TOS.c
> net/ipv4/netfilter/ipt_tos.c
>
> [avi@firebolt linux-2.6]$ find net -iname ipt_ecn.c
> net/ipv4/netfilter/ipt_ECN.c
> net/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?
--
MBTI: IXTP
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-cifs-client] Re: 2.6.19.1 bug? tar: file changed as we read it
2006-12-18 16:13 2.6.19.1 bug? tar: file changed as we read it Chuck Ebbert
@ 2006-12-18 16:22 ` simo
0 siblings, 0 replies; 3+ messages in thread
From: simo @ 2006-12-18 16:22 UTC (permalink / raw)
To: Chuck Ebbert
Cc: Avi Kivity, Andrew Morton, Steve French, linux-cifs-client,
linux-kernel
On Mon, 2006-12-18 at 11:13 -0500, Chuck Ebbert wrote:
> 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?
What is the server?
Samba? Which vertsion?
Do you use unix extensions? Or "case sensitive = yes" ?
Simo.
--
Simo Sorce
Samba Team GPL Compliance Officer
email: idra@samba.org
http://samba.org
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-cifs-client] Re: 2.6.19.1 bug? tar: file changed as we read it
@ 2006-12-19 7:02 Chuck Ebbert
0 siblings, 0 replies; 3+ messages in thread
From: Chuck Ebbert @ 2006-12-19 7:02 UTC (permalink / raw)
To: idra@samba.org; +Cc: linux-kernel, linux-cifs-client, Steve French, Avi Kivity
In-Reply-To: <1166458956.30152.18.camel@localhost.localdomain>
On Mon, 18 Dec 2006 11:22:36 -0500, simo wrote:
> > 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?
>
> What is the server?
> Samba? Which vertsion?
Samba 2.2.3.
> Do you use unix extensions? Or "case sensitive = yes" ?
No UNIX extensions. Not case sensitive.
SO this is kind of expected, but smbfs and cifs client for Linux have
subtly different behavior.
--
MBTI: IXTP
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-12-19 7:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-18 16:13 2.6.19.1 bug? tar: file changed as we read it Chuck Ebbert
2006-12-18 16:22 ` [linux-cifs-client] " simo
-- strict thread matches above, loose matches on Subject: below --
2006-12-19 7:02 Chuck Ebbert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox