On Tue, 2017-04-18 at 11:34 +0200, Karel Zak wrote: > On Wed, Apr 12, 2017 at 06:20:32PM +0900, Damien Le Moal wrote: > > Fixed the condition strings for implicit open and explicit open to > > match the man page defined strings ("oi" and "oe"). Also while at it, > > correct the condition_str array entries adding the reserved "xC" case > > so that the read_only, full and offline conditions match the condition > > codes. This increases the array size to 16, so also fix the condition > > code masking when displaying the result. > > > > Signed-off-by: Damien Le Moal > > --- > >  sys-utils/blkzone.c | 8 ++++---- > >  1 file changed, 4 insertions(+), 4 deletions(-) > > Applied, thanks. > > Damien, what about to add ZONED column to the lsblk(8) command (also > from util-linux)?  > > It would be nice to have zone model there. All lsblk is based on /sys, > so add the string from /sys/block//queue/zoned should be easy > (just add COL_ZONED with sysfs_strdup() to set_scols_data()). > >  lsblk -o+ZONED > > will do all the magic for end users. Can you try it? I have no way to > test it. Very good idea. Patch attached. (Sorry for not being able to send that the usual way. I am having problem with office365 account and git send-email) Best regards. -- Damien Le Moal Western Digital