From: Karel Zak Date: Wed, 14 Oct 2009 00:17:27 +0000 (+0200) Subject: blkid: add pretty output, document -L incompatibility with e2fsprogs X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d71a929413c7afc25a836560243881b81e922c4;p=util-linux blkid: add pretty output, document -L incompatibility with e2fsprogs ... sad story, I have temporary disabled pretty-output code in very early version of blkid.c in u-l-ng. (It was also in time when pretty-output was very new feature in e2fsprogs.) Unfortunately, the -L option (shortcut to "-o list") in u-l-ng version was reused for for any other functionality few months later.... this stupid thing was released in u-l-ng 2.15 and 2.16 without any negative feedback from users. It means the blkid from u-l-ng is not backwardly compatible with the original version from e2fsprogs. The -L option has a different meaning there. I'm sorry about this bug... This patch: * enable pretty-output (-o line) * add a note about incompatibility between u-l-ng and e2fsprogs to blkid.8 man page Signed-off-by: Karel Zak --- diff --git a/misc-utils/Makefile.am b/misc-utils/Makefile.am index 6cd9cf7b..b95447ba 100644 --- a/misc-utils/Makefile.am +++ b/misc-utils/Makefile.am @@ -35,6 +35,7 @@ endif if BUILD_LIBBLKID sbin_PROGRAMS += blkid findfs wipefs dist_man_MANS += blkid.8 findfs.8 wipefs.8 +blkid_SOURCES = blkid.c $(top_srcdir)/lib/ismounted.c blkid_LDADD = $(ul_libblkid_la) blkid_CFLAGS = -I$(ul_libblkid_srcdir) findfs_LDADD = $(ul_libblkid_la) diff --git a/misc-utils/blkid.8 b/misc-utils/blkid.8 index 9fc83937..9419da0f 100644 --- a/misc-utils/blkid.8 +++ b/misc-utils/blkid.8 @@ -96,7 +96,13 @@ Look up one device that uses the label (same as: -l -o device -t LABEL=