zfs/scripts
Brian Behlendorf a5b4d63582 Add [-m map] option to zpool_layout
By default the zpool_layout command would always use the slot
number assigned by Linux when generating the zdev.conf file.
This is a reasonable default there are cases when it makes
sense to remap the slot id assigned by Linux using your own
custom mapping.

This commit adds support to zpool_layout to provide a custom
slot mapping file.  The file contains in the first column the
Linux slot it and in the second column the custom slot mapping.
By passing this map file with '-m map' to zpool_config the
mapping will be applied when generating zdev.conf.

Additionally, two sample mapping have been added which reflect
different ways to map the slots in the dragon drawers.
2010-09-17 11:02:19 -07:00
..
zpios-profile Support custom build directories and move includes 2010-09-08 12:38:56 -07:00
zpios-test Support custom build directories and move includes 2010-09-08 12:38:56 -07:00
zpool-config Support custom build directories and move includes 2010-09-08 12:38:56 -07:00
zpool-layout Add [-m map] option to zpool_layout 2010-09-17 11:02:19 -07:00
Makefile.am Add [-m map] option to zpool_layout 2010-09-17 11:02:19 -07:00
Makefile.in Add [-m map] option to zpool_layout 2010-09-17 11:02:19 -07:00
common.sh.in Wait up to timeout seconds for udev device 2010-09-11 20:54:41 -07:00
zconfig.sh Wait up to timeout seconds for udev device 2010-09-11 20:54:41 -07:00
zfs.sh Wait up to timeout seconds for udev device 2010-09-11 20:54:41 -07:00
zpios-sanity.sh Add linux zpios support 2010-08-31 13:42:01 -07:00
zpios-survey.sh Add linux zpios support 2010-08-31 13:42:01 -07:00
zpios.sh Add linux zpios support 2010-08-31 13:42:01 -07:00
zpool-create.sh Add build system 2010-08-31 13:41:27 -07:00