Ejecting removable disks and icons
Ejecting removable disks and icons
- Subject: Ejecting removable disks and icons
- From: Jeremy Pereira <email@hidden>
- Date: Sun, 18 Dec 2005 19:59:50 +0900
I am porting a file system driver for magneto-optical disk drives
from BSD to Mac OS X. Everything works fine at the BSD level. Disks
will mount and you can read and write files to them and everything
else you would normally expect to do.
By creating an appropriate bundle in /System/Library/FileSystems I
have got disks to automatically mount and appear as drives in the
Finder. However, I have two issues:
1. The Finder will not eject disks when you ask it to. When you
press the eject button next to the drive icon, nothing happens except
any open windows displaying the content of the drive revert back up
to the "computer" view.
2. The icon I am getting is the network drive icon. A USB drive icon
would be more appropriate.
The more pressing problem is the eject issue. How does the Finder
notify the OS that a volume should be unmounted and ejected?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden