summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Documentation/deprecated.txt3
-rw-r--r--disk-utils/mkfs.82
2 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/deprecated.txt b/Documentation/deprecated.txt
index 5113594ac..33072d9d1 100644
--- a/Documentation/deprecated.txt
+++ b/Documentation/deprecated.txt
@@ -2,6 +2,9 @@ The following is a list of commands or features that are deprecated. All
deprecated utils are in maintenance mode and we keep them in source tree for
backward compatibility only.
+What: mkfs
+Why: use filesystem specific mkfs.<type>.
+
What: fdisk -s <device>
Why: this does not belong to fdisk, use "blockdev --getsz"
diff --git a/disk-utils/mkfs.8 b/disk-utils/mkfs.8
index 3b905b284..ba071400d 100644
--- a/disk-utils/mkfs.8
+++ b/disk-utils/mkfs.8
@@ -8,6 +8,8 @@ mkfs \- build a Linux filesystem
.RB [ \-t
.IR type "] [" fs-options ] " device " [ size ]
.SH DESCRIPTION
+.B This mkfs frontend is deprecated in favour of filesystem specific mkfs.<type> utils.
+.PP
.B mkfs
is used to build a Linux filesystem on a device, usually
a hard disk partition. The