• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Kiosk Memory Cards and Elegant Ejecting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Kiosk Memory Cards and Elegant Ejecting


  • Subject: Re: Kiosk Memory Cards and Elegant Ejecting
  • From: Dave Camp <email@hidden>
  • Date: Tue, 18 Nov 2003 22:13:16 -0800

I'm going to guess there is nothing you can do about it. The warning is displayed because if the volume is removed without being flushed first, there is a high probability of data loss on the volume. That could include file data not being updated and catalog damage.

You could possibly minimize this by issuing PBFlushVol calls (I'm typing from memory, but I think there are some calls in Files.h that will flush the write caches for a given volume), but the risk is still there.

If the reader is a USB device, you might ask the USB list if there is some way to disable write caching for your device.

Dave

On Nov 18, 2003, at 8:08 PM, Greg Hulands wrote:

I am writing a kiosk style application and would like to know how you would handle a user pulling out their memory card with out "ejecting" it from the Finder. Becuase if you just pull it out, it gives the warning saying you should eject it.

Has anyone else run into this problem?

Greg
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Kiosk Memory Cards and Elegant Ejecting (From: Greg Hulands <email@hidden>)

  • Prev by Date: Re: key-value validation
  • Next by Date: [OT] replace newline character with sed
  • Previous by thread: Kiosk Memory Cards and Elegant Ejecting
  • Next by thread: [OT] replace newline character with sed
  • Index(es):
    • Date
    • Thread