Re: Placing Kext at custom location instead of /System/Library/Extensions
Re: Placing Kext at custom location instead of /System/Library/Extensions
- Subject: Re: Placing Kext at custom location instead of /System/Library/Extensions
- From: Greg <email@hidden>
- Date: Fri, 7 Dec 2007 01:54:32 -0500
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.
- Greg
On Dec 7, 2007, at 1:43 AM, JanakiRam wrote:
Hi All,
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.
-JanakiRam.
_______________________________________________
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
_______________________________________________
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