forked from doomers/linux-module
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is some improvements as you asked in doomers#1
- Loading branch information
Showing
1 changed file
with
20 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,33 @@ | ||
# linux-module | ||
linux modules | ||
|
||
## How to compile: <br /> | ||
$ make | ||
## How to compile | ||
`make` | ||
|
||
## How to compile new modules: <br /> | ||
1.) Create a new Module <br /> | ||
2.) add these to Makefile <br /> | ||
obj-m+= "your-module-name.o" <br /> | ||
3.) $ make | ||
## How to compile new modules | ||
1. Create a new Module | ||
2. Add these to Makefile `obj-m+= "your-module-name.o"` | ||
3. `$ make` | ||
|
||
## How to load module in kernel: <br /> | ||
$ insmod "your-module-name.ko" | ||
## How to load module in kernel | ||
`insmod "your-module-name.ko"` | ||
|
||
## How to remove module from Kernel: <br /> | ||
$ rmmod "your-kernel-name.ko" | ||
## How to remove module from Kernel | ||
`rmmod "your-kernel-name.ko"` | ||
|
||
## List of all the Modules in Kernel: <br /> | ||
$ lsmod | ||
## List of all the Modules in Kernel | ||
`lsmod` | ||
|
||
## Contributing | ||
## How to contribute | ||
|
||
Fork the project on github. | ||
|
||
Create a module branch. | ||
|
||
Please keep PR titles easy to read and descriptive of changes, this will make them easier to merge. | ||
|
||
Pull requests must be made against development branch. Any other branch (unless specified by the maintainers) will get rejected. | ||
|
||
Have fun! | ||
- Fork the project on github. | ||
- Create a module branch. | ||
- Please keep PR titles easy to read and descriptive of changes, this will make them easier to merge. | ||
- Pull requests must be made against development branch. Any other branch (unless specified by the maintainers) will get rejected. | ||
- Have **fun!** | ||
|
||
## Authors | ||
* **Rahul Tuteja** - [doomers](https://github.com/doomers) | ||
|
||
|
||
|
||
|
||
## License | ||
This linux modules is open-sourced software licensed under the [Apache License](LICENSE). |