/dev/meow
 
 
Go to file
arslee07 71f47212dc init 2023-10-23 17:45:36 +09:00
.gitignore init 2023-10-23 17:45:36 +09:00
Makefile init 2023-10-23 17:45:36 +09:00
README.md init 2023-10-23 17:45:36 +09:00
meow.c init 2023-10-23 17:45:36 +09:00
meow.h init 2023-10-23 17:45:36 +09:00

README.md

/dev/meow

a silly little kernel module that creates a character device that just endlessly writes 'meow' :3c

$ cat /dev/meow | head -c 50
meow meow meow meow meow meow meow meow meow meow

installation

  1. make sure linux headers are installed, if not then install them lmao:
  • sudo apt install linux-headers-$(uname -r) for debian/ubuntu
  • sudo pacman -S linux-headers for archlinux
  • google for any other distro
  1. make
  2. sudo insmod meow.ko

the module won't load automatically after reboot, idk how to setup modprobe stuff properly

note

i suck at C and kernel development, so PRs with refactors are welcome!

license

gpl 3 (see the end of meow.c)