[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Condor-users] Command Case Sensitivity on Windows


CONDOR_STATUS works for me in mixed case, but CONDOR_RECONFIG does not. It's my assumption that some commands, like CONDOR_RECONFIG actually call CONDOR.EXE using some command line parsing.  As a result, they pass the uppercase version of themselves to the CONDOR.EXE binary.  

I also understand that arguments are interpreted by the binary.  While they CAN be case sensitive, it is atypical behavior on Windows.  So I was only including it for the sake of completeness.

I believe I first noticed this behavior on Condor 6.6.5 but all my machines currently run 6.6.10.  The behavior is exhibited on Windows XP Professional with SP2 although I first noticed it on SP1.


-----Original Message-----
From: condor-users-bounces@xxxxxxxxxxx [mailto:condor-users-bounces@xxxxxxxxxxx] On Behalf Of Ian Chesal
Sent: Friday, July 29, 2005 3:40 PM
To: Condor-Users Mail List
Subject: RE: [Condor-users] Command Case Sensitivity on Windows

> Has anyone noticed that the Condor commands are case sensitive on Windows?

No, I hadn't because they are not case-sensitive. Calling binaries is an OS thing, not a condor thing. I can call my condor binaries with mixed case, or all one case without any problems on my XP Pro machines:


Name          OpSys       Arch   State      Activity   LoadAv Mem   ActvtyTime

vm1@ttc-iches LINUX       INTEL  Owner      Idle       0.000   503  0+09:21:50
vm2@ttc-iches LINUX       INTEL  Owner      Idle       0.000   503  0+09:21:51
vm1@ttc-sunde SOLARIS28   SUN4u  Unclaimed  Idle       0.000  1024  0+00:27:11

> I can understand how the command argument to condor.exe could be
> case sensitive, but I'm confused as to how CONDOR_CONFIG.exe could
> be.  I also noticed that most of commands are case sensitive in
> some way.  For example, condor_status -long works but condor_status
> -LONG does not.

In the case of an command line argument to the binary, case sensitivity is to be expected as interpreting command line arguments is left to the binary and however it was coded by the Condor team. In this case they've opted for case-sensitive options (so that -c and -C can be different commands). But binary calling semantics are handled by the OS (and the shell as well, which in Windows is cmd.exe).

Which Windows version are you using? Which version of cmd.exe are you using as your shell on Windows? Maybe that has something to do with it. I don't run Win2003 but perhaps that has case-sensitive file improvements in it that XP did not...

- Ian

Condor-users mailing list