<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/scripts/zpool-layout/Makefile.am, branch zfs-0.5.2</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=zfs-0.5.2</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=zfs-0.5.2'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2010-09-17T18:02:19Z</updated>
<entry>
<title>Add [-m map] option to zpool_layout</title>
<updated>2010-09-17T18:02:19Z</updated>
<author>
<name>Brian Behlendorf</name>
<email>behlendorf1@llnl.gov</email>
</author>
<published>2010-09-15T22:32:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a5b4d63582005300c4526c7c15b63294e5408534'/>
<id>urn:sha1:a5b4d63582005300c4526c7c15b63294e5408534</id>
<content type='text'>
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.
</content>
</entry>
</feed>
