zfs/scripts
Brian Behlendorf 7df02c0f57 Split the udev rule from a specific configuration
While I completely agree the udev is the lesser of many possibles
evils when solving the device issue... it is still evil.  After
attempting to craft a single rule which will work for various
versions of udev in various distros.  I've come to the conclusion
the only maintainable way to solve this issue is to split the rule
from any particular configuration.

This commit provides a generic 60-zpool.rules file which use a
small helper util 'zpool_id' to parse a configuration file by
default located in /etc/zfs/zdev.conf.  The helper script maps
a by-path udev name to a more friendly name of <channel><rank>
for large configurations.

As part of this change all of the support scripts why rely on
this udev naming convention have been updated as needed.  Example
zdev.conf files have also been added for 3 different systems by
you will always need to add one for your exact hardware.

Finally, included in these changes are the proper tweaks to the
build system to ensure everything still get's packaged properly
in the rpms and can run in or out of tree.
2010-03-01 16:51:21 -08:00
..
zpool-config Split the udev rule from a specific configuration 2010-03-01 16:51:21 -08:00
Makefile.am Split the udev rule from a specific configuration 2010-03-01 16:51:21 -08:00
common.sh Split the udev rule from a specific configuration 2010-03-01 16:51:21 -08:00
zconfig.sh Additional ZVOL compatibility autoconf checks and zconfig ZVOL sanity test. 2009-11-20 10:04:56 -08:00
zfs-update.sh Merge commit 'refs/top-bases/zfs-branch' into zfs-branch 2009-12-11 16:22:24 -08:00
zfs.sh Add zfs-test package which includes test infrastructure. 2009-08-17 21:35:06 -07:00
zpool-create.sh Update zpool-configs to be udev aware. 2009-10-21 11:38:51 -07:00