https://github.com/pashinov/linux-driver-sample
Linux character driver which implements linux pipes
https://github.com/pashinov/linux-driver-sample
drivers linux-kernel
Last synced: 2 months ago
JSON representation
Linux character driver which implements linux pipes
- Host: GitHub
- URL: https://github.com/pashinov/linux-driver-sample
- Owner: pashinov
- Created: 2018-07-11T09:56:17.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-07-11T11:53:57.000Z (about 8 years ago)
- Last Synced: 2025-01-29T03:26:24.519Z (over 1 year ago)
- Topics: drivers, linux-kernel
- Language: C
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Linux device driver sample
--------------------------
[![Build Status][travis-badge]][travis-link]
[travis-badge]: https://travis-ci.org/pashinov/linux-driver-sample.svg?branch=master
[travis-link]: https://travis-ci.org/pashinov/linux-driver-sample
This linux driver implements linux pipes.
To build the driver:
```
$ make
```
To install the driver:
```
$ sudo insmod pipe.ko
```
To remove the driver:
```
$ sudo rmmod pipe
```
The simple test of driver:
```
$ echo "Hello, World!!!" > /dev/pipe
$ cat /dev/pipe
```
As a result, you will get your message which you sent with command "echo".