Signed-off-by: Karel Zak <kzak@redhat.com>
deprecated utils are in maintenance mode and we keep them in source tree for
backward compatibility only.
+What: fdisk -s <device>
+Why: this does not belong to fdisk, use "blockdev --getsz"
+
+--------------------------
+
What: 'udev' and 'list' blkid(8) output formats
Why: udevd links libblkid directly; the 'list' is unnecessary, use lsblk(8)
(if that exists) are used.
.TP
.BI "\-s " partition...
-Print the size (in blocks) of each given partition.
+Print the size (in blocks) of each given partition. This option is DEPRECATED
+in favour of
+.B blockdev (1).
.TP
.BI "\-u"[=unit]
When listing partition tables, show sizes in 'sectors' or in 'cylinders'. The
fprintf(out,
_(" %1$s [options] <disk> change partition table\n"
" %1$s [options] -l <disk> list partition table(s)\n"
- " %1$s -s <partition> give partition size(s) in blocks\n"),
+ " %1$s -s <partition> give partition size(s) in blocks (deprecated)\n"),
program_invocation_short_name);
fputs(USAGE_OPTIONS, out);
break;
case ACT_SHOWSIZE:
+ /* deprecated */
if (argc - optind <= 0)
usage(stderr);