]> 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 33072d9d197bbbe6f4c41a626005012d6f82187a..08ba8b974af9c07c60a7761744ed385d0f26166f 100644 (file)
@@ -2,9 +2,55 @@ 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:  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"
 
@@ -16,7 +62,7 @@ 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
 
 --------------------------
 
@@ -26,7 +72,7 @@ Why:    use less(1) or more(1)
 --------------------------
 
 What:   CHS stuff in fdisk (except SUN where are partitions addresses by cylinders only)
-Why:    use addresssing by sectors, CHS does not work with modern disks,
+Why:    use addressing by sectors, CHS does not work with modern disks,
         confusing for users...
 
 --------------------------
@@ -39,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)
@@ -57,11 +103,6 @@ What:   losetup output format without --list
 What:  tunelp
 Why:   parallel port printers are probably almost extinct devices
 
---------------------------
-
-What:  deprecated_last(1)
-Why:   nobody uses this implementation
-
 ----------------------------
 
 The Single UNIX(TM) Specification, Version 2