git: mfi(4)/mfiutil(8): Add support for foreign configurations and drives.

Sascha Wildner swildner at crater.dragonflybsd.org
Mon Apr 1 14:27:39 PDT 2013


commit dd1001661885416a2edf3b3065de1e9942e72af5
Author: Sascha Wildner <saw at online.de>
Date:   Mon Apr 1 23:26:47 2013 +0200

    mfi(4)/mfiutil(8): Add support for foreign configurations and drives.
    
    For this, the following commands are added to mfiutil(8):
    
    foreign scan - lists the number of foreign configs
    foreign drives - lists the drives which are flagged as foreign
    foreign display - displays the specified foreign configuration
    foreign preview - previews the specified foreign configuration after import
    foreign clear - clears the foreign configuration
    foreign import - imports the foreign configuration
    
    Foreign drive support has been added to 'show drives' too.
    
    Tested-by:  ftigeot
    Taken-from: http://www.freebsd.org/cgi/query-pr.cgi?pr=172091

Summary of changes:
 sys/dev/raid/mfi/mfi.c         |   6 +-
 sys/dev/raid/mfi/mfireg.h      |   4 +
 usr.sbin/mfiutil/Makefile      |   2 +-
 usr.sbin/mfiutil/mfi_cmd.c     |   2 +-
 usr.sbin/mfiutil/mfi_config.c  |  43 +++--
 usr.sbin/mfiutil/mfi_foreign.c | 402 +++++++++++++++++++++++++++++++++++++++++
 usr.sbin/mfiutil/mfi_show.c    |  21 ++-
 usr.sbin/mfiutil/mfiutil.8     |  52 +++++-
 usr.sbin/mfiutil/mfiutil.c     |   6 +
 usr.sbin/mfiutil/mfiutil.h     |   6 +
 10 files changed, 516 insertions(+), 28 deletions(-)
 create mode 100644 usr.sbin/mfiutil/mfi_foreign.c

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/dd1001661885416a2edf3b3065de1e9942e72af5


-- 
DragonFly BSD source repository



More information about the Commits mailing list