Follow us on...
Follow us on Twitter Follow us on Facebook
Register
Page 1 of 2 12 LastLast
Results 1 to 8 of 10
  1. #1
    BigMac55 is offline Registered User
    Join Date
    Aug 2010
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    How is this possible?

    When I'm watching a video (.m4v) file with Quicktime... I can actually move the file to a new directory without interrupting playback.

    I don't think that can be done on windows.

  2. #2
    DeltaMac is offline Tech
    Join Date
    Jun 2001
    Location
    Dover, DE
    Posts
    7,700
    Thanks
    3
    Thanked 629 Times in 619 Posts
    I never would have thought that would be unusual, or even worth mentioning...
    Can't do it in Windows, huh?
    Serendipity is a lucky guess !

  3. #3
    ElDiabloConCaca's Avatar
    ElDiabloConCaca is offline U.S.D.A. Prime
    Join Date
    Aug 2001
    Location
    San Antonio, Texas
    Posts
    14,490
    Thanks
    10
    Thanked 648 Times in 610 Posts
    Probably because moving the file to a new directory (on the same hard drive) doesn't actually move any data on the disk at all -- you didn't move the movie data, you simply moved a pointer to that movie data.

    Try it again, except move the file (not copy -- but move) to a different hard drive and see if you get the same results.
    2009 Mac mini 2.0GHz • 2010 MacBook Air 11" • 2010 MacBook Pro 13" • LED 24" Cinema Display
    PowerMac G4 MDD dual 1.25GHz • PowerMac G4 Yikes! • iPad 2 32GB • 2 x iPhone 4 16GB • iPod Touch 8GB • iPod nano 1GB • iPod shuffle 1GB • AirPort Extreme dual-band • AppleTV
    http://www.jeffhoppe.com

  4. #4
    Mikuro's Avatar
    Mikuro is offline Crotchety UI Nitpicker
    Join Date
    Mar 2005
    Posts
    2,832
    Thanks
    8
    Thanked 74 Times in 64 Posts
    Generally speaking, once a file is open, its path is no longer relevant. In some poorly-written programs (like TextEdit, last I checked!), if you open a file, move it, and then save changes, it will create a NEW file in the location the original was opened from. But most apps will even save it in the new location the way you would (or should) expect.

    The Mac OS has always been pretty smart about this. Actually, the classic Mac OS was smarter than OS X, since OS X has some Unix baggage that's not so smart.

    The technical reason is that once a file is open, it's accessed from a pointer which never changes. For saving it's a little more complicated, because the program needs to know the path to save it to. The Classic Mac OS, and more savvy OS X apps, use a many-layered process to identify files. It only uses absolute paths as a last resort. This is also why you can make an alias to a file, move the original and have the alias still work. On Unix you can't do this. (I don't know about Windows off the top of my head.)
    Mac mini — 1.25GHz G4, 1GB RAM — OS 10.5.8
    MacBook Pro — 2.26GHz C2D, 8GB RAM — OS 10.6.8

    Useful programs: Privoxy, Butler, ffmpegX, VLC, Perian, Tofu, Wcalc

  5. #5
    MisterMe is offline Registered User
    Join Date
    Jun 2002
    Location
    USA
    Posts
    3,986
    Thanks
    7
    Thanked 140 Times in 136 Posts
    Quote Originally Posted by Mikuro View Post
    ... On Unix you can't do this. (I don't know about Windows off the top of my head.)
    It is my understanding that Windows behaves almost exactly opposite of the Mac. A Windows move copies the file to the destination directory and deletes the original file. Pointer? What's that?

  6. #6
    ElDiabloConCaca's Avatar
    ElDiabloConCaca is offline U.S.D.A. Prime
    Join Date
    Aug 2001
    Location
    San Antonio, Texas
    Posts
    14,490
    Thanks
    10
    Thanked 648 Times in 610 Posts
    A "pointer" is a record in the file system table of the hard drive that simply points to the location on the platter where the data is stored. A file icon on your desktop is simply a pointer to this pointer -- so when you move an icon to a different location on your hard drive (not to a different drive, which would actually cause data to be moved about on the hard drive[s]), you're simply updating the icon pointer and moving it to a different location -- the file system "pointer" on the hard drive hasn't changed, nor has the data on the hard drive platter.
    2009 Mac mini 2.0GHz • 2010 MacBook Air 11" • 2010 MacBook Pro 13" • LED 24" Cinema Display
    PowerMac G4 MDD dual 1.25GHz • PowerMac G4 Yikes! • iPad 2 32GB • 2 x iPhone 4 16GB • iPod Touch 8GB • iPod nano 1GB • iPod shuffle 1GB • AirPort Extreme dual-band • AppleTV
    http://www.jeffhoppe.com

  7. #7
    MisterMe is offline Registered User
    Join Date
    Jun 2002
    Location
    USA
    Posts
    3,986
    Thanks
    7
    Thanked 140 Times in 136 Posts
    Quote Originally Posted by ElDiabloConCaca View Post
    A "pointer" is a record in the file system table of the hard drive that simply points to the location on the platter where the data is stored. ...
    OK, Caca. When someone makes a statement like: Speed Limit? What's that? it does not indicate ignorance of the concept of legally maximum speed on the public road. It is a joke. In the speed limit example, it may be a person who willfully drives faster than the law allows, but feigns ignorance when a friend questions him about his driving, or a person who parodies a speeder by asserting that the speeder doesn't know what a speed limit is. In this case, I was making light of the fact that Microsoft makes limited use of pointers.

    Condescension? What's that?

  8. #8
    ElDiabloConCaca's Avatar
    ElDiabloConCaca is offline U.S.D.A. Prime
    Join Date
    Aug 2001
    Location
    San Antonio, Texas
    Posts
    14,490
    Thanks
    10
    Thanked 648 Times in 610 Posts
    Hey, it's Tuesday, which is actually Monday (since yesterday was a holiday) and the brain is on auto-pilot. No condescension was meant, otherwise there would be tiny jabs at one's intelligence peppered throughout the post.

    Sorry you took it the wrong way and that the joke flew over my head. It's too early in the week for me to be condescending (but apparently not for everyone) -- check back Thursday.
    2009 Mac mini 2.0GHz • 2010 MacBook Air 11" • 2010 MacBook Pro 13" • LED 24" Cinema Display
    PowerMac G4 MDD dual 1.25GHz • PowerMac G4 Yikes! • iPad 2 32GB • 2 x iPhone 4 16GB • iPod Touch 8GB • iPod nano 1GB • iPod shuffle 1GB • AirPort Extreme dual-band • AppleTV
    http://www.jeffhoppe.com

 

 
Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •