Hi! I’m developing a file-system driver. And I faced a problem that I don’t understand the logic behind Finder, how does it decides to remove a file or delete if you click on «Move to Bin». In my case sometimes file move operation isn’t available, so remove the file by moving it first to «.Trashes» may be impossible. I found at least one way to change this behavior by MNT_LOCAL option. If it’s not set Finder honestly removes the file, but here the problem. If MNT_LOCAL not set, when the file-system is mounted Finder doesn’t show the icon of mounted FS either on the left panel and desktop. Only I can find it in Finder if to go to the «Computer’s name» folder, where it shows all volumes (and my one but with the wrong icon). So here I have to options to solve a problem: * Use MNT_LOCAL but here I need a way to force Finder to remove a file instead of moving to «.Trashes». So here the question — is it possible to force to remove files somehow? * Clear MNT_LOCAL flag for FS, but here I need somehow to force Finder to show my mounted volume and set the correct icon. So here the question is — how to say to Finder to show this non-local FS, and to say what icon to use (in former option it takes from my block-device). Best regards, Evgeny Erokhin
_______________________________________________ Do not post admin requests to the list. They will be ignored. Filesystem-dev mailing list (Filesystem-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/filesystem-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com