[p4] Detecting case-sensitivity mode?

Stephen Vance steve at vance.com
Fri May 8 23:01:30 PDT 2009


The only thing I can think of off hand is to place a file of a known 
case (or use an existing one) in each server and see if you can refer to 
it with a different case through 'fstat' or something.

Steve

Matt Janulewicz wrote:
> I do not run any servers with the -C switch. All our servers are run 
> with default case-sensitivity (we have both Solaris and Windows servers.)
>
> However, one of my users is writing a script that he wants to be 'rock 
> solid' and asked if there is a way to detect whether a server is running 
> with the -C switch. He doesn't want to make any assumptions based on the 
> server platform. The rub is that he wants to do it from the client end. 
> Is there a quick/dirty/easy way to do this? I'm stumped, or else not 
> finding the right documentation.
>
> Thanks!
>
>
> -Matt
> _______________________________________________
> perforce-user mailing list  -  perforce-user at perforce.com
> http://maillist.perforce.com/mailman/listinfo/perforce-user
>
>   

-- 
Stephen Vance
www.vance.com



More information about the perforce-user mailing list