Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Dec 2005 12:10:01 -0500 (EST)
From:      Incoming Mail List <mailist@whoweb.com>
To:        freebsd-questions@freebsd.org
Subject:   mount_smbfs file name problem
Message-ID:  <200512121710.jBCHA1Zj068104@whoweb.com>

next in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512121710.jBCHA1Zj068104>