Skip to content

A simple linux char device that returns only 0xff when read from. The binary opposite of /dev/zero. This device can be used for testing purposes.

License

Notifications You must be signed in to change notification settings

svetlin-mladenov/ff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FF

FF is a simple linux char device that when read from returns bytes containing only 0xff.

Compilation

$ make

Installation

$ sudo make load

This will insmod the module and copy a simple udev rule which changes the permissions of /dev/ff to 0666

Usage

$ dd if=/dev/ff of=<output-goes-here>

Deinstallation

$ sudo make unload

This will rmmod the module and remove the rule from udev

About

A simple linux char device that returns only 0xff when read from. The binary opposite of /dev/zero. This device can be used for testing purposes.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published