Re: Placing Kext at custom location instead of /System/Library/Extensions
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com - Greg On Dec 7, 2007, at 1:43 AM, JanakiRam wrote: Hi All, -JanakiRam. _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/greg%40kinostudios.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... I've a feeling many people are going to tell you not to do that. I'm not a kernel expert, but here are the reasons I would give: 1) It also goes against Apple's philosophy of having designated folders for things. For example, Apple recommends that you put your preferences (plist) files in ~/Library/Preferences, any support data in ~/Library/Application Support, etc. This keeps the system consistent, easy to back up and troubleshoot, and avoids the clutter that occurs on other systems (Microsoft Windows comes to mind). 2) System upgrades (e.g. going from 10.4 to 10.5) likely look for third party extensions in specific locations, and /opt is not one of them. 3) The /opt folder does not exist by default on OS X systems, and when it does, it usually belongs to the MacPorts project (http://www.macports.org/ ). 4) People will shun your product. There are a lot of mac users that will take personal grudge against you for doing things in a "non-Apple way", and they'll have reasons of their own for doing so. There are probably a lot more (better) reasons than that, but those are just off the top of my head. I've developed a kext for my product . To have more control on loading the kext (after login) , i'm planning to place it at custom location ( /opt/myproductfolder) instead of /System/Library/ Extensions. Can any one point out the pros & cons for the location change ? Any help/pointers will be greatly appreciated. Thanks in Advance. This email sent to greg@kinostudios.com This email sent to site_archiver@lists.apple.com
participants (1)
-
Greg