1 The following is a list of commands or features that are deprecated. All
2 deprecated utils are in maintenance mode and we keep them in source tree for
3 backward compatibility only.
6 what: column --table-empty-lines
7 why: renamed to --keep-empty-lines
10 --------------------------
13 why: renamed to --verbose, and may be repurposed later.
16 --------------------------
18 what: hwclock -v for version
20 since: v2.20 (was repurposed to verbose in v2.32)
22 --------------------------
24 what: column --columns
25 why: renamed to --output-width
28 --------------------------
30 what: sfdisk --show-size
31 why: this does not belong to fdisk, use "blockdev --getsz"
33 --------------------------
36 why: unnecessary option, only Linux (non-DOS mode) is supported
38 --------------------------
41 why: unnecessary option, only 'S'ector unit is supported
43 --------------------------
45 what: sfdisk --show-pt-geometry
46 why: equal to --show-geometry for a long time
48 --------------------------
50 what: "swapon --summary" output format
51 why: does not provide control on output data formatting. The recommended solution
52 is to use --show=<columns> in all scripts.
54 --------------------------
57 Why: use filesystem specific mkfs.<type>.
59 --------------------------
61 What: fdisk -s <device>
62 Why: this does not belong to fdisk, use "blockdev --getsz"
64 --------------------------
66 What: 'udev' and 'list' blkid(8) output formats
67 Why: udevd links libblkid directly; the 'list' is unnecessary, use lsblk(8)
69 --------------------------
72 Why: use the read(1) command
74 --------------------------
77 Why: use less(1) or more(1)
79 --------------------------
81 What: CHS stuff in fdisk (except SUN where are partitions addresses by cylinders only)
82 Why: use addressing by sectors, CHS does not work with modern disks,
83 confusing for users...
85 --------------------------
88 Why: the option -s is in collision with the Loop-AES losetup dialect that is used
89 in some distributions. Use the long version (--show) only.
91 --------------------------
93 What: losetup output format without --list
98 /dev/loop0: []: (/home/fs-images/swap.img)
99 /dev/loop1: []: (/home/fs-images/disk.img), offset 100
104 NAME SIZELIMIT OFFSET AUTOCLEAR RO BACK-FILE
105 /dev/loop0 0 0 0 0 /home/fs-images/swap.img
106 /dev/loop1 0 100 0 0 /home/fs-images/disk.img
108 --------------------------
111 Why: parallel port printers are probably almost extinct devices
113 ----------------------------
115 The Single UNIX(TM) Specification, Version 2
116 Copyright (C) 1997 The Open Group
118 Legacy utilities which are part util-linux package are:
124 http://pubs.opengroup.org/onlinepubs/7908799/xcu/intro.html#tag_001_003_003