Yosemite run "mount volumes" is not same as Mountain Lion

I have a script to mount the shared folder from Windows server (named: servicedesk) as a volume in Yosemite iMac.
-- -------begin script-----
set loggedInUser to do shell script "whoami"
tell application "Finder"
  try
  mount volume "smb://servicedesk/M"
  do shell script "ln -sf /Volumes/M/ ~/Desktop/M"
  end try
end tell
----------End script--------
When run the script on Mountain Lion 10.8.5 iMac, I can list the "M" when run the command in terminal: ls /Volumes/
But when run the script on Yosemite iMac, It's show "servicedesk" instead "M" when run the command in terminal: ls /Volumes/
I don't know why it is difference and can't do anything to create symlink to the Desktop now. Please help????
Thank you,

Thanks for your reply @Camelot
Your reply is solved my question.
But I'm still wondering why it is same the way of script done (in OS 10.10.1) with 2 targets: shared folder on iMac and shared folder on Windows. The script which "mount volume" on MAC is have expected result, Windows is not. Please see the picture to easier understand
1/ "Idrive", is mapped from iMAC, "M" is mapped from WIndows
2/ But when show the result in Terminal, "Idrive" can list, "M" doesn't but it's shown "servicedesk". The icon is also difference on the Desktop!!!
much appreciate your comments

Similar Messages

  • HT1442 install and run mac os 10.4 at the same time mountain lion 10.8

    nstall and run mac os 10.4 at the same time mountain lion 10.8

    I was able to install Intel Tiger into VMWare Fusion 2.0; I was never successful at installing it in VMWare Fusion 4.
    If you have had success in version 4, please let us know how to do it!  Thanks!

  • I'm currently running 10.6.8. My Mac is not compatible with Mountain Lion. How can I get Lion?

    I'm currently running 10.6.8. My Mac is not compatible with Mountain Lion. Is there a way I can upgrade to Lion?

  • How can I find Lion to download it to my Mac Boook/  It is the white plastic model and is now running Snow Leopard.  It has 4 GB of Ram but this computer is not compatible with MOuntain Lion.  I cannot find Lion anywhere.

    How can I find Lion to download it to my Mac Book?  It has Snow Leopard and 4GB RAM but it the white plastic model and is not compatible with Mountain Lion.  I have been told by the Genius Bar that it will handle Lion.

    That underpowered model is better left on 10.6.8 for performance reasons, also the fact that it's dated and 10.7 will likely require you to buy alll new software to replace the PPC based software your currently using.
    If you insist, then call Apple via phone and they will sell you 10.7 Lion and provide a link to download it.
    My 2¢ is to save up for a new machine, as that one is about to kick the bucket, they only last about 4.5 years or so depending upon use/enviroment.
    If your having problems with 10.6.8, perhaps some of the links here can assist, 10.6 is faster than 10.7 in fresh install tests.
    Why is my computer slow?
    ..Step by Step to fix your Mac
    How to erase and install Snow Leopard 10.6
    How to safely defrag a Mac's hard drive
    https://discussions.apple.com/community/notebooks/macbook_pro?view=documents

  • Applet cache is not working on Mountain Lion(Mac 10.8)

    Applet cache is not working on Mountain Lion(Mac 10.8)
    OS Details:  Mac 10.8
    Applet cache is not working on Safari 6 and Firefox 15.0.1 with java 7(provided by oracle) on Mac 10.8(mountain Lion) and even applets are not working  on chrome because its not supporting java 7(64 bit).
    In order to run applets on Firefox and Safari we need to install Java SE6 which provided by Apple otherwise “PlugInProcess” does not work and it show the below warning message.
    For your information I given screen shots below
    ) Safari screen shot with Java Plug-in
         2.) Firefox screen shot with Java Plug-in
         3) Chrome screen shot( it does not have java plugin)
    4) Java cache viewer console
    5) Applet Java console and it is using Java 7
    Kindly review above mentioned problem and suggest us.

    Problem solved.
    I switched to a Western Digital powered Hard Drive from the Toshiba Canvio I was using.
    I suspect the USB 3.0 did not mount correctly after the first save.
    Fortnuately the Canvio does work on my Windows 7 machine.
    Thanks for yur suggestions

  • Dashcode is not working in Mountain Lion. I tried updating to Xcode 4.4 and it still did not work . . .

    Dashcode is not working in Mountain Lion. I tried updating to Xcode 4.4 and it still did not work . . .
    I use dashcode for most of my coding needs, so it is very important to me!

    I have the same problem too. dashcode shows up in the finder but its just a question mark (see screenshot). Anyone found a way to address this?
    Thanks!

  • How to download but not install OSX Mountain Lion on Mavericks

    Hi all
    I would like to download but not install OSX Mountain Lion on my MBP which is currently running OSX Mavericks.
    This however seems impossible. I think OSX Mavericks were already installed on my MBP and therefore it seems "impossible" to download it.
    Now, why would I to do this? The answer is quite reasonable, due to certain demands related to an application portfolio I need Mountain Lion, because the portfolio is not upgraded to run on Mavericks. And, it is more reasonable to downgrade a version of OSX, rather waiting for the portfolio upgrade which can take years.
    Yes, I need to downgrade my secondary MBP which also came with preinstalled Mavericks. This can be done, if I only could download but not install Moutain Lion.
    It should be easy enough; download Mountain Lion, make an installer and make a bootable thumb usb stick. Then erase Mavericks and install Mountain Lion.
    I have previously bought Mountain Lion so it is accessible to me in the App Store, but whenever I try to hit the Download button, I get a message saying this can't be done, since I am running Mavericks.
    This bugs me, it should be obvious users needs the flexibility to swap whatever OSX version they need. It is still software.
    So, how can I download but not install Mountain Lion on my newer MBP that came with preinstalled Mavericks?
    I would like to see answers like:
    "In order to get this to work, you first have to disable the locking mechanism in [...] " instead of "No, this is impossible to do"
    Regards

    Thanks for your reply Eric
    Can't help wondering thought, people are ok with this?
    Basically Apple are saying: "Do not attempt to install an older version of OSX which came preinstalled. If so, expect multiple failures." Really?! Has it always been so? For me it's not like I'm going to install Snow Leopard on my Late 2013 Retina MBP, but I would expect some form of backward compatibility between the previous version and it successor. Apparently this is not possible, and how is this even acceptable? 
    Personally, I am not going to downgrade, as if I had a choice, but I would and I expected however, the possibility to at least download the previous OSX version. What do you do if you have bought several applications, not necessarily online from App Store and buy yourself a new Mac with preinstalled Mavericks and after installing your "old" applications they fail to work properly? What do you do since downgrading apparently is not an option. So... again, what do you do? 
    If you don't have friends with an older Mac, you could be facing serious problems. And I'm not talking about gaming, but serious business. 
    I find this quite disturbing actually, and please tell me it's not so. There gotta be a way to do this?
    I simply want to download the OS but I expect some registry values (like windows' registry) keeps preventing this.
    It should be possible to simply download and not download and install in one operation, shouldn't it?
    Regards

  • Photo booth does not work in mountain lion?

    When I try to run the photo booth app. It will not load in mountain lion, the camera light comes on and sometimes it opens with a red screen. Any one else have this issue?

    This is what I get in the console...
    08/11/2012 18:18:44.200 spindump[7458]: Saved hang report for Photo Booth version 5.0.1 (307) to /Library/Logs/DiagnosticReports/Photo Booth_2012-11-08-181844_Macintosh.hang
    08/11/2012 18:18:50.977 Photo Booth[7475]: Initializer-based scripting additions are no longer supported. "/Library/ScriptingAdditions/LCC Scroll Enhancer Loader.osax" not loaded.
    08/11/2012 18:18:50.978 Photo Booth[7475]: Error loading /Library/ScriptingAdditions/QXPScriptingAdditions.osax/Contents/MacOS/QXPScript ingAdditions:  dlopen(/Library/ScriptingAdditions/QXPScriptingAdditions.osax/Contents/MacOS/QX PScriptingAdditions, 262): no suitable image found.  Did find:
        /Library/ScriptingAdditions/QXPScriptingAdditions.osax/Contents/MacOS/QXPScript ingAdditions: mach-o, but wrong architecture
    08/11/2012 18:18:51.305 Photo Booth[7475]: *** EXCEPTION IGNORED: -[QCParameterInfo initWithType:size:]: Argument "aSize" does not verify "((aSize > 0) && (aType != kQCProgrammableType_Skip)) || ((aSize == 0) && (aType == kQCProgrammableType_Skip))"
    08/11/2012 18:18:51.306 Photo Booth[7475]: *** Failed creating composition from "/System/Library/Compositions/Mesh Bulge.qtz"
    08/11/2012 18:18:51.996 quicklookd[7477]: [QL] Can't get plugin bundle info at XTUM/ -- file://localhost/private/tmp/
    08/11/2012 18:18:52.583 Photo Booth[7475]: *** EXCEPTION IGNORED: -[QCParameterInfo initWithType:size:]: Argument "aSize" does not verify "((aSize > 0) && (aType != kQCProgrammableType_Skip)) || ((aSize == 0) && (aType == kQCProgrammableType_Skip))"
    08/11/2012 18:18:52.613 Photo Booth[7475]: *** Failed creating composition from "/System/Library/Compositions/Mesh Jiggle.qtz"
    08/11/2012 18:18:52.620 Photo Booth[7475]: *** EXCEPTION IGNORED: -[QCParameterInfo initWithType:size:]: Argument "aSize" does not verify "((aSize > 0) && (aType != kQCProgrammableType_Skip)) || ((aSize == 0) && (aType == kQCProgrammableType_Skip))"
    08/11/2012 18:18:52.620 Photo Booth[7475]: *** Failed creating composition from "/System/Library/Compositions/Mesh Noise.qtz"
    08/11/2012 18:18:52.626 Photo Booth[7475]: *** EXCEPTION IGNORED: -[QCParameterInfo initWithType:size:]: Argument "aSize" does not verify "((aSize > 0) && (aType != kQCProgrammableType_Skip)) || ((aSize == 0) && (aType == kQCProgrammableType_Skip))"
    08/11/2012 18:18:52.627 Photo Booth[7475]: *** Failed creating composition from "/System/Library/Compositions/Mesh Twist.qtz"
    08/11/2012 18:18:52.631 Photo Booth[7475]: *** EXCEPTION IGNORED: -[QCParameterInfo initWithType:size:]: Argument "aSize" does not verify "((aSize > 0) && (aType != kQCProgrammableType_Skip)) || ((aSize == 0) && (aType == kQCProgrammableType_Skip))"
    08/11/2012 18:18:52.632 Photo Booth[7475]: *** Failed creating composition from "/System/Library/Compositions/Mesh Wave.qtz"
    08/11/2012 18:18:52.690 Photo Booth[7475]: CoreAnimation: warning, deleted thread with uncommitted CATransaction; set CA_DEBUG_TRANSACTIONS=1 in environment to log backtraces.

  • Existing IMAP notes not available in notes app after mountain lion installation

    After today's mountain lion upgrade (from lion) my notes stored on an IMAP server are not available in the new notes app. The folder of the IMAP Account itself is shown but appears empty. On my Iphone all notes of the IMAP Account are shoen correctly as well as on another mac still running lion.
    Any Suggestions?
    Thanks in advance.

    Okay, I assume there are some different reasons for the syncing problem.
    I got my notes syncing again by just losing the prefix on my iPhone and renaming the existing notes folder. For those with a similar problem, here's how:
    Old situation:
    Within OS X Lion I used a Gmail account with notes (IMAP). To avoid a messy layout with the Gmail folders I used [Gmail] as IMAP Path Prefix (found under Accounts, tab Advanced).
    Under iOS5, 'Notes' was ticked on under the Gmail account. The result: Apple created a IMAP folder '[Gmail]/Notes' to store all notes.
    New situation:
    After upgrading to OS X Mountain Lion I ticked 'Notes' under the Gmail account within system prefs, 'Mail, Contacts & Calendars'. The new Notes app remained empty and didn't show my existing notes that were still on my iPhone.
    Logging in to www.gmail.com reveiled a new folder created by Mountain Lion: 'Notes'. The existing notes folder was named '[Gmail]/Notes' - because I used the [Gmail] prefix - and contained al the existing notes.
    So Mountain Lion syncs with the IMAP folder 'Notes' and the iPhone syncs with the folder '[Gmail]/Notes'
    In Lion the Mail settings were used for both Mail and Notes. So the IMAP prefix applied to both.
    In Mountain Lion, the IMAP prefix only applies to Mail, not to Notes.
    New situation, fixed:
    As Mountain Lion can only use a folder called 'Notes' for syncing, I had to change the folder my iPhone was syncing with: '[Gmail]/Notes'. I removed the newly created folder 'Notes' via www.gmail.com under the label settings and renamed label '[Gmail]/Notes' to 'Notes'. After that I removed the IMAP prefix '[Gmail]' from my iPhone Gmail (advanced) account settings, making the iPhone sync notes with the folder 'Notes' instead of '[Gmail]/Notes'. That's it.
    Btw, I maintained the use of the prefix within Apple Mail under Mountain Lion as that is totally separated from the Notes section.
    Hope this helps.

  • HT5022 Airport Utility 5.6 will not install under Mountain Lion

    I have older Base Station Extreme and Airport Express models that need to be looked after; however, the fix to install Airport Utility 5.6 under Lion will not work under Mountain Lion. The installer complains that "the version of Mac OS X on this volume is not supported". So...suggestions?

    That is correct. AirPort Utility 5.6 for OS X Lion will NOT install under OS X Mountain Lion. If you had it already installed, and then upgraded, it would have worked just fine.
    One option, is to use Pacifist to extract the utility directly from the .dmg file.

  • HT5022 What works with Mountain Lion?  AirPort Utility 5.6 will not install on Mountain Lion.

    What gives?  The AirPort Utility 5.6 wil not load on a computer running Mountain Lion.  Attempted both on an iMac and Macbook.

    That is correct, the 5.6 version of the AirPort Utility will not install under Mountain Lion ... but it will run on it once installed. One option is to use a utility, like Pacifist, to extract and "install" the utility into the Utilities folder.

  • Express 802.11n model A1264 not compatible with Mountain Lion?

    I have an airport Express 802.11n model A1264.  I have been using  it with Mountain Lion for a couple of months.  Some problems but it worked.  Last nite it stopped. - flashing orange light.  I am using Airport Utility version 6.1.  The helpful? lady at apple support said that model of Airport Express (Gen 1 ) was not compatable with Mountain Lion and I need to get a Generation 2 Airport Express.  Is there any other solution? 

    Hardware failure is a possibility but your Express is most certainly compatible with your version of Mac OS X.
    weaversue wrote:
    ...  I had pushed in the reset button on the AU Express -
    To properly reset it to factory defaults requires that you depress its reset button continuously for about five seconds - long enough for the LED to flash rapidly, then release it.
    After this the Express will create an open wireless network called "Apple Network nnnnnn" where nnnnnn = a set of characters unique to your Express.
    Connect to that network by selecting it in the menu.
    Launch AirPort Utility. It should find the Express.
    If you are still having trouble unplug the Express and plug in to an electrical outlet near your iMac. Not only does this make it easier to perform another "hard reset" should you need to, it minimizes the potential for wireless interference to prevent communication. There is no need to have it connected to your modem as you configure it.
    Only after doing all this should you begin to suspect the Express has simply failed. In that case bring it back to Apple for a final determination.
    Don't let them tell you it is not compatible with Mountain Lion because I use the exact same one all the time. Even its preceding model is compatible.

  • Why is my iMac (G5) not compatible with mountain lion?

    Why is my iMac (G5) not compatible with mountain lion? I have 4 GB ram (667) and around 90GB hard drive space.

    Jewood20 wrote:
    Why is my iMac (G5) not compatible with mountain lion? I have 4 GB ram (667) and around 90GB hard drive space.
    iMac G5 can only be upgraded to 10.5.8.
    If you have continuing use, you are among the lucky ones.  I purchased many of these used from a company that shut down its American office.  Many of these eventually suffered from the "bad capacitor" problem and required a motherboard replacement from Apple.  I was lucky in that my local Genius bar approved these for no charge, even though Apple's extended warranty had expired.
    My last one was my desktop Mac.  It's power supply failed in 2010 and I paid for a replacement.  In Summer 2011 when its HD failed, I decided it was time to move on and purchaed a Mac Mini, which I continue to run on Lion.

  • Logitech Quick Cam pro 9000 is not working with Mountain Lion's dictation

    The Logitech Quick Cam pro 9000 is not working with Mountain Lion's dictation.
    Opening the dictation system preference panel makes the system preferences crash...
    The mic of that camera is the only mic I have.
    I own a Mac Pro and an old Cinema Display which has no built-in cam/mic.
    Anyone having the same issue?
    I hope this is gonna be fixed with 10.8.1.

    Hello, thank you for responding.
    Unplug and plug in back the camera does not solve this problem. I tried that before.
    But what worked was to start photo booth. Don't really know why.
    So after every restart of the mac I have to start photo booth and dictation with the QuickCam is working. ^^

  • I have not upgraded to Mountain Lion yet, have 3 major apps (acrobatpro) and adobe image ready, and apple works that is not compatible, does anyone know how long snow leopard will be supported. Don't want to upgrade until I purchase new iMac next year.

    I have not upgraded to Mountain Lion yet, have 3 major apps (acrobatpro) and adobe image ready, and apple works that is not compatible, does anyone know how long snow leopard will be supported. Don't want to upgrade until I purchase new iMac next year.

    Consider running your Adobe and AppleWorks software in Snow Leopard (with Rosetta) installed in Parallels in Lion or Mt. Lion:
                                  [click on image to enlarge]
    Full Snow Leopard installation instructions here:
    http://forums.macrumors.com/showthread.php?t=1365439

Maybe you are looking for