vdev_id: improve keyword parsing flexibility
authorNed Bass <bass6@llnl.gov>
Thu, 24 Jan 2013 22:19:03 +0000 (14:19 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 25 Jan 2013 21:44:32 +0000 (13:44 -0800)
commitba43f4565aa151065dd2b64c1aab8f1051ce1295
treeb71c6fa281839ff16087999309413f7210827104
parente528c9b461df83eddc89c65d707d8674b4940314
vdev_id: improve keyword parsing flexibility

The vdev_id udev helper strictly requires configuration file keywords
to always be anchored at the beginning of the line and to be followed
by a space character.  However, users may prefer to use indentation or
tab delimitation.  Improve flexibility by simply requiring a keyword
to be the first field on the line.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #1239
cmd/vdev_id/vdev_id