An open API service indexing awesome lists of open source software.

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

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".