Markus Hitter | 2 Oct 2006 10:30
Picon

Re: Really determining unmountability


Am 01.10.2006 um 14:38 schrieb Gregory Weston:

> Can someone point me to a reliable means to determine whether a  
> volume can be unmounted? More specifically, a technique to predict  
> whether FSEjectVolumeSync should be expected (barring transient  
> conditions) to succeed?
>
> I've gone through PBHGetVolParmsSync, IOKit media properties and  
> NSWorkspace's getFileSystemInfoForPath:...; all three give me false  
> negatives on non-boot hard drives.

Non-boot hard drives _can_ be unmounted. They can't be removed, though.

Markus

- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/

Gmane