]> sourceware.org Git - lvm2.git/commit
tests: new aux mdadm_create
authorZdenek Kabelac <zkabelac@redhat.com>
Mon, 22 Mar 2021 17:54:54 +0000 (18:54 +0100)
committerZdenek Kabelac <zkabelac@redhat.com>
Mon, 22 Mar 2021 21:42:52 +0000 (22:42 +0100)
commitada99f939fe24e23994244fdbe960014b355fd44
tree38b40ac65ff888d702f22c24f08eb3911bf57439
parent77432ee13742d09af5e8b1f8813d65bda3556a1d
tests: new aux mdadm_create

Add generic wrapper for mdadm --create which takes
normal 'mdadm' args - but allows us to handle differences of
mdadm usage across various version of mdadm tool.

Resulting MD device is availalble in  $(< MD_DEV).

Automatic cleaning is made through   cleanup_md_dev

Calling of mdadm_create cleans previous MD dev if it exists.
test/lib/aux.sh
This page took 0.032708 seconds and 5 git commands to generate.