]> Zhao Yanbai Git Server - minix.git/commit
Add fbd -- Faulty Block Device driver
authorDavid van Moolenbroek <david@minix3.org>
Sun, 11 Dec 2011 18:32:13 +0000 (19:32 +0100)
committerDavid van Moolenbroek <david@minix3.org>
Sun, 11 Dec 2011 21:45:46 +0000 (22:45 +0100)
commite7db2d358879fa5bc123280e43681a93ca8a674c
treeee9832c137174e9c42a6a4f018d9e957ec3f2738
parentf65e531ee474324c9e45c441c0ac51f8b588e677
Add fbd -- Faulty Block Device driver

This driver can be loaded as an overlay on top of a real block
device, and can then be used to generate block-level failures for
certain transfer requests. Specifically, a rule-based system allows
the user to introduce (overt and silent) data corruption and errors.

It exposes itself through /dev/fbd, and a file system can be mounted
on top of it. The new fbdctl(8) tool can be used to control the
driver; see ``man fbdctl'' for details. It also comes with a test
set, located in test/fbdtest.
24 files changed:
commands/DESCRIBE/DESCRIBE.sh
commands/MAKEDEV/MAKEDEV.sh
commands/Makefile
commands/fbdctl/Makefile [new file with mode: 0644]
commands/fbdctl/fbdctl.c [new file with mode: 0644]
commands/profile/sprofalyze.pl
common/include/minix/dmap.h
common/include/sys/Makefile.inc
common/include/sys/ioc_fbd.h [new file with mode: 0644]
docs/UPDATING
drivers/Makefile
drivers/fbd/Makefile [new file with mode: 0644]
drivers/fbd/action.c [new file with mode: 0644]
drivers/fbd/action.h [new file with mode: 0644]
drivers/fbd/fbd.c [new file with mode: 0644]
drivers/fbd/rule.c [new file with mode: 0644]
drivers/fbd/rule.h [new file with mode: 0644]
etc/system.conf
lib/libbdev/ipc.c
man/man8/Makefile
man/man8/fbdctl.8 [new file with mode: 0644]
test/fbdtest/Makefile [new file with mode: 0644]
test/fbdtest/rwblocks.c [new file with mode: 0644]
test/fbdtest/test.sh [new file with mode: 0755]