mount_smbfs file name problem
Incoming Mail List
mailist at whoweb.com
Mon Dec 12 09:10:09 PST 2005
I've got a problem with file names containing ":" and "?" characters when
mounted via mount_smbfs. I have two FBSD machines running SAMBA. Machine-1
mounts a file system from Machine-2 using mount_smbfs(). The ls() command
converts a file name such as XX:YY to something like X~Y. If I run tar()
to backup XX:YY, it reports an error (tar: X~Y: no such file or directory).
So it appears that when tar() recursively goes down a directory hierarchy
and finds the file, it gets the name as X~Y. But when it trys to add the
file to the archive, it fails because there is no file on the system with
the name X~Y.
Is this something that the charsets definition in nsmb.conf can fix? If so,
what are the character sets I should use? If not, is there a solution for
this issue?
Thanks,
Jon
More information about the freebsd-questions
mailing list