2
I am starting to develop a custom kernel modules, so I have the two related organizational questions:
Where should I put all my source files? I keep the sources in home directory now
/home/my-name/workspace
and I think it is not a best practice.What path should I deploy my compiled *.ko files to work correctly?
I mean where should I put the source files on the disk exactly. I am using
git
as VCS :) For what purposes the/usr/src
exists? – None – 2011-09-22T08:15:45.990This question can be answered by the File System Hierarchy Standard: /usr/src : Source code (optional); Purpose: Source code may be place placed in this subdirectory, only for reference purposes. So basically it's for source code your distro installed and you can have a look at. It's NOT meant for changing. – thiton – 2011-09-22T09:01:59.177
1I don't think anything is wrong with ~/workspace – Rob – 2011-09-22T19:09:25.573