Re: Kiosk Memory Cards and Elegant Ejecting
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.