]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - Documentation/deprecated.txt
Merge branch 'fix-python_libmount_get_propagation' of https://github.com/giuseppe...
[thirdparty/util-linux.git] / Documentation / deprecated.txt
index 7d2dac11362a33fdd952ca40dc08301510dee06e..34ea698da5c8874f4cae77c7ff6fe4bae3933776 100644 (file)
@@ -2,9 +2,45 @@ 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:  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 +50,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 addresssing by sectors, CHS does not work with modern disks,
+        confusing for users...
 
 --------------------------
 
@@ -41,22 +88,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
 
 ----------------------------