conversion to 8.3 might be broken in 2.0.4

Andy Bakun abakun at reac.com
Thu Jun 3 19:16:07 GMT 1999


I've got some directories that contain a number of other directories whose
names are all 9 digits long.  Here's the output of dir /X (the /X option
shows 8.3 filenames) for one of the directories:

f:\sdf1\stage2\cj02>dir /X
 Volume in drive F is archiveclean
 Volume Serial Number is 156A-70DD

 Directory of f:\sdf1\stage2\cj02

06/01/99  02:28p        <DIR>                          .
06/03/99  01:00p        <DIR>                          ..
06/03/99  12:59p        <DIR>          19950~2Z        199500579
06/03/99  12:59p        <DIR>          19950~!9        199500586
06/03/99  12:59p        <DIR>          19950~I-        199500630
06/03/99  12:59p        <DIR>          19950~OZ        199500631
06/03/99  12:59p        <DIR>          19950~UX        199500632
06/03/99  12:59p        <DIR>          19950~_V        199500633
06/03/99  12:59p        <DIR>          19950~XW        199500641
06/03/99  12:59p        <DIR>          19950~8Q        199500646
05/27/99  04:45p        <DIR>          19950~I-        199500653
06/03/99  12:59p        <DIR>          19950~HN        199500654
06/03/99  12:59p        <DIR>          19950~ZH        199500659
06/03/99  12:59p        <DIR>          19950~@U        199500661
06/03/99  12:59p        <DIR>          19950~L_        199500662
06/03/99  12:59p        <DIR>          19950~RY        199500663
06/03/99  12:59p        <DIR>          19950~EO        199500664
05/27/99  04:45p        <DIR>          19950~XW        199500687
06/03/99  12:59p        <DIR>          19950~DA        199500688
06/03/99  12:59p        <DIR>          19950~7C        199500689
06/03/99  12:59p        <DIR>          19950~5R        199500690
06/03/99  12:59p        <DIR>          19950~OZ        199500694
05/27/99  04:46p        <DIR>          19950~I-        199500695
06/03/99  12:59p        <DIR>          19950~_V        199500696
06/03/99  12:59p        <DIR>          19950~A4        199500704
06/03/99  12:59p        <DIR>          19950~M0        199500706
06/03/99  12:59p        <DIR>          19950~!9        199500712
06/03/99  12:59p        <DIR>          19950~TC        199500721
06/03/99  12:59p        <DIR>          19950~M0        199500727
06/03/99  12:59p        <DIR>          19950~X@        199500729
06/03/99  12:59p        <DIR>          19950~WB        199500732
06/03/99  12:59p        <DIR>          19950~75        199500735
06/03/99  12:59p        <DIR>          19950~J1        199500737
05/27/99  04:47p        <DIR>          19950~$8        199500740
06/03/99  12:59p        <DIR>          19950~ZA        199500741
06/03/99  12:59p        <DIR>          19950~NE        199500743
06/03/99  12:59p        <DIR>          19950~2Z        199500748
06/03/99  12:59p        <DIR>          19950~!9        199500750
06/03/99  12:59p        <DIR>          19950~$8        199500761
06/03/99  12:59p        <DIR>          19950~TC        199500763
06/03/99  12:59p        <DIR>          19950~46        199500766
06/03/99  12:59p        <DIR>          19950~@-        199500768
05/27/99  04:48p        <DIR>          19950~%_        199500779
06/03/99  12:59p        <DIR>          19950~A4        199500780
06/03/99  12:59p        <DIR>          19950~M0        199500782
06/03/99  12:59p        <DIR>          19950~G2        199500783
06/03/99  12:59p        <DIR>          19950~EV        199500788
06/03/99  01:00p        <DIR>          19950~!9        199500796
06/03/99  01:00p        <DIR>          19950~_V        199500801
06/03/99  01:00p        <DIR>          19950~BP        199500825
06/03/99  01:00p        <DIR>          19950~1E        199500838
06/03/99  01:00p        <DIR>          19950~TJ        199500849
06/03/99  01:00p        <DIR>          19950~XW        199500852
05/27/99  04:49p        <DIR>          19950~2S        199500854
06/03/99  01:00p        <DIR>          19950~EO        199500856
06/03/99  01:00p        <DIR>          19950~I-        199500861
06/03/99  01:00p        <DIR>          19950~UX        199500863
06/03/99  01:00p        <DIR>          19950~%T        199500865
06/03/99  01:00p        <DIR>          19950~L_        199500871
06/03/99  01:00p        <DIR>          19950~@U        199500872
06/03/99  01:00p        <DIR>          19950~WI        199500878
06/03/99  01:00p        <DIR>          19950~QK        199500879
06/03/99  01:00p        <DIR>          19950~BP        199500880
06/03/99  01:00p        <DIR>          19950~HN        199500881
06/03/99  01:00p        <DIR>          19950~I-        199500886
06/03/99  01:00p        <DIR>          19950~M7        199500889
06/03/99  01:00p        <DIR>          19950~EO        199500890
06/03/99  01:00p        <DIR>          19950~KM        199500891
06/03/99  01:00p        <DIR>          19950~17        199500906
06/03/99  01:00p        <DIR>          19950~QD        199500941
06/03/99  01:00p        <DIR>          19950~WB        199500942
06/03/99  01:00p        <DIR>          19950~$8        199500953
06/03/99  01:00p        <DIR>          19950~O%        199500969
06/03/99  01:00p        <DIR>          19950~X@        199500978
06/03/99  01:00p        <DIR>          19950~D3        199500980
06/03/99  01:00p        <DIR>          19950~75        199500983
06/03/99  01:00p        <DIR>          19950~0I        199501004
06/03/99  01:00p        <DIR>          19950~6G        199501005
06/03/99  01:00p        <DIR>          19950~CE        199501006
06/03/99  01:00p        <DIR>          19950~0I        199501025
06/03/99  01:00p        <DIR>          19950~X7        199501038
06/03/99  01:00p        <DIR>          19950~YL        199501050
06/03/99  01:00p        <DIR>          19950~MP        199501052
06/03/99  01:00p        <DIR>          19950~-K        199501060
06/03/99  01:00p        <DIR>          19950~IC        199501064
06/03/99  01:00p        <DIR>          19950~CE        199501065
06/03/99  01:00p        <DIR>          19950~%4        199501068
06/03/99  01:00p        <DIR>          19950~-K        199501087
06/03/99  01:00p        <DIR>          19950~B0        199501089
06/03/99  01:00p        <DIR>          19950~9F        199501091
06/03/99  01:00p        <DIR>          19950~DZ        199501106
06/03/99  01:00p        <DIR>          19950~!$        199501122
06/03/99  01:00p        <DIR>          19950~X0        199501123
06/03/99  01:00p        <DIR>          19950~7-        199501124
06/03/99  01:00p        <DIR>          19950~L4        199501142
              95 File(s)              0 bytes
                          2 147 418 112 bytes free

Now, you'll notice that a number of these directories have the same short
filename.  Using UNIX shell utilities, I count 93 directories, but only 63
unique 8.3 names.  Specificly, the directories 199500631 and 199500694 have
the same 8.3 filename, also 199500633 and 199500696.  Obviously, this is a
problem (WinNT apparently gives applications the short filename when you
drop a file on an application shortcut).

I'm running Samba version 2.0.4a with the 2.0.4b patch applied (plus my
other patches, none of which touch the 8.3 generation code as far as I
know).
Linux jupiter.reac.com 2.0.35 #2 Tue Oct 20 19:46:21 CDT 1998 i686 unknown
RedHat 5.1 with a bunch of 5.2 stuff added.
glibc-2.0.111-0.990127
glibc-devel-2.0.111-0.990127

Andy.




More information about the samba-technical mailing list