################################################################################
In order to use this plugin, you must have a machine with libsysfs version
0.2.0* installed (found in sysutils 0.2.0).  Follow the instructions to install
and also copy the libsysfs.h and dlist.h files to /usr/include.

To install this code:
  make
  make install (as root)

Can be verified using program examples/list_resources.

-----------------------
*Note:  libsysfs 0.2.0 has a bug which means that device information will not
be retrieved.  Apply the following patch to fix this:
--- sysfsutils-0_2_0/lib/sysfs_device.c.orig    2003-10-17 11:25:37.000000000 -0700
+++ sysfsutils-0_2_0/lib/sysfs_device.c 2003-10-20 12:41:59.000000000 -0700
@@ -80,6 +80,7 @@
                errno = EINVAL;
                return NULL;
        }
+       strcpy(attrname, name);
        dlist_for_each_data(dev->directory->attributes, cur,
                        struct sysfs_attribute) {
                if (strcmp(cur->name, attrname) != 0)

-----------------------
Developer note:
- If you'd like to test for an imaginary system with more entities, you can
point to an imaginary sysfs file system:

 * create a mounts file (like /proc/mounts) that has only one entry pointing
   to your imaginary sysfs file system
 * change include/libsysfs.h to point to your mounts file (SYSFS_PROC_MNTS)
 * in lib/ run "make" and "make install"
 * libsysfs should now be looking at your imaginary file system for sysfs
   entries
