How to get internal hard disk name or external storage device on Mac

Hi,
I have a video display component to which I want to give the url of a flv file through a browse button. through browse button I am getting entire url path of the flv file except the top most root directory name. but in mac we should give absolute path with : delimitation rather than / as delimitation. for this I need to get the internal or external storage device name through AIR application. I will be very greatfull if anybody help me out on this issue.
Thank you.
sudheer puppala

The following code lists the names of all mounted volumes on a Mac:
var volumes:Array = new File("/Volumes").getDirectoryListing();
for (var i:int = 0; i < volumes.length; i++)
    trace(volumes[i].name);

Similar Messages

  • Internal hard disk really slow to write new files

    Hi
    I've had some problems with my mac lately;
    it was running really slowly so I ran tech tool deluxe and it detected a bad surface sector.
    I wasn't sure how to fix this so I copied everything from my internal hard disk onto 2 external hard disks.
    Then I deleted all documents, files and most apps from the internal hard drive and zeroed out all free space using disk utility. (Which took four days).
    Finally I did a re-install of leopard and ran tech tool deluxe again, which came back with no problems.
    However, now I'm trying to copy all the files back onto hard disk it's taking a very long time e.g. iTunes files totaling 31.41GB would take 14hours
    Trying to move the same iTunes files to the other external hard disk takes 25 minutes.
    Any help would be appreciated

    Then I deleted all documents, files and most apps from the internal hard drive and zeroed out all free space using disk utility. (Which took four days).
    It should not take four days to zero out free space. And it should not take 14 hours to write 30GB of data from a directly connected external drive. There is probably a problem with the part of the drive that was not deleted and zeroed; in the system installation. Or the problem could be in the disk directory structure.
    The only way to fix it is to erase the entire drive. You should not need to zero out data, although doing so would do no harm and should take no longer than a few hours (depends on size of drive). Then reinstall a fresh copy of Mac OS X. After going through the updates and installing your apps, restore your personal data from those external drives.
    If the drive is still acting slow, you may have a hardware problem with the drive.

  • How do I move music files from the startup disc to iTunes in the other internal hard disk os 10.5.8?

    How do I move music files from the startup disc to iTunes in the other internal hard disk os 10.5.8?
    The music I want to move was in iTunes but is now just files. I had to reinstall a new iTunes and lost all my old music.
    Thank you!

    That article is about using your iPod as an external hard drive, to move files from one computer to another computer.  It is not related to your question.
    You can't use iTunes to move song files from iPod to computer, except for songs you purchased from the iTunes Store (and you can also re-download purchases).  However, there are third-party methods and utilities that can move song files from iPod to computer.  If you do a Google search on something like "ipod transfer," you should get some links.
    Once the song files are on your current computer, add them to that computer's iTunes library by dragging the files (or folder containing the files) to the iTunes window.  After confirming everything is there (and fixing the data issue you mentioned) you can sync the iPod.  You may want to do a Restore on the iPod, if it might have a data corruption issue, which will erase the iPod's hard drive, re-install the latest software, and set it to defautl settings.

  • Hi, I just put a new internal hard disk to my MacBook after formattimg it and I don't know how to install the OS X? Any help please

    Hi, I just put a new internal hard disk to my MacBook after formattimg it and I don't know how to install the OS X? Any help please

    Be sure you have prepared the new drive correctly:
    Drive Preparation
    1.  Boot from your OS X Installer Disc. After the installer loads select your language and click on the Continue button.  When the menu bar appears select Disk Utility from the Utilities menu.
    2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Note the SMART status of the drive in DU's status area.  If it does not say "Verified" then the drive is failing or has failed and will need replacing.  SMART info will not be reported  on external drives. Otherwise, click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, set the partition scheme to GUID (for Intel Macs) or APM (for PPC Macs) then click on the OK button. Click on the Partition button and wait until the process has completed.
    4. Select the volume you just created (this is the sub-entry under the drive entry) from the left side list. Click on the Erase tab in the DU main window.
    5. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, check the button for Zero Data and click on OK to return to the Erase window.
    6. Click on the Erase button. The format process can take up to several hours depending upon the drive size.
    Steps 4-6 are optional but should be used on a drive that has never been formatted before, if the format type is not Mac OS Extended, if the partition scheme has been changed, or if a different operating system (not OS X) has been installed on the drive.
    When formatting has completed quit DU and return to the installer.  Complete the OS X installation.

  • How can i get my hard disk cable replacement

    how can i get my hard disk cable replacement in Ghana

    Remove or rename a folder on the root level probably called something like Private or Video or DCIM.

  • Re: How can I add a second internal hard disk to a Satellite Pro P200?

    I have a Satellite Pro P200 with a single internal hard disk. There is a second bay under the computer for another internal hard disk but I have not been able to find any information about it. There is enough space for a 2.5" SATA drive but I cannot see a connector.
    I contacted Dutch Toshiba Customer support who said that it was the official policy not to provide any information about a second hard internal disk. They also said that they would not supply any parts to make it possible.
    Can anyone provide some more information?

    Hello
    I have the same notebook with the same situation. The fact is that covers and the construction for all P200 notebooks is the same but notebooks are delivered with different hardware platforms. Some models are delivered with two HDDs.
    Other models (like yours and mine) are delivered with one HDD but without possibility for upgrade with second HDD.

  • Unable to erase internal hard disk

    Dear Mac Book Users
    To begin with I got a problem of spinning wheel and grey screen, upon extensive research online i could,nt find any solution and everytime i tried to repair it with disk utility's first aid otion i got the following error:
    Disk Utility can’t repair this disk. Back up as many of your files as possible, reformat the disk, and restore your backed-up files.
    There were a lot of errors wth permissions (upon clicking verify permissions) but the repair permissions button was greyed out.
    Now all that is history and finally the only solution to get rid of the above problem was to back up my data to an external hd (WD-My passport) using the Restore option in disk utility. That worked well and all my data, the whole volume named MACINTOSH HD was copied to external hd and alsi now I am able to boot with this external hd.
    Now the problem is that when i go to disk utility and try to erase the original internal hard disk details of which are as follows:
    Disk Description :
    ST9160314ASG Media
    Total Capacity :
    160.04 GB (1,60,04,18,85,696 Bytes)
    Connection Bus :
    SATA
    Write Status :
    Read/Write
    Connection Type :
    Internal
    S.M.A.R.T. Status :
    Not Supported
    Partition Map Scheme :
    GUID Partition Table
    I get the error:
    Volume Erase failed with the error:
    File system formatter failed.
    I want to know that has my hard disk crashed and if yes how to confirm it?
    Also if it has crashed, now can i get a new hard disk with a greater capacity (let me know the maximum capacity) than my original 160gb. Are there any things i should keep in mind while buying a new one?

    Please check the results:
    Last login: Thu Aug 30 11:34:15 on console
    Manan-Dewans-MacBook-Pro:~ manandewan$
    Manan-Dewans-MacBook-Pro:~ manandewan$ bash
    bash-3.2$ diskutil erasedisk HFS+newdisk Disk Utility can’t repair this disk. Back up as many of your files as possible, reformat the disk, and restore your backed-up files.diskutil erasedisk HFS+newdisk /volumes/disk0
    Unknown partition scheme: Utility
    bash-3.2$ diskutil erasedisk HFS+newdisk /volumes/disk0
    Usage:  diskutil eraseDisk format name [[APM]Format|[MBR]Format|[GPT]Format]
            MountPoint|DiskIdentifier|DeviceNode
    Completely erase an existing whole disk.  All volumes on this disk will be
    destroyed.  Ownership of the affected disk is required.
    Format is the specific file system name you want to erase it as (HFS+, etc.).
    Name is the (new) volume name (subject to file system naming restrictions),
    or can be specified as %noformat% to skip initialization (newfs).
    You cannot erase the boot disk.
    Example: diskutil eraseDisk JHFS+ UntitledUFS disk3
    bash-3.2$ diskutil erasedisk HFS+ newdisk "/volumes/disk0"
    Could not find disk for /volumes/disk0
    bash-3.2$

  • Can I possible to use dual boot(windows 7 in internal hard disk and windows 8 in external hard disk)?

    i want to create dual boot(2 OS in 1 laptop) in my laptop but my internal hard disk reach maximum(3) logical partition so my genuine windows 7 os is not allow me to create new logical partition and install win8 pro. i planed to purchase
    one external hard disk and connect with my laptop and install win8 in external hard disk and use both win8 and 7. This is possible? If possible how to i create? please give me step by step instruction.

    This is a developers forum for the presentation manager windows forms classes and api's
    Try what has now a new name again user community forums, formerly answer forums.
    http://answers.microsoft.com
    Success
    Cor

  • MacBook does not see internal hard disk

    Sorry if this is already answered somewhere, but I have searched so many forums that my head is swimming!
    My boyfriend connected a new USB drive to his MacBook, formatted the new disk, copied some backup data onto it. At some point, the MacBook hung, so he held down the power key until the MB turned off.
    Each time we restart it now, we get the flashing-folder-with-question-mark, and Tiger won't boot.
    I have tried almost all of the tips I can find, and was even willing to reinstall OS X, however... the MacBook does not appear to see it's internal hard disk. As such, I cannot perform first aid on the disk via booting to setup DVD, and I cannot reinstall OS X.
    If I boot from the OS X install disk, and use Disk Utility, the MB only sees the CD-RW/DVD-RW drive and the install disc. No internal HD ever shows up.
    Help! I am at a loss as to how to fix...

    Let me guess: you're also experiencing a low clicking noise from the right side of your mac immediately after you turn it on, right? Same thing happened to me and others, in fact there are several threads on this subject already:
    http://discussions.apple.com/thread.jspa?threadID=960977&start=0&tstart=0
    http://discussions.apple.com/thread.jspa?messageID=5325539&#5325539
    My drive was done for, and no data could be saved. I ended up buying a new drive, and now I'm just hoping the same thing doesn't happen again. I'm beginning to get a sense that this problem is occurring on a more frequent level now that the 1st generation macbooks have reached their 1-year birthday, give or take. Let's hope Appel fesses up if it is indeed a design flaw.
    Anyway, you most likely need a new drive. I just got a Hitachi Travelstar 250 gb for around 200$US, so they're quite cheap, and VERY easy to install, just 3 screws, slide it in, boot up, run disk utility, erase/format and you're good to go.

  • Can't repair or partition internal hard disk with disk utility

    Hi,
    For the past couple months I've been trying to repair and (re)format my second internal hard disk. It stopped showing up on the desktop after I attempted to install leopard on it. Until then I'd had no problems with the disk for the two years I've had it Leopard installed fine on the other smaller internal disk. But the second disk only shows up in disk utilities - it doesn't have any volumes. I can't verity the disk because the button is greyed out as is the repair disk button.
    S.M.A.R.T. Status shows "not supported".
    Partition Map Scheme shows "unformatted".
    Whenever I startup my computer I get a dialog box stating "The disk I have inserted is unreadable by this computer". I't referring to my 250gig internal disk. I read some posts here that suggested using OS 10.4 disk utility to format but that doesn't work either.
    At this point I'm totally lost as are all the files I had on that disk - I initially erased it back when I attempted to install leopard on it. Does anybody have any ideas how to fix this?
    Thanks for any and all help

    Hi V.K.
    Thanks for the advice. Luckily I don't have any data on it since I wiped it clean back when I attempted to install leopard on it a couple months ago. I'm really amazed that it only lasted two years compared to my 80gig which has been in use [daily] for at least five years. I hardly ever used the 250gig drive. I ordered another (500gig) drive from Western Digital which I expect to be here in a couple days. In the mean time I guess I'll get out my hammer.
    Thanks for your help.

  • Disk Utility hangs while initializing internal hard disk in Core Duo iMac

    I have a 20" Core Duo iMac. Recently the internal hard drive crashed ("invalid B-tree node size" or something reported when Disk Utility tries and fails to repair it). I have all my data on an external hard disk used as a Time Machine volume, so recovery is not my issue. Initially I picked the write zeroes once security option and chose to erase the internal hard disk. Realizing this would take too long, I clicked on skip, and Disk Utility appeared to hang. I quit and restarted Disk Utility, and chose the "don't erase" security option, but when I go to erase the drive it appears to hang while at the "partitioning" stage and doesn't seem to get any further. There is motion in the progress bar, but no additional progress after about an hour. Disk Utility shows the disk but no volumes underneath it (whereas immediately after the crash, it showed an unmountable volume labeled "disk0s2").
    Why would Disk Utility be taking so long and not making any progress? How can I reformat this disk if Disk Utility is not able to? Incidentally, I am running the Disk Utility that comes with OS X 10.4.8, since that is the OS X version on my portable hard drive that I booted from. I also tried using Drive Genius to initialize the hard disk, but it also appeared to hang with no progress.

    It is possible the drive has failed, but to be sure start by turning off the computer. Wait five minutes. Then do this:
    Extended Hard Drive Preparation
    1. Boot from your OS X Installer Disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Installer menu (Utilities menu for Tiger or Leopard.)
    2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Note the SMART status of the drive in DU's status area. If it does not say "Verified" then the drive is failing or has failed and will need replacing. SMART info will not be reported on external drives. Otherwise, click on the Partition tab in the DU main window.
    3. Set the number of partitions from the drop down menu (use 1 partition unless you wish to make more.) Set the format type to Mac OS Extended (Journaled.) Click on the Options button, set the partition scheme to GUID (only required for Intel Macs) then click on the OK button. Click on the Partition button and wait until the process has completed.
    4. Select the volume you just created (this is the sub-entry under the drive entry) from the left side list. Click on the Erase tab in the DU main window.
    5. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, check the button for Zero Data and click on OK to return to the Erase window.
    6. Click on the Erase button. The format process can take up to several hours depending upon the drive size.
    Be sure to boot from the OS X installer DVD, not a backup clone.

  • Is there provision to add second internal Hard disk to 17-e117dx

    Hi,
    Please can you let me know, if there is provision to add second internal hard disk to HP Pavilion 17-e117dx.
    If yes, a) are there any requirments or the specifications of Hard disk (any make or model); b) what other hardware will be required and where I can get it from and c) lastly will doing so make my HP laptop warranty void
    HP Pavilion
    Product:  F9J38UA#ABA
    Model:  17-e117dx
    Thanks
    This question was solved.
    View Solution.

    Not in the way you probably envision. Here is the Service Manual:
    Manual
    See Page 50. Unlike the Envy 17 and Pavilion dv7, the Pavilion 17 has only one hard drive bay. The only way to add a second hard drive is to remove the DVD (optical drive) and insert a DVD bay hard drive adapter. The Manual shows how to remove the DVD drive and you can buy the adapter at amazon.com or from jacobsparts.com. Note it is a 9.5 mm thick drive, not a 12.7 mm. Both types are available. I do not recommend the DVD drive adapter solution because you lose the use of the optical drive and also because the optical drive interface is usually not as fast as the main hard drive interface. Still fast enough for simple storage and you can run a video from it but you would not want to edit video from that drive, for example. 
    https://www.jacobsparts.com/items/HDDBAY-02/
    If you do decide to go the DVD adapter route I would buy a large capacity 5400 rpm SATA 2.5 inch wide and 9.5 mm thick hard drive. No sense in buying a more expensive high performance drive.
    http://www.newegg.com/Product/Product.aspx?Item=N82E16822178006
    If this is "the Answer" please click "Accept as Solution" to help others find it. 

  • Problem installating Snow Leopard on old Macbook Pro with Intel Core 2 Duo. After creating partition on internal hard disk (Extended Journaled), installation starts but stops at half of the progress bar. Screen asking Restart appears.

    Hello:
    I have tried installing Snow Leopard via the installation disc on a Macbook Pro (2007) with an Intel Core 2 Duo, but I the installation has failed more than 5 times.
    I have first formatted and partitioned the internal hard disk with Mac Os Extended Journal format.
    Once the installation starts, it starts without a problem unti lthe progress bar gest until half completed then a screen asking for a Computer Restart shows up.
    It asks to press the power button for some time until it the computer shuts down and then, press again to turn it on.
    Once turned on, the installation disc gets readed, the installation screen appears again and asks again to start the whole installation process form the beginning.

    Then you have a Hardware Problem.
    Your system is Crashing part way through the install and Re-Booting because of the crash.
    Could be the drive itself or it could be some other hardware part in your system. Like the RAM.
    To check if it is the internal drive connect an External drive to the system by USB and do the install on that external. If the install completes then it more then likely the drive is bad. If it crashes again then it is more then likely some other piece of hardware in your system.

  • ITunes showing Album Covers of external hard disk i/o internal hard disk

    Greetings from Malaysia again. Searched through the Discussion Group, but couldn't find anything there. Thus, hope to get your assistance on this matter.
    I have some music stored in the internal hard disk of my G4 iBook. However, recently I decided to have all my music stored in an EXTERNAL hard disk, ie in addition to what's in the iBook, to sync with my iPod. Both have the artwork or album covers. The issue is when I boot up ONLY the iBook, even without the external hard disk on, iTunes (Version 8.1) is showing the Artwork/Album Covers (and list of music) of the EXTERNAL hard disk instead of what's in the iBook. I've even tried the "Option key/Choose Library", but to no avail. I've even tried changing the location, after starting up iTunes in the Preference settings, but still the same story.
    Is there any way to have iTunes reflect the correct Artwork/Album Covers (and list of music) when I have the external hard disk connected, as well as otherwise?
    Thanks in advance for your help.
    Regards.

    Moved the existing library. Created a new one, and moved all the songs to the new library. Subsequently, when using the "Option" key to select the library, it ended up as what I wanted, ie iTunes showing the album covers for the songs/album in the respective library - ie external hard disk, and internal in the notebook.

  • Mac OSX wont reognise my internal hard disk drive

    I have a problem where for some reason when I start up my Macbook Pro (intel core duo) it does not detect the internal hard disk drive at all. I have run a hardware test and it shows no problems whatsoever. I have tried resetting the PRAM etc and to no avail. Yesterday the system hung and I tried to force quit and it wouldn't do anything so eventually I held down the power key and when it tried to reboot this is the problem I was faced with (it would boot up with the "no entry" sign). I accepted complete defeat and went to completely re-install OSX however it doesn't even show the internal hard drive when I wait for it to give me install destinations. I had tried seeing the hard drive through disk utility however it only shows the install DVD and that's it in the sidebar. I resigned myself further to thinking either the logic board or the HDD had packed in all and I took it round to my brother in law to see if there is anything he could do without opening the machine (he is Oxford educated and writes programmes etc so is very knowledgable), now this is the part that has miffed us both, he started it up using a Linux disc and once running, Linux see's the hard drive with no problems. He has been able to access the HDD with absolutely no problems under Linux both reading and writing to it. I even took my Mac Mini round and he booted them both up in Linux and completely copied Mac OSX from the mini to the macbook pro but still when I try booting up its as if the HDD isn't even there. Why can Linux see the drive and not Mac OSX? Please don't be affraid to get very technical in your answers as they may mean nothing to me but will probably all make sense to my brother in Law. Any sugestions at all would be greatly accepted.

    Dear mcdkev,
    You guys may have made a big error cloning the Mini HD into the MBP. They both have very different drivers and hardware settings and their OS X versions are customized to fit the hardware. That is why each mac comes with it's own version of OS X and their backup disks. That's a reason why it did not work.
    Ok, so now that you do not have any of the original info on the MBP try the following:
    Use linux to scan the disk surface & repair any problems.
    Reformat the drive as DOS or FAT 32. (I wouldn't go into any linux specific format unless you can "Apple" format it, which I don't think linux has that option.)
    Now, the MBP should be able to see it's drive...
    boot from the OS X DVD , from the Utilities menu choose Disk Utilities, partition the drive as GUI file system (in case the linux format made the drive a "system boot record", you do not want that... )
    Then format the drive as "OS X Extended Journaled"
    Now go back to install and install your original basic set of OS X (the factory default).
    *If nothing works, please do take your MBP to the Apple store or to a certified tech before you do more damage to the drive and it becomes unusable ...*

Maybe you are looking for

  • How do I paste a jpg larger than 150 dpi into Illustrator?

    I have Adobe Illustrator CS5 and run OSX 10.6.8 2.4 GHz Intel Core 2 Duo with 4GB of RAM and my question is this -- when I copy a jpg image from my Adobe Photoshop (Version 8.0) and bring it into Illustrator for a project and try to paste it in, it a

  • Runtime change of field text in module pool

    Hi All, I have a requirement where I have 2 fields in module pool. Based on input of first field the text of second field is decided. i.e. we have to change the text of second field based on value of first screen. How to handle this. Edited by: Suche

  • Why my Trackpad Handwriting is not working ?

    Hi support team: I can open my Trackpad Handwriting, but the trackpad is not working. Even though restart it again? After I download Adblock and put this: defaults write com.apple.Safari WebKitResourceTimedLayoutDelay 0.0001 into my Terminal my Track

  • How do I get the absolute best performance out of my MacBook Pro while playing Minecraft/Java Based Games?

    I pretty much want to know how to boost my laptop performance for the lowest price. Is there much to do after upgrading to 8 gigs of RAM and a Samsung SSD? Also is there anyway to upgrade a MacBook Pro early 2011 2.0 GHz i7 Graphics card?

  • Error in Creating inbound asn

    I am trying to post inbound asn using SHPMNT05, Message type : SHPADV and Process code : SHPM. I am getting an error " Transportation Planning Point does not exist". Can anyone tell me what field in the IDOC Segment in missing ?