[Samba] WG: troubles deleting lots of files

milosh at bluemail.ch milosh at bluemail.ch
Wed Sep 11 13:52:00 GMT 2002

thank you andrew for the hint, this was in fact the problem (i'm using filenames
like eakreav12345.pdf). 


>-- Original-Nachricht --
>From: abartlet at dp.samba.org
>To: debinskir at post.ch
>Cc: samba at lists.samba.org
>Subject: Re: [Samba] WG: troubles deleting lots of files
>Date: Wed, 11 Sep 2002 11:07:54 +0000
>On Wed, Sep 11, 2002 at 08:29:30AM +0200, debinskir at post.ch wrote:
>> > hello,
>> > 
>> > i encountered a very strange problem and hope that someone out there
>knows a solution. that is, when i'm deleting several tousand files with
>batch script on a samba share, windows says: "the system could not find
>path specified" and deletes just approximatly one third of the files. this
>only occures if i'm delete explicitly from a dos shell using E:\>del *.pdf.
>if i mark all files in the explorer and click on delete it works fine.
>The problem is name mangling.  A lot of your files share 
>the same first 5 characters in their name.  In Samba 2.2, 
>with the default name mangling scheme, this means that a
>number of your files actualy have the name mangled name...
>(We get hash collisions, but only the command prompt uses
>the short names, hence why explorer works)
>The code in Samba HEAD and 2.2.5 adds a new mangling scheme
>and is *much* better at this.  It's default in HEAD, and 
>'managling method = hash2' gets you it in 2.2.5
>Andrew Bartlett
>To unsubscribe from this list go to the following URL and read the
>instructions:  http://lists.samba.org/mailman/listinfo/samba

More information about the samba mailing list