the /usr/src/linux symlink

James Robertson jwrober at linuxfromscratch.org
Tue Jan 4 05:41:25 PST 2005


Jeremy Utley wrote:
> Hey all!
> 
> There was recently some discussion on BLFS-Dev regarding the 
> /usr/src/linux symlink to the current kernel sources, and how this 
> symlink can cause complications for certain programs (cdrecord being the 
> most frequent one that comes to mind).
> 
> I know the LFS book itself does not mention making this symlink, 
> however, in many locations in the docs internal to the kernel, this is 
> referenced.  I also know that any package which goes looking for this 
> symlink is behaving improperly - the only things that NEED kernel 
> sources are 3rd-party kernel modules, and they should be gathering those 
> from /lib/modules/{kernel-version}/build.
> 
> However, given the frequency that this problem crops up, a note in the 
> book might be warranted, explaining the situation and why it's incorrect.
> 
> Just looking for comments from the community, as the developer staff is 
> of mixed opinions on this.
> 
> -J-
Looks like you have consensus so far J.  I say go for it.

James



More information about the lfs-dev mailing list