summaryrefslogtreecommitdiffstats
path: root/Documentation/deprecated.txt
diff options
context:
space:
mode:
authorKarel Zak2014-02-21 12:04:18 +0100
committerKarel Zak2014-02-21 12:04:18 +0100
commit4459245fa320b37bf433b7ddd3b206249ee54381 (patch)
treee2bca559c389f7444e20f3732f01c9c273a2c520 /Documentation/deprecated.txt
parentmore: improve formatting and wording of man page and help text (diff)
downloadkernel-qcow2-util-linux-4459245fa320b37bf433b7ddd3b206249ee54381.tar.gz
kernel-qcow2-util-linux-4459245fa320b37bf433b7ddd3b206249ee54381.tar.xz
kernel-qcow2-util-linux-4459245fa320b37bf433b7ddd3b206249ee54381.zip
mkfs: mark this wrapper as DEPRECATED
Theodore Ts'o: I'll add that I've never been convinced that the mkfs front end is all that useful. It's probably better for people to explicitly run /sbin/mkfs.xfs, /sbin/mkfs.ext4, etc.., so you don't have to worry about which options get passed down to the file system specific mkfs program, and which ones are interpreted by /sbin/mkfs --- and I don't believe /sbin/mkfs adds enough (err, any?) value that using "/sbin/mkfs -t xxx" vs "/sbin/mkfs.xxx" makes any sense whatsoever. ... and I absolutely agree. Reported-by: Theodore Ts'o <tytso@mit.edu> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'Documentation/deprecated.txt')
-rw-r--r--Documentation/deprecated.txt3
1 files changed, 3 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"