• NeilBrown's avatar
    md: support disabling of create-on-open semantics. · 78b6350d
    NeilBrown authored
    md allows a new array device to be created by simply
    opening a device file.  This make it difficult to
    remove the device and udev is likely to open the device file
    as part of processing the REMOVE event.
    
    There is an alternate mechanism for creating arrays
    by writing to the new_array module parameter.
    When using tools that work with this parameter, it is
    best to disable the old semantics.
    This new module parameter allows that.
    Signed-off-by: default avatarNeilBrown <neilb@suse.com>
    Acted-by: default avatarColy Li <colyli@suse.de>
    Signed-off-by: default avatarShaohua Li <shli@fb.com>
    78b6350d
md.c 240 KB