]> git.ipfire.org Git - thirdparty/util-linux.git/blob - Documentation/deprecated.txt
docs: update deprecated.txt
[thirdparty/util-linux.git] / Documentation / deprecated.txt
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.
4
5 What: chkdupexe
6 Why: unnecessary, in Perl, not used in distributions, possible to replace
7 by a simple shell script.
8
9 --------------------------
10
11 What: 'udev' and 'list' blkid(8) output formats
12 Why: udevd links libblkid directly; the 'list' is unnecessary, use lsblk(8)
13
14 --------------------------
15
16 What: line(1) command
17 Why: useless, nobody uses this command, head(1) is better
18
19 --------------------------
20
21 What: pg(1) command
22 Why: use less(1) or more(1)
23
24 --------------------------
25
26 What: CHS stuff in fdisk (except SUN where are partitions addresses by cylinders only)
27 Why: use addresssing by sectors, CHS does not work with modern disks,
28 confusing for users...
29
30 --------------------------
31
32 What: losetup -s
33 Why: the option -s is in collision with the Loop-AES losetup dialect that is used
34 in some distributions. Use the long version (--show) only.
35
36 --------------------------
37
38 What: losetup output format without --list
39
40 deprecated format"
41
42 # losetup -a
43 /dev/loop0: []: (/home/fs-images/swap.img)
44 /dev/loop1: []: (/home/fs-images/disk.img), offset 100
45
46 new format:
47
48 # losetup
49 NAME SIZELIMIT OFFSET AUTOCLEAR RO BACK-FILE
50 /dev/loop0 0 0 0 0 /home/fs-images/swap.img
51 /dev/loop1 0 100 0 0 /home/fs-images/disk.img
52
53 --------------------------
54
55 What: tunelp
56 Why: parallel port printers are probably almost extinct devices
57
58 --------------------------
59
60 What: elvtune
61 Why: useless for kernel >= 2.6.9
62
63 ---------------------------
64
65 What: arch(1) command
66 Why: deprecated in favor of uname(1) or arch(1) from coreutils
67
68 The arch(1) has been added (during 2.13 development cycle) to coreutils
69 where it will be maintained as an alias for uname(1) command.
70
71 ----------------------------
72
73 What: last(1)
74 Why: nobody uses this implementation
75
76 ----------------------------
77
78 The Single UNIX(TM) Specification, Version 2
79 Copyright (C) 1997 The Open Group
80
81 Legacy utilities which are part util-linux package are:
82
83 col
84 line
85 pg
86
87 http://pubs.opengroup.org/onlinepubs/7908799/xcu/intro.html#tag_001_003_003