Get info of a drive

can we get info of the cd-rom drive example, like the size, or folders number???
sorry for my english
thx

By native libraries, I mean code that is operating system specific.
Such code is called either by Runtime.exec(...) or by using JINI. Both ways break portability, and it doesn't sound like it's something you really have to do.
Here's one link:
http://www.esus.com/javaindex/j2se/jdk1.2/javaio/withfiles/diskspace.html
There has also been some past discussion on the topic - use the search facility (top right) to find out more.
Hope this helps.--
<sig> http://www.itswalky.com http://www.crfh.net </sig>

Similar Messages

  • Get Info says C-Drive (256SSD) space is 80GB content/33.5 GB available - where is the missing 100+GB?

    Question is how do I determine where the invisible content is - and how can I clean/remove /move the content to clear space on the C-Drive?
    My MacPro C-drive is a 256 GB SSD and it has 80GB of program/system/library/User data burned into the four folders that appear in Get Infor. When the MAcHD Get Info comes up it reads the capacity of the drive is 240GB and the available is 33.5 GB - so with 80GB of content on a 240GB drive (one Partition)simple math says there should be over 100GB available - Finder Get Info says there is 33.5 available - assumption is there must be hidden files -

    Use a program such as GrandPerspective to locate it.
    (121702)

  • Disk Utility stats vs. Hard Drive "get info"

    Trying to backup my hard drive and running into some frustrating issues!
    Recent hard drive crash -- used Applejack (Snow Leopard version) to clean up Lion.  Bad decision.
    Recently moved my iTunes library to external drive.
    Wanting to backup internal hard drive using Time Machine but...
    DISK UTILITY SAYS...
    capacity = 499.25 GB
    available = 152.92 GB
    used = 346.33 GB
    and "GET INFO" ON HARD DRIVE SAYS...
    used = 99.95 GB
    External is 250 GB capacity and there is NOT 346 gigs of stuff on the internal after having just moved iTunes to a separate 1TB HD...
    WHAT IS WRONG?!?!?!?

    Heh, heh, even computers get konfuzzed every now and then...

  • Missing disk space - 'get info' differs from 'du'

    Hi there
    I have three harddrives in the server - one 80 GB drive for the system (called Server HD) and two 1TB drives for the home directories and network shares.
    The problem is that, according to 'get info', the 80GB drive is almost full (only 6 G left) and I don't know where all the space is used.
    When I the applications 'disk inventory' or 'whatsize'(in administrator mode) or the terminal with 'sudo du -shx /Volumes/Server\ HD' they all report a disk usage of about 23GB, which is more likely as the system is just a few weeks old and the home directories are not located in this volume.
    But if I use 'df' to see the free space this reports the same as 'get info' - only about 6GB left.
    According to the system profiler the smart status is verified, so the disk should be ok (I think).
    Unfortunately I am pretty new to Macs so I don't have the slightest idea what to do now to check and hopefully reclaim the missing disk space.
    Thanks for any tips
    Claudia

    Look in /Volumes directory there should only be an alias or mount point for any volumes you have mounted. If a volume didn't mount properly, it is possible to find "name" and "name_1" entries, and for actual files to now reside there.
    Another utility I like is from OmniGroup
    http://www.omnigroup.com/omnidisksweerer which should easily show where space is used.
    For books, Missing Manual, and O'Reilly OS X for Unix Geeks
    http://oreilly.com/catalog/9780596520625/index.html
    http://books.slashdot.org/books/08/02/27/1551206.shtml

  • I've cleared almost 30 gig off of my hard drive in the past 2 weeks, and it will temporarily show that in the Get Info box.  But hours later, I am still getting a disk full error and all of the memory has disappeared.

    I've cleared almost 30 gig off of my hard drive in the past 2 weeks, and it will temporarily show that in the Get Info box.  But hours later, I am still getting a disk full error and all of the memory has disappeared.  I have cleared my backup logs from Time Machine, checked the mail folder, cleaned out tons of photos and videos and it still keeps filling back up.
    In checking the log files, here is the message repeated over and over....
    Jul  4 07:18:13 Donald-Keele-Jrs-iMac-123.local CalendarAgent[213]: CoreData: error: (21) I/O error for database at /Users/donjr/Library/Calendars/Calendar Cache.  SQLite error code:21, 'unable to open database file'
    Jul  4 07:18:13 Donald-Keele-Jrs-iMac-123.local CalendarAgent[213]: Core Data: annotation: -executeRequest: encountered exception = I/O error for database at /Users/donjr/Library/Calendars/Calendar Cache.  SQLite error code:21, 'unable to open database file' with userInfo = {
                  NSFilePath = "/Users/donjr/Library/Calendars/Calendar Cache";
                  NSSQLiteErrorDomain = 21;
    Jul  4 07:18:14 Donald-Keele-Jrs-iMac-123.local cfprefsd[180]: CFPreferences: error creating file /Users/donjr/Library/Preferences/com.apple.iPhoto.plist.t3l894p: 28
    Jul  4 07:18:30 Donald-Keele-Jrs-iMac-123.local Printer Pro Desktop[275]: Empty task
    Jul  4 07:18:33 Donald-Keele-Jrs-iMac-123.local Microsoft Sync Services[8149]: [0x16697c0] |ISyncSession|Warning| com.microsoft.Entourage2008: transitioning to cancel - session cancelled by server: Client 'com.microsoft.Entourage2008' tried to start a session for the plan 45AD80C3-0D52-4CF2-8CBA-103564B6C47C and the plan no longer exists.
    Jul  4 07:18:33 Donald-Keele-Jrs-iMac-123.local Microsoft Sync Services[8149]: Warning: NSBundle NSBundle </Applications/Microsoft Office 2008/Office/Microsoft Sync Services.app/Contents/Resources/MicrosoftOfficeNotes.syncschema> (not yet loaded) was released too many times. For compatibility, it will not be deallocated, but this may change in the future. Set a breakpoint on __NSBundleOverreleased() to debug
    Jul  4 07:18:33 Donald-Keele-Jrs-iMac-123.local Microsoft Sync Services[8149]: Warning: NSBundle NSBundle </Users/donjr/Library/Sync Services/Schemas/MicrosoftOfficeNotes.syncschema> (not yet loaded) was released too many times. For compatibility, it will not be deallocated, but this may change in the future. Set a breakpoint on __NSBundleOverreleased() to debug
    Jul  4 07:18:45 Donald-Keele-Jrs-iMac-123 kernel[0]: (default pager): [KERNEL]: default_pager_backing_store_monitor - send LO_WAT_ALERT
    Jul  4 07:18:45 Donald-Keele-Jrs-iMac-123 kernel[0]: macx_swapoff SUCCESS
    Jul  4 07:19:31 Donald-Keele-Jrs-iMac-123.local Printer Pro Desktop[275]: Empty task
    Any ideas on what to do next?
    I'm running and iMac 20-inch  early 2009
    Processor  2.66 GHz Intel Core 2 Duo
    Memory  8 GB 1067 MHz DDR3
    Graphics  NVIDIA GeForce 9400 256 MB
    Software  OS X 10.8.4 (12E55)

    Step 1
    Quit Calendar. Triple-click the line below to select it:
    ~/Library/Calendars/Calendar Cache
    Right-click or control-click the highlighted line and select
    Services ▹ Reveal
    from the contextual menu. A Finder window should open with a file named "Calendar Cache" selected.
    Move the selected file to the Trash. There may be one or two other files in the same folder with names that begin in "Calendar Cache". If so, delete those files too.
    Step 2
    Empty the Trash if you haven't already done so. If you use iPhoto, empty its internal Trash as well:
    iPhoto ▹ Empty Trash
    Then reboot. That will temporarily free up some space.
    According to Apple documentation, you need at least 9 GB of available space on the startup volume (as shown in the Finder Info window) for normal operation. You also need enough space left over to allow for growth of your data. There is little or no performance advantage to having more available space than the minimum Apple recommends. Available storage space that you'll never use is wasted space.
    To locate large files, you can use Spotlight. That method may not find large folders that contain a lot of small files.
    You can more effectively use a tool such as OmniDiskSweeper (ODS) to explore your volume and find out what's taking up the space. You can also delete files with it, but don't do that unless you're sure that you know what you're deleting and that all data is safely backed up. That means you have multiple backups, not just one.
    Deleting files inside an iPhoto or Aperture library will corrupt the library. Any changes to a photo library must be made from within the application that created it. The same goes for Mail files.
    Proceed further only if the problem isn't solved by the above steps.
    ODS can't see the whole filesystem when you run it just by double-clicking; it only sees files that you have permission to read. To see everything, you have to run it as root.
    Back up all data now.
    Install ODS in the Applications folder as usual. Quit it if it's running.
    Triple-click the line of text below to select it, then copy the selected text to the Clipboard (command-C):
    sudo /Applications/OmniDiskSweeper.app/Contents/MacOS/OmniDiskSweeper
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V). You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The application window will open, eventually showing all files in all folders. It may take some minutes for ODS to list all the files.
    I don't recommend that you make a habit of doing this. Don't delete anything while running ODS as root. If something needs to be deleted, make sure you know what it is and how it got there, and then delete it by other, safer, means. When in doubt, leave it alone or ask for guidance.
    When you're done with ODS, quit it and also quit Terminal.

  • When I download a movie from iTunes the cover art disappears. I try get info and add the art, it doesn't show up. So it's just gray. It opens and plays fine. Apple can't figure it out. It's an nas drive. When I use a firewire drive I get the art

    When I download movies from iTunes to my NAS drive, I don't get the cover art. It shows up while its downloading, but when it's finish it disappears. If it has an iTunes extra the cover art is there. I tried get info and add the cover art, it never shows. Regardless of how I add it. Funny thing is, if I download the same movie to my external firewire drive, no problem its there. I've called Apple with no success. I've even tried copying the movie with the art from the firewire drive to replace the file on then NAS drive I still loose the movie cover art. I also tried several times to re download it, no luck. Any ideas? I'm out of ideas.

    Do you have any videos/movies in the video app?
    In iTunes if you right click on the video and select Get Info and go to the Option tap what Media Type is shown?

  • Some Get Info File Data Not Showing Up On Ext Hard Drives

    I've stored all my videos on my external firewire harddrives. I notice some of the file information in the Get Info window on these videos is missing after they are transferred to the external harddrive. Last Opened, Dimensions and Duration are blank. If I play the video these fields remain blank. However the same file on my internal harddrive shows this data.
    Anyway to get this information to appear in these files on my external hard drives?
    Kelvin

    What volume format are your external hard drives?
    For example, if they're formatted as Windows FAT32 rather than Mac OS Extended (HFS+), it's possible that that type of extended Finder information isn't supported or can't be preserved when copying the file to the drive.
    Hope this helps....

  • Get info saying only 108 gb used up on the hard drive, but it's at least 3 times that

    Just wondering what the explanation for this could be. When I select the HD icon and choose "get info" in the file menu, it says that the HD file size is 108 gb, with 642 gb available. There is at least (on a rough count) 300 gb used up on the hard drive, with music, photos, movies, documents etc. They haven't been catastrophically erased or anything like that, they're all still there. So why is my hard drive saying only 108 gb used?
    Tom

    Have you compared this with what System Information>Hardware>Serial-ATA and what Disk Utility shows?
    You might download OmniDiskSweeper from the Internet (free) and open it.  This will show all of your files and the respective sizes.
    Is your drive partitioned?
    I assume you are referencing this dis[play:
    Ciao.

  • Hi all not sure where original request went but as a new apple user I have external hard drives that are now "read only" and I can't change or save documents.  Went to Get Info and this did not help.  Can anyone assist with solution, thanks.

    I am a new user to apple and have external hard drives from previous computers.  I have many documents I can no longer access and change as they say the drives are read only.  How do I change the read only to read and write etc for these external drives.  I tried Get Info but this did not assist.  Thanks.

    Hi,
    Google is your Friend
    10:18 PM      Sunday; February 12, 2012
      iMac 2.5Ghz 5i 2011 (Lion 10.7.3)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • I recently had the genius bar change my imac hard drive because it crashed. For some reason Time Machine didn't back up some of my important files. Can I get my damaged hard drive back from the genius bar to see if I can access that info?

    I recently had the genius bar change my imac hard drive because it crashed. For some reason Time Machine didn't back up some of my important files. Can I get my damaged hard drive back from the genius bar to see if I can access that info?

    Unfortunately, that drive is long gone, probably back to the mfr. Drives are not returned when they are exchanged. You can go by and ask them, but the chances are slim to none.

  • Just put my i-tunes library on a 2nd hard drive, how do I easily change the location where the program looks for current songs from the C:/ drive to the new drive without going thru each song individually in the "get info" tab

    I just installed a new hard drive and transfered my i-tunes library to the new drive.  How can I make a bulk change of the location the program looks for the current songs.  I know you can do it song by song from the "get info" tab but I need to do it for all 4500 songs.  I have already changed the location that new files are stored to the new hard drive.

    The pop-up lets you connect to the library file, iTunes Library.itl, on the external drive. This will, in turn, automatically update the preference for the iTunes Media folder to be the iTunes Media or iTunes Music folder inside the iTunes folder on the external drive and it will update the locations of all the content inside the media folder so that it uses the version on the external drive.
    This works seamlessly if all iTunes content was inside the iTunes Media (or iTunes Music) folder (which was itself inside the iTunes library folder) before you moved/copied the iTunes folder. For content outside the iTunes Media folder iTunes should remain connected to the original location. These files should be consolidated (before or after the move/copy) and in addition, if available the library should be upgraded to the newer layout which places iPod Games and Mobile Applications inside the media folder instead of the library folder. (File > Library > Organize Library...)
    For split libraries there are methods to rejoin them before moving (preferred) or repairing after the fact (e.g. my script) which I can go into if needed.
    tt2

  • ITunes 11 - Get Info greyed out for movies on external drive

    With iTunes 10, my itunes movies and TV shows grew to about 1.2TB of data, and I shifted them to an external drive.
    I was able to edit the information via 'get info' until upgrading to iTunes 11.
    Now all the information, bar the 'five stars' field are greyed out. If I shift a particular movie back to the internal drive, I can edit (genre, for example). Shift away again, get info greys out.
    Any advice? It feels like iTunes thinks it has the wrong permissions.

    When you add a movie to iTunes you have to make sure it makes a copy of the file in the iTunes Media folder.  Otherwise, you can't edit any of the information on the movie or video.
    In iTunes 12, go to Edit-->Preferences
    In Preferences, go to Advanced and make sure the "Copy files to iTunes Media folder when adding to library".
    Unfortunately, you will now have to re-import the movie files into iTunes using "Add File To Library..." Once imported, the movie will sometimes appear under "Home Movies" instead of "Movies" but if you right click on the movie file it will list a menu item called "Get Info" where you can change the "Options" to "Movie". 
    Hope that helps.

  • How to lock a drive and/or folder if there is no lock icon in the get info field?, how to lock a drive and/or folder if there is no lock icon in the get info field?

    how to lock a drive and/or folder if there is no lock icon in the get info field?, how to lock a drive and/or folder if there is no lock icon in the get info field?

    You can create an encrypted disk image.
    http://www.macworld.com/article/1154559/password_protect_folders.html

  • Finder issues and Get Info refusing to show the number of files on items on the main hard drive.

    I am having finder issues. Mostly on the main hard drive. It takes ages to find things and I get the spinning wheel every time I open a folder.
    So I moved all of my files to a external drive.  When I had finished transfering I hit get info on the files on the external drive and on the same folder on the main drive.  To ensure that it has copied over all the files.  Because it was acting up and not copying all the files.
    Get Info refuses to show the number of files within the folders on the main hard drive. It hasppily tells me everything on any of the external drives.
    I have reset, the imac.  I have re indexed 3 times.  I have deleted the finder plist files.  I have reset finder using terminal commands. I have moved nearly everything off the main hard drive. But nothing is working.
    Can anyone offer any suggestions as to what could be causing my finder and get info issues.
    Any help wpuld be appreciated.
    Running Mountain Lion on a late 2009 Imac

    Some of your user files (not system files) have incorrect permissions or are locked. This procedure will unlock those files and reset their ownership, permissions, and access controls to the default. If you've intentionally set special values for those attributes, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it, but you do need to follow the instructions below.
    Back up all data.
    Step 1
    If you have more than one user, and the one in question is not an administrator, then go to Step 2.
    Enter the following command in the Terminal window in the same way as before (triple-click, copy, and paste):
    sudo find ~ $TMPDIR.. -exec chflags nouchg,nouappnd,noschg,nosappnd {} + -exec chown $UID {} + -exec chmod +rw {} + -exec chmod -N {} + -type d -exec chmod +x {} + 2>&-
    This time you'll be prompted for your login password, which won't be displayed when you type it. Type carefully and then press return. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The command may take several minutes to run, depending on how many files you have. Wait for a new line ending in a dollar sign ($) to appear, then quit Terminal.
    Step 2 (optional)
    Take this step only if you have trouble with Step 1, if you prefer not to take it, or if it doesn't solve the problem.
    Start up in Recovery mode. When the OS X Utilities screen appears, select
              Utilities ▹ Terminal
    from the menu bar. A Terminal window will open. In that window, type this:
    res
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password window will open. You’re not going to reset a password.
    Select your startup volume ("Macintosh HD," unless you gave it a different name) if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button
    Select
               ▹ Restart
    from the menu bar.

  • All my hard drives (internal and external) have a small lock in the lower left corner of the icon and I don't have permissions to access. Permissions are set to 'Custom' in the get info window and I can't change them.

    All my hard drives (internal and external) have a small lock in the lower left corner of the icon and I don't have permissions to access. I have 3 user accounts set up and I cannot access any of them.   Permissions are set to 'Custom' in the get info window and I can't change them. Originally I had Snow Leopard installed on one hard drive and 10.5.8 installed on another.   I started to have some problems accessing data between them and so I tried changing the permissions on ONE hard drive partition.   The next thing I know, all my drives are locked (except the ones with the systems on them), the small lock appeared in the lower left corner of the drive icons and I don't have permissions to access any of them.   In the get info window, permissions are set to 'Custom' and I can't change them.

    There is suddenly a lock icon on my external backup drive!
    Custom Permissions

Maybe you are looking for

  • Carriage Return in Oracle

    I'm writing a to file and need to add a Carriage Return/New Line after every line. I've tried CHR(10) and CHR(13) and when opened in a Windows environment they both display an unrecognised character. Has anyone come across a similar problem or know w

  • Why does my phone show no service

    phone shows no service

  • Printing a chart

    is there a way to automaticaly print the chart that is generated when i run my VI. basically i am measuring a voltage for about 1 min and diplaying it on a chart. i want it to automatically either save the data to an excel sheet and/or print the char

  • Print Dialog Text Missing for Adobe Reader X

    I recently updated my computer [Windows XP Home Edition Version 2002 SP 3] to Adobe Reader 10.  After installing I starting seeing some minor issues pop up: 1st on the Intro splash page, some of the text is cut off of it. /> Secondly, When I go to pr

  • Importing from multiple Card readers at the same time...

    In Photo Mecahnics I can import multiple cards at one time. Is this possible with LR? If yes, then I will switch 100% to LR. Thanks, Marc