Disk Utility 'Disk Image from Folder' looses file create date?

Hi,
I have been working on creating backups that maintain the files' create dates. I have found the following anomoly using Disk Utility.
If I create a Disk Image From Folder, the create dates of all files are changed to be the same as the last modify dates. Not what I want.
If I creat a Blank Disk Image, and then using Finder to copy the files to the Disk Image, the create dates remain unchanged.
I can then burn the backup CD's with the Disk Image and the files' create dates are maintained. So, future restore from the backup CD will contain the original files' create dates.
Does anyone know if Disk Utility's Create Disk Image from Folder is supposed to loose the files' create dates? What other file attributes are being lost? Mac OS X maintains all of these attributes, and create dates via Finder copies, I would expect the Disk Utility Create Disk Image from Folder to do the same.
Bob Horton

To follow up on this post, I know at least part of the answer. The difference between the two becomes clearer if you read the documentation (man pages) for hdiutil and asr. Image 1 will be created in file mode, whereas image 2 will be in block mode, ie bypassing the file system. Image 1 will consist of a series of files, whereas image 2 will contain a series of blocks, mirroring the original layout of the hard disk.
Technically the latter should be faster to restore (in block mode), although Apple recommend the first procedure (see man page for hdiutil). I haven't seen any evidence that images created in block mode can be mounted or restored, although you might be able to burn such images to a optical disks if applicable.
As I've pointed out in another thread (http://discussions.apple.com/thread.jspa?threadID=1508199&tstart=0) I believe that this functionality should not be offered in disk utility, and I consider it a serious bug.

Similar Messages

  • "Disk Image from Folder" from iPod

    Using Disk Utility, I have tried to create a disk image of my iPod using the "Disk Image from Folder" option.
    These are the settings I am using:
    Location of Image: Desktop
    Format: read/write
    It asks for my password, and then it briefly is in the "Initializing..." phase (less than a second), and then it gives me the error 'Unable to create "MATTSH_IPOD" - internal error.'
    What should I do? I tried creating an image from another folder, it works fine.
    I can't create an image by device, because I won't have enough free space...
    Keep in mind I am running a new MacBook Pro (yay). Also note that the iPod is formatted in FAT32.
    Any ideas??
    Thanks in advanced for any help.
    ~Matthew Strax-Haber

    726/3172
    Hi Matthew,
    I don't own an iPod, but here's what I'd try:
    Quit Disk Utility.
    First, download and install TinkerTool.
    Then in TinkerTool's Applications section, choose "Enable extended options when converting disk images".
    I don't know if you need to logout/login at this point.
    Now open Disk Utility and try the "iPod image" format.
    Let us know if it works for you.
    Axl

  • Burning Dual Layer DVD in Disk Utility vs. Burn Folder

    Using Disk Utility, I created an Image, (File > New Image from Folder), The resulting .dmg file was about 8.3 Gigabytes. Still in Disk Utility, I select the volume (Filename.dmg) and click Burn, insert a dual layer disk and get a "Disk does not have enough free space" message. I create another image of the same folder, but select "Compressed", giving a folder size of about 6.2 Gigabytes. I try to burn this but again get the "not enough free space" message.
    Now I try creating a Burn Folder, put the 6.2 gb Filename.dmg in the folder and select Burn, It burns fine.
    Why does the Burn Folder method work and not Disk Utility? What am I missing?
    I would appreciate any insight.
    Geoff

    Hi James:
    When you try to copy the dual-layer you may encounter problems because the layer-break may not be where you think it should be.
    When you try to copy the actual dual Layer DVD, iDVD will inform you that doing so may result in a disc that has playback problems in DVD players. It states that you are better off burning it with iDVD than from a Disk Utility.
    3rd party software that will help would be Roxio's Toast 6, 7 or Popcorn.
    Sue

  • DISK UTILITY -- "New Image" problems

    Maybe I don't get how this works. I used an external USB drive to back up my MacBook Pro, making an image un=sing Disk Utility "New Image." THis seems to have worked fine. When I attach the external drive and double click on the DMG file it open and I seem to have access to all contents.
    Today I tried to make a second "New Image" on the same drive of my iMac24" and everything runs and makes a DMG file, but when I click on this one I get a msg saying the disk image "couldn't be opened" with the reason given being "no mountable file systems."
    Does this make perfect sense to somebody?
    Have I completely misunderstood the use and practice of the "new image" in Disk Utility?
    Thanks.

    Hey. If you want to make a DMG image of your iMac, you will need to boot off the install DVD and use Disk Utility from the DVD. To create the DMG is the same process: Select the "Macintosh HD" icon on the left hand side list of Disk Utility, click the "New Image" button, leave "Image Format" as "Compressed" and its up to you for Encryption, I always leave it as "None".
    Select to save your DMG image on the external hard drive and click save. Once the image is done, click on "Image" on the menu bar and click on "Scan Image for Restore...".
    That's it!
    Good luck

  • How to get all images from folder in c#?

    I am trying to get all images from folder. But it is not executing from following:
     string path=@"C:\wamp\www\fileupload\user_data";
                string[] filePaths = Directory.GetFiles(path,".jpg");
                for (int i = 0; i < filePaths.Length; i++)
                    dataGridImage.Controls.Add(filePaths[i]);
    Please give me the correct solution.

    How to display all images from folder in picturebox in c#?
    private void Form1_Load(object sender, EventArgs e)
    string[] files = Directory.GetFiles(Form1.programdir + "\\card_images", "*", SearchOption.TopDirectoryOnly);
    foreach (var filename in files)
    Bitmap bmp = null;
    try
    bmp = new Bitmap(filename);
    catch (Exception e)
    // remove this if you don't want to see the exception message
    MessageBox.Show(e.Message);
    continue;
    var card = new PictureBox();
    card.BackgroundImage = bmp;
    card.Padding = new Padding(0);
    card.BackgroundImageLayout = ImageLayout.Stretch;
    card.MouseDown += new MouseEventHandler(card_click);
    card.Size = new Size((int)(this.ClientSize.Width / 2) - 15, images.Height);
    images.Controls.Add(card);
    Free .NET Barcode Generator & Scanner supporting over 40 kinds of 1D & 2D symbologies.

  • Phantom restarts / crashes with Maverick. Restore Disk Utility, disk can't be repaired says "live system repair is not supported" Is there a fix yet? Or is Maverick "FREE" because Apple no longer offers free phone support?

    Phantom restarts / crashes with Maverick. Under restore Disk Utility, disk can't be repaired says "live system repair is not supported" Is there a fix yet? Or is Maverick "FREE" because Apple no longer offers free phone support?

    Get onto the integrated iOS + Mac OS and end support for "legacy" Mac 10.8 and earlier.
    Force older hardware users like me to upgrade to new hardware which is where $$ are.
    Make apps work across tablets, phone, and computer with similar (though not the "same" app, but able to read and use the same file format).
    Simplify.
    I don't think anyone incl. Microsoft knew Windows 8.1 was going to be a free upgrade, I didn't and read that it would be more like $30.
    No OS is ready for everyone on the day it is launched. iOS 7 is now 7.04 and climbing, Mac OS tends to really not be ready until the last patch and version is out, often a year or more after it was first issued. Ship it, then plan to fix the bugs left in or that surface.
    www.macperformanceguide.com is saying "No" to Maverick for now. Of course there will be no "No" on new Mac Pro 2013 6,1 when those ship (Late Jan? )

  • Figuring out how to extract images from a PDF file

    Hi,
    I'm trying to write a small app that extracts all images from a PDF file. I already wrote a nice parser and it works good but the only problem is that I can't quite figure out from the reference how to decode all images in a PDF file to normal files such as tiffs, jpegs, bmps etc. For now I'm focusing on XObject images and not dealing with inline images.
    From what I understand so far just by trying and looking at open sources I figured that if I see a XObject Image with a DCTDecode filter, taking the stream data without doing anything to it and saving it as a jpeg file works. But doing the same to FlateDecoded streams or CCITTFax didn't work.
    What is the right way to properly extract the images?

    In general you have to
    * decode the stream
    * extract the pixel data
    * use ColorSpace, BitsPerComponent, Decode and Width to unpack pixel
    values
    * reconstruct an image file format according to its specification
    There are no other shortcuts. The DCTDecode shortcut (which doesn't
    work for CMYK JPEG files) is just a piece of fantastic good luck.
    Aandi Inston

  • Zoom H2n "file created" dates are WRONG

    Zoom H2n (audio files) "file created" dates are 31 December 1969 @1900 unless I DL them to Win7 box and import them.  The time and date is set correctly in the H2n.  The time and date are correct for creation in Win7. It makes the EVENTS fall into December 1969 category in FCP X and I don't seem to be able to change them. Nothing about this is mentioned on the Zoom website.

    I know this is a rather old post but this bug is still unfixed so maybe it may help someone.
    This is actually a Zoom H2n bug, not a Final Cut one. The problem is that the Zoom sets the file creation dates to 1 january 1970 00:00. However it sets the right file modification date. A quick and dirty workaround I found for this is to use the terminal to fix it:
    find /Volumes/H2N_SD -name "*.WAV" -exec fix_zoom_dates.sh "{}" \;
    With fix_zoom_dates.sh being a shell script somewhere in your $PATH, containing the following:
    #!/bin/bash
    SetFile -d "$(GetFileInfo -m $1)" $1
    What it does is scanning the whole H2n sd card and setting the file creation date to the file modification date, for every WAV file present. You have to do that every time you want to import something from the Zoom, before opening Final Cut.
    Hope this can be helpful.
    Yo

  • Using client_text_io.get_line to get file created date...

    client_text_io.get_line is getting file modified date, is there any way to get the file created date instead?
    Thanks,
    Jess

    Ha-ha, you're r't, thanks for clearing my head, don't know what I'm thinking. The thing I'm looking for should be dos cmd dir to get the file created date instead of modified date.
    Thanks again
    Jess

  • How to get File created Date

    Hi..
    I need to get the file deleted date. Based on that i ve to remove those files which dates are less than 2004dec31.
    i can use fobj.delete(), for deleting the file. But how can i get the file created date?
    Regards
    KC.

    JNI.

  • Copy to Mac file Created Date uses iPhoto Modified not Original Date

    When a photo is edited in iPhoto the 'Extended Photo Info' 'Modified' date field is changed to the now() date and time but the 'Original' date iPhoto remains the same.
    Then when a copy is made of a photo in iPhoto and then 'Paste Item(s)' is made to the Mac desktop all the files dates default to the iPhoto 'Modified' date not the iPhoto 'Original Date'. Then if a sort by the 'Original Date' on the Mac is desired it will not happen unless the Created date file settings is changed for each photo copied to the Mac Desktop.
    How can photos in iPhoto be copied to the Mac Desktop with the 'Original Date' used in the Mac file 'Created' date field?

    when a copy is made of a photo in iPhoto and then 'Paste Item(s)' is made to the Mac desktop all the files dates default to the iPhoto 'Modified' date not the iPhoto 'Original Date'
    Where are you seeing this date?  In the Info window for the file with the Finder?  That's to be expected because those dates are the file dates, not the EXIF photo created and modified dates which can't be view by the Finder.  You will need to use a 3rd party EXIF view like  EXIF Viewer for Mac OS X .
    So don't confuse the EXIF date(s) with the file dates.
    OT

  • "File Created" Date

    Three dates are recorded and shown in Bridge.
    Date Created
    Date File Created
    Date File Modified.
    Now, apparently these dates, except for the Date Created, are meaningless. I have a file created 3-29-07 that shows Date file created as 12-29-07. Whut? I waited nine months to download it?
    No, it actually indicates the date that the file was created on the particular drive! I went back to the original drive and the Date File Created is correct; about 2 or 3 days after shooting, which is Date Created.
    Now, date modified is also wacky. I opened a file that has not been opened at all (no RAW Icon showing), ran some adjustments clicked done, and the date modified didn't change (in this case the same as Date Created). But if I save it instead as a tiff, then both the "Date File Saved and the date Modified changed.
    This is confusing. If the file is opened in RAW, adjusted then clicked Done, something changed.
    Also, if the file is moved or copied to another drive, the original date File Created should be consistent.
    For legal evidence, there needs to be consistency, imo.

    There was a long discussion on something similar a month or so back. Do a search and take a look at it. If you have more questions post back here.

  • Use client_text_io.get_line to get file created date...

    client_text_io.get_line is getting file modified date, is there any way to get the file created date instead?
    thanks,
    Jess

    This is a Forms webutil question. You would be better off asking this question in the Forms proper, not least becaus emembers of the Forms team who actually worked on webutil (Duncan Mills, Frank Nimphius) often answer questions there.
    Cheers, APC

  • Flashing folder now disk utility cannot repair...backup files and reformat disk?

    Hey,
    my MacBook pro recently froze on the spinning wheel while I was using the Internet, I had to hold down the power button to shut down
    Once I restarted the machine I was left on a grey screen with a flashing folder sign..I read all the articles on this that I could find online and followed the procedures until the only option left was to use disk utility from the install dvd and try to diagnose and repair the problem.
    I used disk utility and found it could not repar the disk named. Disk0s2 ..which I have also read is a bad sign to start with...the log said this..
                               Verify and repair volume disk0s2
                                Checking journaled HFS plus volume
                                Invalid b-tree node size
                                The volume.  Could not be verified completely
                           Disk utility could not repair this disk..backup files, reformat disk and restore backed up files
    I need some advice as to that's what I should do and if there's a way for me to save my files on the mac....and more importantly how to reformat the disk properly..I've tried the YouTube tutorials and couldn't get what I was after.
    Thanks to anyone who can help me with this
    Thank you again for reading this
    Dan

    Your going to need to read the Data Recovery tip I created here
    Your going to need to buy DataRescue $99 or similar to read the 1's and 0's of your files and restore them to another drive while booted from another Mac or a drive with OS X on it.
    Have fun.
    https://discussions.apple.com/docs/DOC-3172
    https://discussions.apple.com/community/notebooks/macbook_pro?view=documents

  • Save Log file from Disk Utility App running from Recovery HD?

    Background:
    I had an issue with QT and screen recording; it was coming out solid green. I read on Apple Support that I should restart holding down Command-R. I did that, booted into Recovery HD, then opened Disk Utility. I repaired permissions, then decided to repair my HDD for good measure. I noticed that Disk Utility did make a repair to my HDD. Something like "found 57" instead of "56" files in the directory on the HDD; directory needs to be updated. Not sure, I just remember those numbers… "56" is what the system knew of but there were really "57" on the HDD. I sound ignorant… I know.
    After I rebooted QuickTime worked correctly (maybe merely repairing permissions was the solution) however another issue, I have been struggling with for years, was also resovlved!
    I have been having an issue for years with an Icy Dock external enclosure in RAID 1 mode with my older 2009 iMac. The issue remained after upgrading from Snow Leopard to Tiger to Mountain Lion and resetting PRAM and repairing permissions and repairing it's HDD etc. many times over. After powering up the enclosure a message would appear: "The Disk you insterted was not readable by this computer." "Initialize…" "Ignore" "Eject". Then the volume would mount on the Desktop behind the warning and work perfectly. I would then click "Ignore". I had modified the old iMac with an internal SSD in place of the optical drive… at one point.
    I recently sold that iMac and bought a 2012 iMac
    Regardless I continued to have the same issue with the enclosure and my new iMac. However, after repairing the internal HDD today, the external Icy Dock RAID now mounts without giving me a warning to, "Initialize…" "Ignore" "Eject". This warning was appearing just before I repaired permissions and repaired the internal HDD on the iMac using the Recovery HD. In fact the reason I was tyring to use QT screen capture was to make a screen capture of the terminal window process while runing a "diskutil activity" command during powering-on my external enclosure to send to Icy Dock to troubleshoot this cross computer and cross OS incompatibility with their enclosure.
    My external RAID enclosure wasn't even powered on during repair of the internal HDD?! So how could a brand new iMac's HDD directory be effected in such a way by an external RAID enclosure as to make changes to it's directory. And now how could an issue with mounting an external RAID enclosure be corrected by repairing the directory structure on the internal HDD on the iMac? Could it be a conflict with USB IDs? Are those written to the directory? The internal and external sharing the same ID and the external having to be unmounted and remounted using a new ID each time? How could it have been repaired? Lots of questions…
    Main Question:
    Anyway,,, I want to copy the Disk Utility Log from my Recovery HD so I could see exactly what was repaired and report it to Icy Dock. But I am not sure if the log files are saved or not when rebooting from Recovery HD. Not sure how I could find the log file at this point. Are logfiles saved when running DiskUtility from the Recovery HD???
    Sorry for the length.

    Oh crap. The enclosure was working properly, now it's exhibiting the same problem as before and I haven't even rebooted the computer yet. So, what's up?

Maybe you are looking for