]> git.ipfire.org Git - thirdparty/util-linux.git/blame - Documentation/TODO
Spelling fixes.
[thirdparty/util-linux.git] / Documentation / TODO
CommitLineData
0cbeee27 1
b1883029 2 Note that items with (!) have high priority.
0cbeee27 3
35bc7a2b
KZ
4hwlock
5------
6 - use /var/lib/hwclock/drift to store hw-clock drift numbers.
7 - use /etc/adjtime as read-only for UTC/LOCAL information only
8 - the /var/lib/hwclock/drift should be implemented backwardly compatible,
9 it means use the file only if exists, otherwise follow /etc/adjtime
10
b75b23b4
KZ
11bash completion
12---------------
20a51056 13- Optional argument handling requires user to press backspace to get
58c41e15 14 argument completion.
20a51056
SK
15- Comma separated value, e.g., --output 'value1,value2', are not
16 completed for users.
b75b23b4 17
f2be51a2
KZ
18wipefs
19------
20 - generate /root/wipefs-<devname>-<offset>.bak with wiped bytes, so after
21 mistake user can use dd(1) to restore erased stuff
22
0b359bcd
KZ
23lscpu
24-----
25 - detect more hypervisors, see 'virt-what' shell script
26 http://people.redhat.com/~rjones/virt-what/
27
d9d88e31
KZ
28minix (fsck, mkfs)
29------------------
30
31 - clean up types -- use ino_t, size_t and ssize_t
32
b1883029
KZ
33libmount (mount/umount)
34-----------------------
01df6eeb 35
b1883029 36 Note that the old mount/[u]mount.c code is in MAINTENANCE MODE only. All new
1340d433
KZ
37 features should be implemented to libmount or to the new sys-utils/{mount,umount}.c
38 utils.
39
40 - add options to control fstab/mtab mount options usage, something like:
41
42 --options-mode={ignore,append,prepend,replace} MNT_OMODE_{IGNORE, ...}
43 --options-source={fstab,mtab,disable} MNT_OMODE_{FSTAB,MTAB,NOTAB}
44 --options-source-force MNT_OMODE_FORCE
45
46 (all this already supported by libmount)
01df6eeb 47
2daef873
KZ
48 - (!) on systems with regular mtab file it is impossible to umount by "umount
49 /dev/loop0" if the loop device has been created by "mount -o loop", because
50 there is backing file in the mtab (instead of the device name).
51
52 Now we have all necessary information in /sysfs so it should be possible to
53 translate the device name to backing file and then search in mtab for the
54 filename. See loopdev_get_loopfile().
55
28297408
KZ
56partx
57-----
58
4231bffe
KZ
59 - support mapping by device-mapper if argv[0] is "kpartx" or --dm option is used.
60
b1883029
KZ
61 - (!) add regression tests for partx, addpart and delpart
62
63
64docs
65----
66
67 - (!) use something better than gtk-doc for libmount and libblkid (doxyden?)
68
69 - (!) add API documentation to libuuid
28297408 70
4231bffe 71
19a9d0b7
KZ
72lib/tt.c
73--------
74
75 - allows to sort columns, for example sort lsblk(8) output by SIZE
76
a4f4cc75
KZ
77login-utils:
78-----------
79
b75b23b4
KZ
80 - consolidate newgrp(1)
81 * we have "su --group/--supp-group" to switch between groups, newgrp(1) in
82 util-linux and shadow-utils (and sg(1) alias in shadow-utils)
83 * the unique functionality provided by newgpr(1) is support for group
84 passwords [/etc/gshadow] -- do we really need this functionality?
85 * maybe we can mark group-passwords as deprecated, and replace sg(1) and
86 newgpr(1) with su(1) code. The another way is to ask fro group password in
87 su --group too.
88 * note that shadow-utils newgpr(1) provides support for syslog and audit log.
a4f4cc75 89
a24f0ade
KZ
90libblkid
91--------
5d5ae40b 92
4633cc95
KZ
93 - improve DBG() debug macro, see new imeplemntation in libmount/src/mountP.h
94
c9f51c71
KZ
95 - (!) don't use internally blkid_loff_t, rather use off_t, size_t, ssize_t,
96 stdint.h types and so on...
97
28fed5d6 98 - add FSSIZE value -- filesystem size (klibc requirement)
a24f0ade 99
b1883029 100 - (!) add support for dasd PT (used for example on s390)
f2813fce 101
a24f0ade
KZ
102fdisk(s)
103--------
104
838b8e0f
KZ
105 - add to "First sector" dialog a line with information about available
106 gaps (free areas) to make it more user friendly if you want to skip
107 any useless (small) areas between existing partitions.
108 See https://bugzilla.redhat.com/show_bug.cgi?id=715114
109
b1883029 110 - add "move end" command to move end of the last primary/extended partition.
d8fb986b
KZ
111 This feature seems very attractive to users who resizing their disks
112 (for example in virtual machines).
113
b1883029 114 - sfdisk rounds to cylinders is -uM (megabyte units) is specified, this is
f2813fce
KZ
115 pretty stupid feature. It has to round to sectors if -uS or -uM is specified.
116
b1883029 117 - Sun label support is completely useless for large disks, it uses number of
4d6cb488
KZ
118 cylinders from on-disk-label where the geometry is stored by int16 values.
119 It seems better to completely ignore this stuff from the label and always
120 use geometry + BLKGETSIZE64 from kernel.
121
b1883029 122 - use off_t instead "long long"
a24f0ade 123
b1883029 124 - catch SIGINT (Ctrl-C) and return to main menu.
ef5d1feb
KZ
125 From Red Hat bugzilla #545488:
126
127 While using fdisk normally, if you accidentally pressed the wrong button (to
128 start a sequence of questions for some operation, e.g. 'c' to create
129 partition). The tool tries too hard to keep asking you for valid input. You
130 can't provide a blank or invalid input to get it to break out of the current
131 dialog sequence and get back to the main menu.
132
a24f0ade
KZ
133misc
134----
135
b1883029 136 - add mllockall() and SCHED_FIFO to hwclock,
a24f0ade
KZ
137 see http://lkml.org/lkml/2008/10/12/132
138
19a9d0b7
KZ
139
140---------------
141exotic requests
142---------------
143
b1883029 144 - add SELinux security contexts support to the 'ipcs' utility
8da18ddb
KZ
145 http://bugzilla.redhat.com/show_bug.cgi?id=225342
146
147 Would be great to list the current system IPC Objects with their respective
148 security labels (where allowed) with something like 'ipcs -Z' - following the
149 way other tools reports those.
150
151