On Jan 03, 2024 / 07:55, Bart Van Assche wrote: > On 1/3/24 03:49, Shin'ichiro Kawasaki wrote: > > +_have_null_blk_feature() { > > + grep -qe "$1" /sys/kernel/config/nullb/features > > +} > > The above test can only work if the null_blk driver is already > loaded. Is it guaranteed that the null_blk driver is loaded when > this function is called? Wouldn't it be better to examine the > output of modprobe null_blk? Thanks for the comment. I agree that it's better to check the null_blk driver availability in the function. Will improve it in v2.