Different file's time stamp when copied into guest

Discussion in 'Virtual PC' started by Jack, Feb 13, 2008.

  1. Jack

    Jack Guest

    I have posted this in server newsgroup but did not receive reply.

    XP is a host system and Server runs in Virtual PC.
    Both have NTSF file system.
    I can produce that time difference each time I copy file from host to guest
    I wonder if it has something to do with the date by itself.
    For example file stamped 2002 does not have that difference.


    Server 2008 ===>guest
    File Properties:
    Created: Saturday, ?January ?12, ?2008, ??5:01:24 PM

    The same file in Windows XP has time stamp: ====>Host
    Created: Saturday, January 12, 2008, 5:01:22 PM

    Why there is a 2 seconds difference?
    The file was created in XP and copied to the Server next day.

    It does happen to almost all copied files.
    Sometimes there is a difference of 1 second:
    Created: Monday, ?January ?28, ?2008, ??3:28:16 PM ===>server
    Created: Monday, January 28, 2008, 3:28:15 PM ===>XP

    The time stamps shown above was copied and pasted directly into this
    message.
    Time stamp originated from Server has some question marks, which I do not
    see when watching directly file properties.
    Where these question marks came from?

    Jack
     
    Jack, Feb 13, 2008
    #1
    1. Advertisements

  2. Jack

    Bill Grant Guest

    I would say that this happens because the clock on the guest is two
    seconds out compared to the host.
     
    Bill Grant, Feb 13, 2008
    #2
    1. Advertisements

  3. Jack

    Jack Guest

    And copying file a few days later?
    And having 1 sec difference on anther file?
    And not having time difference with 2002 file?
    I do not think so.
    Jack
     
    Jack, Feb 13, 2008
    #3
  4. Jack

    Bo Berglund Guest

    What is the file system types on the host and guest?
    If any of them use FAT32 then you do not have enough resolution to get
    accurate timestamps.
    Use NTFS instead.

    Bo Berglund
     
    Bo Berglund, Feb 14, 2008
    #4
  5. Jack

    Jack Guest

    It was noted in my first post:
    I can recreate that problem each time.
    Also, what are these question marks?
    Jack
     
    Jack, Feb 14, 2008
    #5
  6. Jack

    Jack Guest

    I have tested it both ways.
    The copied file into server has changed time stamp by 1 to 2 seconds.
    Copying that file back to host keeps the "new" time stamp intact.
    It means that server is modifying file time stamp for good!
    Jack
     
    Jack, Feb 14, 2008
    #6
  7. Jack

    Bo Berglund Guest

    You don't say *how* you copy the files...
    Do you use:
    - Drag-drop (with VM Additions installed)?
    - VPC Shared Folders?
    - Normal network shares?

    Just as a comparison using drag-drop:
    If you enable the corresponding feature on VMWare Workstation and drag
    a file from the host to the guest you lose the timestamp completely!
    It is as if you had copied it via FTP. The timestamp becomes <now>.
    So having a 1-2 s difference is much better in that comparison.


    Bo Berglund
     
    Bo Berglund, Feb 15, 2008
    #7
  8. Jack

    Jack Guest

    Drag-drop (with VM Additions installed)
    Jack

     
    Jack, Feb 15, 2008
    #8
  9. Jack

    Jack Guest

    I guess better that reply than none,
    sigh!
    Jack

     
    Jack, Apr 25, 2008
    #9
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.