[Samba] DOS filename behavior?

Tom Dickson tdickson at inostor.com
Wed May 19 20:49:37 GMT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Is this standard?

Q:\temp>dir
~ Volume in drive Q is tomsshare
~ Volume Serial Number is 0B97-4CF6

05/19/2004  01:23p      <DIR>          Thomas Dickson Directory

~               0 File(s)              0 bytes
~               3 Dir(s)  719,507,685,376 bytes free

Q:\temp>dir /x
~ Volume in drive Q is tomsshare
~ Volume Serial Number is 0B97-4CF6

05/19/2004  01:23p      <DIR>          T8UKFI~1        Thomas Dickson
Directory

~               0 File(s)              0 bytes
~               3 Dir(s)  719,507,685,376 bytes free

The "T8UKFI~1" name seems weird to me, as windows would call it
"THOMAS~1". Is there a way to make Samba act like windows in this
regard? The Samba HOWTO book seems to imply that I should see "THOMA~01"
or somesuch. Could unicode be confusing the algorithm?

C:\Temp>mkdir "Thomas Dickson Directory"

C:\Temp>dir /x
~ Volume in drive C is C:
~ Volume Serial Number is 30CD-9122

~ Directory of C:\Temp

05/19/2004  01:24p      <DIR>          THOMAS~1        Thomas Dickson
Directory

~               0 File(s)        527,550 bytes
~               3 Dir(s)     745,615,360 bytes free

C:\Temp>



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAq8hh2dxAfYNwANIRAqOeAKCWFDIJGx+QV1SlXVbvs1owwu3/fQCfUaT4
n62jHpSYte8nh+IR4pFyjcE=
=Cvxm
-----END PGP SIGNATURE-----


More information about the samba mailing list