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 --output-width
9 --------------------------
11 what: sfdisk --show-size
12 why: this does not belong to fdisk, use "blockdev --getsz"
14 --------------------------
17 why: unnecessary option, only Linux (non-DOS mode) is supported
19 --------------------------
22 why: unnecessary option, only 'S'ector unit is supported
24 --------------------------
26 what: sfdisk --show-pt-geometry
27 why: equal to --show-geometry for a long time
29 --------------------------
31 what: "swapon --summary" output format
32 why: does not provide control on output data formatting. The recommended solution
33 is to use --show=<columns> in all scripts.
35 --------------------------
38 Why: use filesystem specific mkfs.<type>.
40 --------------------------
42 What: fdisk -s <device>
43 Why: this does not belong to fdisk, use "blockdev --getsz"
45 --------------------------
47 What: 'udev' and 'list' blkid(8) output formats
48 Why: udevd links libblkid directly; the 'list' is unnecessary, use lsblk(8)
50 --------------------------
53 Why: useless, nobody uses this command, head(1) is better
55 --------------------------
58 Why: use less(1) or more(1)
60 --------------------------
62 What: CHS stuff in fdisk (except SUN where are partitions addresses by cylinders only)
63 Why: use addresssing by sectors, CHS does not work with modern disks,
64 confusing for users...
66 --------------------------
69 Why: the option -s is in collision with the Loop-AES losetup dialect that is used
70 in some distributions. Use the long version (--show) only.
72 --------------------------
74 What: losetup output format without --list
79 /dev/loop0: []: (/home/fs-images/swap.img)
80 /dev/loop1: []: (/home/fs-images/disk.img), offset 100
85 NAME SIZELIMIT OFFSET AUTOCLEAR RO BACK-FILE
86 /dev/loop0 0 0 0 0 /home/fs-images/swap.img
87 /dev/loop1 0 100 0 0 /home/fs-images/disk.img
89 --------------------------
92 Why: parallel port printers are probably almost extinct devices
94 ----------------------------
97 Why: ncurses has better reset(1)
99 ----------------------------
101 The Single UNIX(TM) Specification, Version 2
102 Copyright (C) 1997 The Open Group
104 Legacy utilities which are part util-linux package are:
110 http://pubs.opengroup.org/onlinepubs/7908799/xcu/intro.html#tag_001_003_003