Skip to content

thejinxters/simple_linux_character_driver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Linux Character Driver

Create an inode at master 301

sudo mknod -m 777 /dev/simple_char_device  c 301 0

View the inode successfully created:

ls -la /dev | grep simple_char_device

To install the driver, In this repo folder run:

make
sudo insmod simple_char_driver.ko

View that the device installed:

cat /proc/devices | grep simple_driver

To test simply run the tester

./simple_char_test

To remove the driver

sudo rmmod simple_char_driver

About

A very simple linux Character Driver to communicate with inode in the /dev/ folder

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published