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 why: renamed to --verbose, and may be repurposed later.
9 --------------------------
11 what: hwclock -v for version
13 since: v2.20 (was repurposed to verbose in v2.32)
15 --------------------------
17 what: column --columns
18 why: renamed to --output-width
21 --------------------------
23 what: sfdisk --show-size
24 why: this does not belong to fdisk, use "blockdev --getsz"
26 --------------------------
29 why: unnecessary option, only Linux (non-DOS mode) is supported
31 --------------------------
34 why: unnecessary option, only 'S'ector unit is supported
36 --------------------------
38 what: sfdisk --show-pt-geometry
39 why: equal to --show-geometry for a long time
41 --------------------------
43 what: "swapon --summary" output format
44 why: does not provide control on output data formatting. The recommended solution
45 is to use --show=<columns> in all scripts.
47 --------------------------
50 Why: use filesystem specific mkfs.<type>.
52 --------------------------
54 What: fdisk -s <device>
55 Why: this does not belong to fdisk, use "blockdev --getsz"
57 --------------------------
59 What: 'udev' and 'list' blkid(8) output formats
60 Why: udevd links libblkid directly; the 'list' is unnecessary, use lsblk(8)
62 --------------------------
65 Why: use the read(1) command
67 --------------------------
70 Why: use less(1) or more(1)
72 --------------------------
74 What: CHS stuff in fdisk (except SUN where are partitions addresses by cylinders only)
75 Why: use addressing by sectors, CHS does not work with modern disks,
76 confusing for users...
78 --------------------------
81 Why: the option -s is in collision with the Loop-AES losetup dialect that is used
82 in some distributions. Use the long version (--show) only.
84 --------------------------
86 What: losetup output format without --list
91 /dev/loop0: []: (/home/fs-images/swap.img)
92 /dev/loop1: []: (/home/fs-images/disk.img), offset 100
97 NAME SIZELIMIT OFFSET AUTOCLEAR RO BACK-FILE
98 /dev/loop0 0 0 0 0 /home/fs-images/swap.img
99 /dev/loop1 0 100 0 0 /home/fs-images/disk.img
101 --------------------------
104 Why: parallel port printers are probably almost extinct devices
106 ----------------------------
108 The Single UNIX(TM) Specification, Version 2
109 Copyright (C) 1997 The Open Group
111 Legacy utilities which are part util-linux package are:
117 http://pubs.opengroup.org/onlinepubs/7908799/xcu/intro.html#tag_001_003_003