fix: return sprintf directly.
fix: bad length check.
fix: do not use strcat.
fix: add const.
fix: use strftime.
refactor: use open_bdev_and_get_info() or get_bdev_info().
fix: strdup is not necessary.
refactor: unify show_shorthelp() with show_help().
fix: wrong assertions.
fix: use fdatasync_().
add a comment.
refactor: unify return.
refactor: unify return.
refactor: unify get_XXX_lsid().
refactor: unify get_log_XXX().
fix: double check of target block devices.
Merge branch 'review-work' into develop
fix: should close fd in error.
refactor: sprint_uuid return written size.
fix: no need to use snprintf.