I am working on an application which requires me to read the names of mounted CD/DVDs and read the contents only after I validate that it is the one I am interested in.
For this , I have an internal list of names of the DVDs to match against the names of the mounted drives.
I use the File function “findChildFiles” from the root file “/Volumes”.
This was working fine for me all this while until today when I came across a DVD, “Vol_001_highIMPACT” and the “findChildFiles” is returning me only the name “Vol_001_highIMP” .
I am thus not able to match it against my internal list. I also cant change the name in my internal list to “Vol_001_highIMP” because it will have other serious implications.
I also checked /Volumes in the finder and the finder also shows it as only “Vol_001_highIMP”.
Is there anyway to get around this issue ? Is it a bug with the Mac file system ?
Any help in this regard would be highly appreciated,
Thanks in advance,