View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000842 | OpenFOAM | Bug | public | 2013-05-07 12:43 | 2014-02-10 13:19 |
Reporter | jherb | Assigned To | henry | ||
Priority | normal | Severity | feature | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Platform | Linux | OS | OpenSuse | OS Version | 11.1 |
Summary | 0000842: two directories which name differ only by case of letter (lower case/upper case) | ||||
Description | There are a view directories in the OpenFOAM sources which differ only by their case spelling (lower/upper case). This causes problems if these directories are accessed from Windows via samba. To find all relevant directories, the following bash command can be used: find . -type d | while read d ; do find $d -type d -mindepth 1 -maxdepth 1 | while read d2 ; do count=$(ls -d $d/* | egrep -ci "/`basename $d2`$"); if [ "$count" -gt 1 ] ; then echo $d $d2; fi; done ; done These are the directories I found: ./applications/test ./applications/test/Dictionary ./applications/test ./applications/test/dictionary ./src/OpenFOAM/matrices ./src/OpenFOAM/matrices/LduMatrix ./src/OpenFOAM/matrices ./src/OpenFOAM/matrices/lduMatrix ./src/OpenFOAM/meshes/primitiveMesh ./src/OpenFOAM/meshes/primitiveMesh/PrimitivePatch ./src/OpenFOAM/meshes/primitiveMesh ./src/OpenFOAM/meshes/primitiveMesh/primitivePatch ./src/finiteVolume/finiteVolume/gradSchemes ./src/finiteVolume/finiteVolume/gradSchemes/LeastSquaresGrad ./src/finiteVolume/finiteVolume/gradSchemes ./src/finiteVolume/finiteVolume/gradSchemes/leastSquaresGrad ./src/thermophysicalModels/solidSpecie/reaction ./src/thermophysicalModels/solidSpecie/reaction/Reactions ./src/thermophysicalModels/solidSpecie/reaction ./src/thermophysicalModels/solidSpecie/reaction/reactions ./src/thermophysicalModels/specie/reaction ./src/thermophysicalModels/specie/reaction/Reactions ./src/thermophysicalModels/specie/reaction ./src/thermophysicalModels/specie/reaction/reactions Would it be possible to rename one version of each of these directories in a future release of OpenFOAM? | ||||
Tags | No tags attached. | ||||
|
The directories and files are named to be consistent with the class names they contain. If you run on GNU/Linux or other open-source OS you will be provided with a modern case-sensitive file system. On closed-source commercial OSs case-sensitivity of the file-system is usually an option which you can choose. Of course we recommend you upgrade to an open-source OS rather than struggle with closed-source commercial OSs. |