Subject: RE: Please help: long filenames not showing up
From: Michalowski Thierry (Thierry.Michalowski@edipresse.ch)
Date: Mon Aug 21 2000 - 04:22:42 EDT
No, I think this is not handled in samba, because they mimic the Windows
behaviour, which does not preserve the short name along time.
<example>
You can check this by creating a file named "myfilebbbbbbbbbbb" . Windows
will map it to "myfile~1" .
Then, create in the same directory a file named "myfileaaaaaaaaaa" . Windows
will map it to "myfile~1" and map the first file to "myfile~2" .
</example>
This was just to suggest two things:
If we are doing such a great thing with netatalk, we should avoid this
crappy behaviour - thus ignoring samba code on the point.
Second thing is: we also should try to preserve something as horrible as a
filename _extension_ if we do not want to break the PC-Mac exchange feature.
Both things do lead to a clever algorithm to do the mapping, and I humbly
suggest we should wait for persistent IDs to be implemented for both files
and directories under netatalk to link that "short file names" things to it.
IMHO.
Just my 0.02 EUR
Thierry
-----Original Message-----
From: Mike Fedyk [mailto:mikefe@bigfoot.com]
Sent: Monday, August 21, 2000 9:36 AM
To: Steve Freitas
Cc: Ryan McBeth; Netatalk
Subject: Re: Please help: long filenames not showing up
How would we deal with aliases in this case?
I'm relatively new to the mac world. Do aliases use strait paths ie
zone:comp:share:dir:dir:file? Or some number? How do we make sure
that if new files are added with the same begining 31 chars that the
first short name wouldn't change?
Sorry, this is probably already handled in samba...
Mike
Steve Freitas wrote:
>
> >Has anyone looked at the code that creates the short names in samba?
> >Maybe something like that could be done.
>
> Yes, it would be a fantastic mod if Netatalk dynamically shortened names.
> I hate dealing with the user arguments:
>
> Jane: "I copied it to your directory."
>
> John: "No you didn't."
>
> Jane: "Yes I did."
>
> John: "Look, it's not even there. See?"
>
> Jane: "But I copied it... It must be a virus!"
>
> Bleah.
>
> Steve
This archive was generated by hypermail 2b28 : Wed Jan 17 2001 - 14:32:02 EST