I have a problem, and I'm not sure how best to solve it.
I've a connection to a perforce server running on Windows, it has many file son it following the windows case insesitinve files namings ...
i.e.
I have direcoties
Blang\Code
blang\code
all which point to the same directory on a windows machine
now for various complicated reason we need a network drive that has a copy of the current tree, which is then shared on the local network via SMB
now I achive this by running a perforce sync as a clinet on the linux machine, this both populates the proxy and updates the network cache, however - here's the rub - the perforce proxy copes with the case differnces [well they both exist but there is no problems] but when it updates the network cache it creates duplicated directoies
as above ,
when these are viewed on the local machines Via smb - you get 2 file trees and windows chooses to show you the one that was created 1st - so you get missing files
now I've tired ciopfs [
http://www.brain-dump.org/projects/ciopfs/] that sort of works OK, until I get a 'Transport endpoint is not connected' error from fuse [using the latest versions of both] this then mangles the machine into needing a reboot to gte it back operating :-(
if I run ciopfs in single thread mode - it works for much longer but then I get
32392 ? S 0:00 ulockmgr_server 7
32397 ? S 0:00 ulockmgr_server 7
32400 ? S 0:00 ulockmgr_server 7
and more - hundreds of them
this seems to slow the machine down until I start getting
bad file descriptor errors :-( and
ulockmgr_server: open file descriptors on exit
I can restart the ciopfs and recover but it's not a good solution
so my question is - what methods can I use to make sure my cache is popualted with a filetree that windows will be happy with, and not have duplicated directory names