Renaming filenames and case-sensitivity: a race condition in the OS?

There appears to be a curious set of circumstances where the OS doesn't allow you to rename a file where the only changes are case-sensitive. For example, "foo.JPG" to "foo.jpg". You can see an example using the command-shell "tcsh". Start this shell (type "tcsh" at any command prompt), and then type:
% touch foo.JPG
% mv foo.JPG foo.jpg
overwrite foo.jpg? (y/n [n])
Now, you may think it's no problem because few people use tcsh, but the problem is more systemic that should be addressed because I'm finding the problem at a programming level as well. The simplistic tcsh example illustrates the problem: the internals of tcsh call the OS-layer library function rename(2) to move or rename a file. However, something in the OS that reports back that the new filename exists (even though it doesn't) Because it sees foo.JPG, and it doesn't differentiate letter case, it thinks foo.jpg exists, so it returns an error to the calling program. In this case, it's tcsh, which is what prompts the user to overwrite. It doesn't matter what you answer, the result is the same. If you say yesthe OS doesn't see them as different, so it doesn't do anything.
If you're a programmer, you can see this happen for yourself by writing a small program that does the same thing:
#!/usr/bin/perl
if (!rename "foo.JPG", "foo.jpg") {
print "Error: $!\n";
This simple perl script just calls the rename(2) library call, which is part of the OS.
What I don't understand is why this error happens, when, and how to get around it. Obviously, other programs that rename files don't have this problem. The default shell, bash, doesn't have a problem either--even though tcsh (also a similar command-line shell) does. In fact, most programs don't have this problem. But as a programmer, I'm not sure what I should be doing. This exact same perl script (and correlating C programs) work perfectly well on all other unix platforms I've tried.
G5 Mac OS X (10.4.5)

It's not at the os layer, it's at the filesystem
layer. The filesystem you have is not case sensitive.
well, the filesystem is part of the operating system, although it's clearly only one component of it. In fact, one of the primary defining characteristics of unix is how the filesystem works, albeit there are variations of implementation. But this is a nit=picking point.
As to the issue of whether the filesystem truly is case-insensitive, that isn't so clear. I can rename a file from foo.JPG to foo.jpg easily in the Finder (just click and edit a file to change it's name from upper to lower, or mixed), and the new name you give it DOES change. similarly, I can do this with virtually any other app that has a file-finder style dialog box. Why I can't do it with the shell (or at an API level) is the real mystery, and there is no doc on the subject that I'm aware of. Clearly, the OS is preserving the change somewhere, somehow. the question is, who's doing it? (and if it's not part of the filesystem, why?)
It could be that some other layer is sitting on top of the filesystem that is overseeing such actions, and is preserving the case of the filenames, but this is such a huge waste of time and work, all for a "feature" whose value is still as yet unclear to me.
If it is, as you say, that "my version" of the filesystem happens to be case-insensitive, I'd love to know where that came from, and what the rationale was behind it. And, of course, how to get some version of the filesystem that doesn't have this feature. I've been working with unix systems at every layer since 1983, and have never run into such a thing before.
dan

Similar Messages

  • Mac OS X, User Folder and Case-sensitivity (plus a Partitioning Question)

    Hello everybody.
    Today, I'd like to start a new thread regarding the configuration of OS X and the formatting of the drive with a HFS+ (case-sensitive, journaled) file system.
    There is a problem that has been tormenting me for quite some time now, and so far I haven't been able to find a losution yet.
    Here is the issue. When I bought my MacBook Pro (early 2011), I changed the main dirve to an hybrid SSD destinating the original 750GB to a Time Machine backup disk. As a consequence I had to make a fresh install of OS X. When it came the time of formatting I've opted for:
    Creating two partitions: 1 for the OS and 1 for the user folder (I have only one admin-user). Back then, I was coming from a Win enviroment and having two partitions seemed to be the best option for me. (Less chanche of user-data corruption in case something goes wrong in the OS partition).
    Chose a HFS+ (case-sensitive, journaled) file system. It seemed to be the more complete alternative.
    Everything was absolutely for a couple of months then I encountered the first issue: Adobe products don't work on a case-sensitive fs.
    I managed to get Photoshop to work eventually (manually correcing folders name) and didn't care too much about the rest.
    In the meantime over a year has passed and I kept the mentioned configuration, uptdating to Lion and ML. Recently another couple of isses have appeared: AutoCAD presents the same problem as Adobe and there is an issue in the keyboard balcklight control (from forums seems that ML is not able to store any information in System Preferences regarding the backlight).
    Despite the fact that case-sensitive fs seems to be the future solution chosen by Apple, it is still premature to have it as OS fs unless you are an hard-core developer that don't care about tons of programs that would eventually miss from your application folder.
    Being decided to move back to a case-insesntive fs, I need wish I could calrify a couple of doubts before proceding:
    (Not relatete to fs) Is it a good practice to keep user folder on a separate volume? Does it generates any issue on the base of your experience?
    Is it possible to have the OS on case-insensitive fs and the user folder on a case-sensitive one? Does the OS have an issue with that?
    The second point is the most critical as my data are now on a case-sensitive volume. They mostly consists in documents, images and music which should be migrated on a case-insensitive volume seamlessy, however, I'm not 100% sure about what happened during the last year (i.e. if there has been the generation of not-unique names).
    Furhtermore, I wish I could keep a case-sens volume as I plan to be dealing with a Linux enviroment soon. If that could be the user volume, this would be amazing.
    I'd also like to ask personal opinion on advantages of having case-sens fs.
    I understand I asked lots of questions in a single post. I hope, however, that this thread could be a base to collect some of the quite dispersive topics related to case-sensitivity present on the web.
    Best Regards,
    Alexander

    alexanderxc wrote:
    Linc, in the provious post you said there might be issues having user data on a separte partition.
    Which kind of issues are you tihnking of? Have you ever encountered such problems?
    The biggest risk is that poorly written software will assume your home directory is at /Users/you and will fail (or worse) if it doesn't like what it finds there.
    I really appreciated if you could be more specific and don't worry about being too technical.
    There are two ways you can go about it.
    1) Set everything up normally as if you only had one partition. Create your user on that one parition. Then, copy all the real user data to the 2nd partition. Using your admin account, make sure that all the permission on the user folder on the 2nd partition are the same as on the original partition. The, use System Preferences > Users & Groups > your account > right/control click > Advanced > Home directory and change it to the home directory on the 2nd partition. Log in to that new account. Make sure everything works. Then delete the user directory at /Users.
    2) A even more robust, old-school option is to create an /etc/fstab file and have your 2nd partition mounted at /Users. Then, everything will function normally and your user home directories will all be at /Users. /Users will, however, be on a different volume.

  • WE19 (iDoc Test Tool) and case sensitive content

    Hi experts,
    I am not able to send case sensitive content via WE19. When I change a value of an existing iDoc (via WE19) all values of the segment are converted to uppercase (independent of the domain).
    To reproduce:
    1) Open transaction WE19
    2) Use any existing iDoc as template
    3) Open any segment
    4) Fill any field with a lowercase text
    5) Press ENTER
    6) Re-open the segment and check changed field. -> The value is converted to upper case
    This (translate to upper case) happens only on the segment that has been edited in WE19.
    In my opinion, the transaction WE19 is not usable because it is not possible to edit/change case-sensitive values. In our customer setting we need to send case-sensitive data in iDocs to the receiver.
    Question: Is there any other transaction to read an existing iDoc, change the data case sensitive and send it to the receiver.
    Thanks in advance.
    Björn

    Hi,
    yes - this is a "strange" behaviour ;o)
    Only other solution I know you need an IDoc in status 51 for:
    - go to bd87
    - select the IDoc in status 51
    - navigate to the needed data record
    - double click it
    - menu => display => change
    - insert your data
    After saving the status will be reset and you can process the IDoc in BD87.
    I am not sure this will work for each IDoc and element - but you may give it a try.
    For converting an existing to status 51 you can use this report: RC1_IDOC_SET_STATUS
    Regards,
    Kai

  • The query screens are case sensitive I want to remove the case sensitivity

    The current query screens are case sensitive ,I want to remove the case sensitivity is there a setting somewhere to remove this or how else can this be done.
    Example:In the restrict value range of the query screen.If we give for a particular field anything in capital letters/small it should take.
    Please let me know ASAP
    Thanks

    Hi pavan,
    generally case sensivity is related to InfoObject Master Data.
    Take a look via Tcode RSD1 to the master data of your InfoObject and check in first screen if flag for capitol letters has been marked.
    If this is the situation it is a problem, because MAster Data in cube have been saved as different if are written like "Letter" or "LETTER".
    Ciao.
    Riccardo.
    Message was edited by:
            Riccardo Venturini

  • HFS and case sensitive file systems

    I recently received a pre-installed Macbook. The file system is HFS+ (Apple_HFS according to 'diskutil list').
    This file system is not case sensitive but I would like it to be. Is there a way to deactivate the HFS wrapper responsible for that without formatting the disk and re-installing the OS from scratch ?

    I got issues synchronizing my linux account with my macosx account
    If it's home directory contents that's the issue, you might consider simply partitioning your drive and creating a separate home directory partition that is case sensitive, separate from the boot partition tht is not.
    Assuming you're on an Intel-based machine, you can resize the existing partition to make room, then create a new case-sensitive partition and move your home directory there.
    Now your account synchronization shouldn't have an issue and you didn't have to re-install the entire OS.

  • CS4 and Case Sensitive File Systems

    Does anyone know if CS4 will support case sensitive file systems?

    While I do wish all software companies including Apple completely
    supported the case-sensitive file system. Many don't. I cannot pull up
    an article, but I remember reading that Apple only recommended the use
    of the case-sensitive file system for OS X server and if memory serves
    even for that it only recommended it for the attached hard drives.
    We can lament the lack of support but if you really want to change the
    status quo for Adobe products then the only useful way to do so is:
    ...Mike

  • Portable Home Directories, FileSyncAgent, and Case-sensitive drives

    I have a 10.5.3 Server machine that is serving (via NFS) home directories to a mixed group of Leopard (10.5.3) and Linux clients. The drive containing user home directories is formatted to be case-sensitive. I also use Portable Home Directories and mobile accounts on all the Leopard clients. Many of the client machines have case-insensitive drives.
    FileSyncAgent is dying on the client machines with a lot of "Reverification failed" messasges in ~/Library/Logs/FileSyncAgent.log. The files being verified often have mixed case file names, while the error messages show lower case file names.
    Anyone else seeing FileSyncAgent dying on every home sync?

    Hi Guys, So far I have found what seems to be a fix for this issue. I was also having the issue happen to me around some iphoto file but that seems to be coincidental. I will detail what I did below but please first backup the mobile account on the local machine as you will need to recreate it.
    Backup the local mobile home folder
    Log into a admin account and delete the mobile account under the Accounts Pane in System Prefs
    Log into the users Network account on the notebook
    Delete all the following items
    ~/Library/Application Support/SyncServices
    ~/Library/Mirrors
    ~/Library/Preferences/ByHost/com.apple.syncservices.*
    ~/Library/Preferences/com.apple.filesync.plist
    ~/Library/Preferences/com.apple.homesync.plist
    ~/Library/Preferences/com.apple.LaunchServices.plist
    ~/Library/Preferences/com.apple.syndication.plist
    ~/Library/Preferences/Syndication
    Logout of the Network account and then back in
    Recreate the Mobile Account
    From this point on I have not seen any issues with the FileSyncAgent crashing. Omit any of the files listed above that do not exist. I generally have the notebooks sync on login and logout and I forced a sync while logged in to make sure everything was okay and so far so good. Hope this helps.

  • FileVault in Snow Leopard and case-sensitive filesystem?

    Does FileVault in Snow Leopard support case-sensitive filesystems?
    I know it doesn't in Leopard but was wondering if the situation had changed with Snow Leopard.

    V.K. wrote:
    I don't know the answer to that but why are you using a case sensitive file system?
    it's generally a bad idea not only because of filevault but also because many apps will not work well with it and some like many Adobe apps won't run on it at all.
    I find it amusing how Apple tout the virtues of their operating system being Unix-based when they allow MSDOS-style bastardisations like this.
    I've been using OS X for five years in case sensitive mode because I write software for (proper) Unix systems for a living. I need to be able to connect to a Unix-hosted version control system and know that my Mac isn't going to throw a wobbler just because there are two different files which would have the same name under a case-insensitive file system.
    It's a shame that I am therefore denied access to Filevault but, from what I hear, Filevault causes all sorts of problems with Time Machine backups anyway, so perhaps it's for the best.
    I have to say, in five years I haven't encountered a single piece of software that has a problem with case-sensitivity although, admittedly, I've never voluntarily used any Adobe software (does Adobe Air count)?

  • How can I deal with case-sensitive filenames referred to inconsistently inside other files?

    I have downloaded into Dreamweaver an existing web site that I'll be taking over from someone else.  The site was built with Microsoft Front Page and apparently now runs on a Windows web server.  While redesigning the site, I'd like to upload it to a web server belonging to me, where I can maintain a work in progress that is accessible to others (so they can give me input as I go along).  But my site is running on a Unix system, where filenames are case-sensitive.
    In the site I've inherited, I've discovered at least one file that is referred to in other files sometimes with one character in upper case and other places in all lower-case.  The actual filename contains the upper case character and locally, on my Windows system, it doesn't matter.  But on the server the file is not found when it is referenced in all lower-case.
    Of course, I can create an all lower-case symlink on my Unix server for the mixed-case file that I know about.  But I don't want to look through every file on the site for other files which may vary, case-wise, in how they are referenced.  Is there any way that Dreamweaver can help me;  for example, by going through and changing all mixed-case filename references inside files, to be consistent with the actual filenames?
    I know this is a lot to ask of Dreamweaver and I'm not optimistic.  But if anyone knows of a solution, I'd appreciate it.

    he means that if you use the file > find function
    (on windows this can be called upoon using CTRL + F)
    you will be able to go through all the files which are cauing you a problem and change their names so that they are all in the same case
    be warned thou
    if case sensitivity is your problem,
    and
    if some code references to your files are written in one case and some are written in the other case, simply changeing the case of the file names will not help.
    what you are trying to do will only work if
    > ALL of the file names are in one case
    or
    > ALL of the files names are the same case
    bcause this will mean you can change the one which does not always match using CTRL + F
    if there is a mix and match on both sides then you are in for a lot of work, if this problem involves multiple names then i would advise you to simply start over!

  • What is dead locks with oracle and wht is race condition wrt oracle

    what is dead locks with oracle and wht is race condition wrt oracle

    > And do you know what a race condition is all about?
    It is a term used to indicate several processes attempting to use the same resource that is not capable of servicing all these at the same time. This could be due to the resource not being thread safe or implemented as a serialised resource.
    It is often easy to look up definitions on Google. In the Google search field, type "define:race condition".
    The following [url http://www.google.co.za/search?hl=en&q=define%3Arace+condition&btnG=Google+Search&meta=]web definitions page is displayed.

  • How do I convert a case sensitive drive to a case insensitive drive?

    I have recently purchased a MacMini Server, and installed the 2 internal hard drives in a RAID 0 configuration to obtain the speed and 1 TB capacity, but unfortunately (rather stupidly in retrospect) formatted the drive in case sensitive mode.
    On installing the operating system and multiple applications, everything seemed to work well until I tried to install Adobe Acrobat X Pro. This application refuses to install on a case sensitive formatted drive, which I now understand is a common problem.
    The question is how can I convert to a case insensitive format without reinstalling all of the software from scratch?
    I have a Time Machine backup, and the easiest thing for me would be to reformat the drive, and then restore from the Time Machine backup.
    Will this process work? Or will there be some complications and files that will not function if they were originally installed on a case sensitive drive?
    Any help is appreciated....

    iPartition can do it ( http://www.coriolis-systems.com/iPartition.php ).
    from iPartition Help:
    Make Case Sensitive/Case Insensitive
    HFS+ now supports a case sensitive format as well as the usual case insensitive format. On a case sensitive volume, the names “Readme”, “README” and “ReadMe” would all represent different files, even if they were in the same folder.
    This option allows you to non-destructively change a case sensitive volume into a case insensitive one, and vice-versa. If you are going from a case sensitive volume to a case insensitive volume, some of your files may be renamed automatically by iPartition so that they do not clash. If all of the files in the table below were in the same directory, the right hand column shows the new names iPartition would choose for them:
    Old name New name
    README.txt README.txt
    ReadMe.txt ReadMe 1.txt
    Readme.txt Readme 2.txt
    README README
    ReadMe ReadMe 1
    Readme Readme 2
    Notice that iPartition puts the number before any file extension.
    N.B. iPartition does not transform filenames with numbers on the end back into their original forms. There is no way to tell which files were renamed by the user and which were renamed by the conversion process.

  • How can I backup data from a case-sensitive volume to a NON-case-sensitive volume?

    The case-sensitive volume in this instance being a desktop-mounted disk image volume.
    A tragi-comedy in too many acts and hours
    Dramatis Personae:
    Macintosh HD: 27" iMac 3.06GHz Intel Core 2 Duo (iMac10,1), 12 GB RAM, 1 TB SATA internal drive
    TB1: 1 TB USB external drive
    TB2: 2 TB USB to Serial-ATA bridge external drive
    Terabyte: a .dmg disk image and resulting desktop volume of the same name (sorry, I don't know the technical term for a .dmg that's been opened, de-compressed and mounted -- evanescently -- on the desktop)
    Drive Genius 3 v3.1 (3100.39.63)/64-bit
    Apple Disk Utility Version 11.5.2 (298.4)
    Sunday morning (05/08/11), disk utility Drive Genius 3's drive monitoring system, Drive Pulse, reported a single bad block on an external USB2.0 1TB drive, telling me all data would be lost and my head would explode if I didn't fix this immediately. So I figured I'd offload the roughly 300 GB of data from TB1 to TB2 (which was nearly empty), with the intention of reinitializing TB 1 to remap the bad block and then move all its data BACK from TB 2. When I opened TB1's window in the Finder and tried to do a straight "Select All" and drag all items from TB1 to TB2, I got this error message:
    "The volume has the wrong case sensitivity for a backup."
    The error message didn't tell me WHICH volume had "the wrong case sensitivity for a backup," and believe me, or believe me not, this was the first time I'd ever heard that there WAS such a thing as "case sensitivity" for a drive. I tried dragging and dropping some individual folders -- some of them quite large, in the 40GB range -- from TB1 to TB2 without any problem whatsoever, but the majority of the items were the usual few-hundred-MB stuff that seems to proliferate on drives like empty Dunkin' Donuts coffee cups on the floor of my car, and I didn't relish the idea of spending an afternoon dragging and dropping dribs and drabs of 300GB worth of stuff from one drive to another.
    Being essentially a simple-minded soul, I had what I thought was the bright idea that I could get around the problem by making a .dmg disk image file of the whole drive, stashing it on TB2, repairing and re-initializing TB1, and then decompressing the disk image I'd made of TB1, and doing the "drag and drop" of all the files in resulting desktop volume to TB1. So I made the .dmg of TB1, called "Terabyte," stashed that .dmg on TB2 (no error messages this time), re-initialized and then rebooted the iMac from my original Snow Leopard 10.6.1 disks and used Disk Utility to erase and initialize TB1 -- making sure that it was NOT initialized as case-sensitive, and installed a minimal system on TB1 from the same boot. Then I updated that 10.6.1 system to 10.6.7 with System Update, and checked to see that Disk Utility reported all THREE drives -- internal, 1TB, and 2TB -- as Mac OS Extended (Journaled), and no "case sensitive" BS. I also used Drive Genius 3's "information" function for more detailed info on all three drives. Except for the usual differing mount points, connection methods, and S.M.A.R.T. status (only the Macintosh HD internal, SATA 1TB drive supports S.M.A.R.T.), everything seemed to be oojah-***-spiff, all three drives showing the same Partition Map Types: GPT (GUID Partition Table.) Smooth sailing from here on out, I thought.
    Bzzzzt! Wrong!
    When I opened the Terabyte .dmg and its desktop volume mounted, I tried the old lazy man's "Select All" and drag all items from the desktop-mounted drive "Terabyte" to TB1, I got the error message:
    "The volume has the wrong case sensitivity for a backup."
    I then spent the next three hours on the phone with AppleCare (kids -- when you buy a Mac ANYTHING, cough up the money for AppleCare. Period.), finally reaching a very pleasant senior tech something-or-other in beautiful, rainy Portland, OR. Together we went through everything I had done, tried a few suggestions she offerred, and, at the end of three hours, BOTH of us were stumped. At least I didn't feel quite as abysmally stupid as I did at the beginning of the process, but that was all the joy I had gotten after two solid days of gnawing at this problem -- and I mean SOLID; I'm retired, and spend probably 12 hours a day, EVERY day, at the keyboard, working on various projects.
    The AppleCare senior tech lady and I parted with mutual expressions of esteem, and I sat here, slowly grinding my teeth.
    Then I tried something I don't know why I was so obtuse as to not have thought of before: I opened Apple's Disk Utility and checked the desktop-mounted volume Terabyte (Mount Point: /Volumes/Terabyte), the resulting volume from opening and uncompressing the .dmg "Terabyte".
    Disk Utility reported: "Format : Mac OS Extended (Case-sensitive)." Doh!
    Obviously, TB1, the 1 TB USB external drive I'd actually bought as part of a bundle from MacMall when I bought my 27" iMac, and which I had initialized the first day I had the iMac up and running (late November 2009), had somehow gotten initialized as a Case-sensitive drive. How, I don't know, but I suspect the jerk behind the keyboard. Whatever the case, when I created the Terabyte disk image (the drive's original name: when I erased and re-initialized it -- see above -- I renamed it "1TB" for quick identification), the original drive's "Case-sensitive" format was encoded too. So when I tried to drag and drop EVERYTHING from the desktop-mounted volume "Terabyte" to the newly initialized and "blessed" (now THERE's a term from the past!), the system recognized it as an attempt as a total volume backup, and hit me with "The volume [the desktop-mounted volume "Terabyte" -- BB] has the wrong case sensitivity for a backup." And, of course, the reinitialized TB1 was now correctly formatted as NOT "case-sensitive."
    Well, that solved the mystery (BTW, Disk Utility identified the unopened Terabyte.dmg as an "Apple UDIF read-only compressed {zlib}, which is why the .dmg file could be copied to ANY volume, case sensitive or not), but it didn't help me with my problem of having to manually move all that data from the desktop-mounted volume "Terabyte" to TB1. I tried to find a way to correct the problem at the .dmg AND opened-volume-from-.dmg level with every disk utility I had, to no avail.
    Sorry for the long exposition, but others may trip over this "case-sensitive" rock in the road, and I wanted to make the case as clear as possible.
    So my problem remains: other than coal shovel by coal shovel, is there any way to get all the data off this case-sensitive desktop-mounted volume "Terabyte" and onto TB1.
    Not that I know whether it would made any difference or not, one of the things that got me into this situation was my inability to get "Time Machine" properly configured so it wasn't making new back-ups every (no lie) 15 minutes.
    Philosophical bonus question: what's the need for this "case-sensitive," "NOT case-sensitive" option for disk initialization?
    As always, thanks for any help.
    Bart Brown

    "Am I to understand that you have a case-sensitive volume with data that you want to copy to a case-insensitive volume? And the Finder won't let you do it? If that's what the problem is, the reason should be obvious: on the source volume, you may have two files in the same folder whose names differ only in case. When copying that folder to the target volume, it's not clear what the Finder should do."
    Yes, I understand all that... NOW.
    What I had (have) is a USB external 1TB drive (henceforth known as "Terabyte") that I bought with my 27" iMac. I formatted, and put a minimal (to make it bootable) system on Terabyte the same day back in late November 2009 that I set up my 27" iMac. Somehow -- I don't know how -- Terabyte got initialized as "case-sensitive." I didn't even know at the time that there WAS such a thing as "case-sensitive" or "NOT case-sensitive" format.
    Sunday morning (05/08/11), Drive Pulse, a toolbar-resident utility (that's Part of Drive Genius 3) that monitors internal and external drives for physical, problems, volume consistency problems, and volume fragmentation, reported a single bad block on the volume Terabyte, advising me that it would be best if I re-formatted Terabyte ASAP. I thought I could open Terabyte in a Finder window, Select All, and drag everything on the drive to ANOTHER USB external drive of 2 TB capacity (henceforth known as TB2). When I tried to do that, I got an error message:
    "The volume has the wrong case sensitivity for a backup."
    First I'd heard of "case sensitivity" -- I'm not too bright, as you seem to have realized.
    Oddly enough (to me), I could move huge chunks of data, including a folder of 40GB, from Terabyte to TB2 with no problem.
    Then the scenario unfolded per my too-convoluted message: several hours of trying things on my own, including making a .dmg of Terabyte (henceforth to be known as Terabyte.dmg) -- which left me with the exact same problem as described in the previous 4 paragraphs; and my 3 hours on the phone with AppleCare, who at least explained this case-sensitive business, but, after some shot-in-the-dark brainstorming -- tough to do with only one brain, and THAT on the OTHER end of the line --  the very pleasant AppleCare rep and I ended up equally perplexed and clueless as to how to get around the fact that a .dmg of a case-sensitive volume, while not case-sensitive in its "image" form (Terabyte.dmg), and thus able be transferred to TB1 or TB2 with no problems whatsoever, when opened -- either by double-clicking or opening in Disk Utility -- produced a desktop-mounted volume (henceforth known as the volume "Terabyte," the original name of the case-sensitive volume from which TB1.dmg had been made) that had the same case-sensitivity as the original from which it was made.
    In the meantime, having gotten the data I needed to save off the physical USB "case-sensitive" volume Terabyte in the form of Terabyte.dmg, I erased and re-initialized the physical USB "case-sensitive" volume Terabyte, getting rif of the case sensitivity, and renaming it TB1. But it all left me back at square one, EXCEPT I had saved my data from the original "Terabyte" drive, and reformatted that drive to a NON- case-sensitive data now named TB1. The confusion here stems from the fact that problem case-sensitive drive, from which I made Terabyte.dmg, was originally named "Terabyte". When I re-initialized it as a NON case-sensitive drive, I renamed it TB1. I'm sorry about the confusing nomenclature, which I've tried to improve upon from my original message -- usual text-communication problem: the writer knows what he has in mind, but the reader can only go by what's written.
    So, anyway, I still have the same problem, the desktop-mounted volume "Terabyte" still cannot be transferred in one whole chunk to either my internal drive, TB1, TB2, as the Finder interprets it as a volume backup (which it is), and reads the desktop-mounted volume "Terabyte" as case-sensitive, as the original volume -- from which the disk image Terabyte.dmg was made -- had been at the time I made it. 
    "As long as that situation doesn't arise, you should be able to make the copy with a tool that's less fastidious than the Finder, such as cp or rsync."
    I'm afraid I have no idea what "cp or rsync" are. I'd be happy to be educated. That's why I came here.
    Bart Brown
    Message was edited by: Bartbrn
    Just trying to unmuddy the water a bit,,,

  • Web Dynpro & case sensitive selection of Adobe Forms

    Hi Community
    how can I solve this issue:
    I have a Web Dynpro View with a button. Clicking this button generates a Adobe form and displays it.
    So long everything's fine.
    Here's my problem:
    There are 4 different case sensitive forms in dependence of the user's selection. How can I solve this?
    The form is assigned to the view via layout, so do I have to create 4 views,related to the amount of forms? And additionally the pdf's are displayed in dialog windows, so do I have to create 4 windows additionally where I have to embed a view for each of them?
    Is there any other way to solve it? It looks for me like a not very nice solution.
    Thanks in advance,
    Tan

    Hi Tan,
    Solutions that i am proposing may not be the best solution but you need to take a call on the best one:
    Solution 1 :
    1. Try Creating only one view and one window for pop up ( in addition to your existing view with button )
    2. in the view add an interactive form and bind it to one of the form.
    3. in WDDOMODIFYVIEW method , depending on the situation try to change the mapping to this interactive form
    4. This embedded view in the pop up window is always called, only based on the conditions the adobe forms changes.
    Solution 2:
    1. in your view add 4 Interactive forms , bind them to different nodes as per its mapping requirement
    2. create 4 Visibility context attributes , bind them with each of the forms
    3. depending on the condition , hide or make visible the adobe forms.
    4. show this view in the pop up window.
    My suggestion would be to go with Solution 2 , since it does not involve dynamic modifications at runtime.
    Regards,
    Ashish Shah

  • Turning off case-sensitive mode in a cluster?

    I just set up a cluster and installed a web application that was running on a non-clustered
    machine. When I started to run the application I noticed file references to JSPs
    were case sensitive. The setting during deployment of the web application to ignore
    case does not seem to work in a clustered environment. Does anybody know how to
    turn this off in a cluster?
    -Rich

    I am using weblogic 6.1 on windows 2000. When the web application is running in
    a non cluster environment, it runs in the case-insensitive mode. The toggle switch
    in the admin console allows the mode to change to case-sensitive.
    How ever, when I deploy the web app into a cluster, it always runs in case-sensitive
    mode. The setting in the admin console for the web app is ignored. How can I run
    the web app in a cluster in case-insensitive mode?
    Any thoughts?
    =?iso-8859-1?Q?Jean=2DFran=E7ois?= Gervais <[email protected]> wrote:
    Hi Rich
    Filenames are case-sensitive only on UNIX, and not case-sensitive on
    Win/NT.
    In WLS5.1 exists a property for the case sensitivity of the jsp' extension
    files.
    weblogic.httpd.servlet.extensionCaseSensitive
    In WLS6.1, you can configure the same property in the console (configuration/files
    tab of the
    webApp).
    Hope this help.
    JFG
    rich wrote:
    I just set up a cluster and installed a web application that was runningon a non-clustered
    machine. When I started to run the application I noticed file referencesto JSPs
    were case sensitive. The setting during deployment of the web applicationto ignore
    case does not seem to work in a clustered environment. Does anybodyknow how to
    turn this off in a cluster?
    -Rich

  • Dr. Damien's Developmen​t - Debugging Race Conditions

    Awhile back, one of the forum posters suggested I share some of the techniques I have developed in my years as a LabVIEW programmer.  This is the first in an occassional series.  Race condition debugging is the topic of the day, since it was the topic which prompted the suggestion.
    Anyone who has programmed LabVIEW for any period of time has probably run into a race condition.  You used a global variable when you shouldn't.  That local that used to be a simple scalar morphed into a cluster and then starting blapping your control booleans.  You copied a cluster and didn't reinitialize it correctly.  There are lots of ways to do it.  But how to do you find it?
    Race conditions often rely on an exact timing and execution sequence.   A good clue that you have a race condition is that your code works correctly when you step through it with execution highlighting.  You need a way to see what is happening in real time.  I do this by sprinkling my code with the small VI attached below (LabVIEW 7.1 version, Windows only).  This VI writes strings to the debug device every time it is run.  These strings can be read by anything which will read the debug device, but the easiest way to watch them is using DebugView from the Microsoft SysInternals suite of applications.  DebugView gives you timestamps with processor tick count precision, so you can accurately determine exactly when the code runs (Note that Linux and Mac users can get much the same functionality by writing a string to stderr.  Since I have not actually done this, I cannot give details of use.).
    Where do you put these function calls?  If you have no clue where the problem is, start with your top level loop.  Make sure you put identifying tags at each location.  Include the values of the variables you are trying to find race conditions in.  This should allow you to find the problem spots.  At this point, start placing more tags in a sort of binary search for the problem.  Experience has shown that you can usually find a race condition in under an hour using this technique, provided you can reproduce the race condition in the first place (which may be a real problem).
    If you are using LabVIEW 8.0 or better, you can put a conditional compile structure around the error debugging code and leave it in your code so you don't have to remake it every time.
    There are probably as many methods of debugging race conditions as there are LabVIEW programmers.  How do you do it?
    This account is no longer active. Contact ShadesOfGray for current posts and information.
    Attachments:
    WinDebugLogging.vi ‏33 KB

    Logging when things happen is a great way to start to track down race conditions. For logging purposes I use a queue-based logging system. There is a separate log viewer that's essentially a window with a string indicator with a built-in search mechanism, but there is also an option to dump it to file. As with the previous solution, it's cross-platform. 
    Unfortunately, logging on its own is not enough to be able to track down race condition caused by local variable abuse since there is no data dependency.  There is no way to know whether the access of the local happened before or after the logging event. In this respect there is little that LabVIEW programmers can do other than to artifically create a data dependency which essentially removes the race condition that you were trying to track down in the first place. Given this, it would be great if LabVIEW had a built-in mechanism for logging read/write access to locals and globals, which in most cases are the primary causes of race conditions.
    By the way, is "blapping" a technical term?  I will let the reader look up that term. 

Maybe you are looking for

  • List of Vendors:

    Dear Gurus We are shifted the plant from one location to another location The plant address has been changed. Now I want to send the New address to vendors (Only used by my plant) Because so many vendors are created in my company code( So many plants

  • LXC Container login on host tty

    I want create a full system lxc container with a gui and log in to it on one of the host's tty (using CTRL+ALT+Fn). I have set up lxc as per the wiki and I can login into container (its debian sid) and ssh into it and install software. What I'm havin

  • Not able to import metadata using BI Admin tool

    Hi folks, I've installed OBIEE 11g server(Version 11.1.1.6.0) in my local machine which is lying on Windows 7 environment. Tried importing metadata(Oracle Database) using BI Admin tool, it throws "The Connection has failed" error. I've copied TNSNAME

  • Is there a way to change the primary computer for iphones?

    I have been using managing my iphone through my itunes on my home PC, but just recently bought a new laptop and would like to make my laptop the primary computer for my iphone. How do I change it?

  • G570 hard disk drive replacement

    Hello to all fellow Lenovo owners. Recently, my G570 Hard drive crashed. I  removed it and will purchase a new one but desperately need detailed, specific instructions about formatting, partitioning and installing Windows 7 and whatever else is neces