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