blocktest: resolve label/minor in userland

The test script now resolves the device node into a <label,minor>
pair, so that the blocktest driver itself no longer has to. This
removes blocktest's dependency on VFS' internal data structures.

Also allow blocktest to be linked using with gcc/clang.
This commit is contained in:
David van Moolenbroek
2011-12-11 22:35:37 +01:00
parent 35cf8beb33
commit 95d1f25b28
6 changed files with 66 additions and 73 deletions
-3
View File
@@ -5,6 +5,3 @@ Instructions on how to use blocktest:
3) edit and uncomment one line from test.sh
4) run './test.sh'
5) read the output in /var/log/messages
WARNING: while this tool works with both VFS and AVFS, it has been configured
to use AVFS's headers. Either use with AVFS, or edit blocktest.c first.