]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - Documentation/deprecated.txt
login: add support for directories in MOTD_FILE=
[thirdparty/util-linux.git] / Documentation / deprecated.txt
index 7d2dac11362a33fdd952ca40dc08301510dee06e..08ba8b974af9c07c60a7761744ed385d0f26166f 100644 (file)
@@ -2,9 +2,57 @@ 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:  chkdupexe
-Why:   unnecessary, in Perl, not used in distributions, possible to replace
-        by a simple shell script.
+what:  hwclock --debug
+why:   renamed to --verbose, and may be repurposed later.
+since: v2.32
+
+--------------------------
+
+what:  hwclock -v for version
+why:   renamed to -V
+since: v2.20 (was repurposed to verbose in v2.32)
+
+--------------------------
+
+what:  column --columns
+why:   renamed to --output-width
+since: v2.30
+
+--------------------------
+
+what:  sfdisk --show-size
+why:   this does not belong to fdisk, use "blockdev --getsz"
+
+--------------------------
+
+what:   sfdisk --Linux
+why:    unnecessary option, only Linux (non-DOS mode) is supported
+
+--------------------------
+
+what:   sfdisk --unit
+why:    unnecessary option, only 'S'ector unit is supported
+
+--------------------------
+
+what:   sfdisk --show-pt-geometry
+why:    equal to --show-geometry for a long time
+
+--------------------------
+
+what:  "swapon --summary" output format
+why:   does not provide control on output data formatting. The recommended solution
+       is to use --show=<columns> in all scripts.
+
+--------------------------
+
+What:   mkfs
+Why:    use filesystem specific mkfs.<type>.
+
+--------------------------
+
+What:   fdisk -s <device>
+Why:    this does not belong to fdisk, use "blockdev --getsz"
 
 --------------------------
 
@@ -14,7 +62,18 @@ Why:    udevd links libblkid directly; the 'list' is unnecessary, use lsblk(8)
 --------------------------
 
 What:   line(1) command
-Why:    useless, nobody uses this command, head(1) is better
+Why:    use the read(1) command
+
+--------------------------
+
+What:   pg(1) command
+Why:    use less(1) or more(1)
+
+--------------------------
+
+What:   CHS stuff in fdisk (except SUN where are partitions addresses by cylinders only)
+Why:    use addressing by sectors, CHS does not work with modern disks,
+        confusing for users...
 
 --------------------------
 
@@ -26,7 +85,7 @@ Why:  the option -s is in collision with the Loop-AES losetup dialect that is use
 
 What:   losetup output format without --list
 
-        deprecated format"
+        deprecated format:
 
           # losetup -a
           /dev/loop0: []: (/home/fs-images/swap.img)
@@ -41,22 +100,8 @@ What:   losetup output format without --list
 
 --------------------------
 
-
-What:  elvtune
-Why:   useless for kernel >= 2.6.9
-
----------------------------
-
-What:  arch(1) command
-Why:   deprecated in favor of uname(1) or arch(1) from coreutils
-
-       The arch(1) has been added (during 2.13 development cycle) to coreutils
-       where it will be maintained as an alias for uname(1) command.
-
-----------------------------
-
-What:  last(1)
-Why:   nobody uses this implementation
+What:  tunelp
+Why:   parallel port printers are probably almost extinct devices
 
 ----------------------------