]> git.ipfire.org Git - thirdparty/util-linux.git/blame - Documentation/TODO
hwclock: add --delay <seconds>
[thirdparty/util-linux.git] / Documentation / TODO
CommitLineData
0cbeee27 1
b1883029 2 Note that items with (!) have high priority.
0cbeee27 3
caa86834
KZ
4cal
5---
6 - add option to print calendar in vertical way
7 https://github.com/karelzak/util-linux/issues/604
8 - support another --reforms, see for example freebsd version
9 https://github.com/freebsd/freebsd/blob/master/usr.bin/ncal/ncal.c#L72
10
e34dcfb6
KZ
11column
12------
13 - add option to NOT ignore empty lines
14 https://github.com/karelzak/util-linux/issues/593
15
dcb67393
KZ
16script
17------
dcb67393
KZ
18 - think about optional "event" records in timing file to save information
19 about non-data changes like signals (SIGWINCH, SIGSTOP, SIGCONT, etc.)
20 in format:
21
22 <time> 0 <name>[: var=data, ...]
23
24 for example:
25
26 0.001296 256
27 0.001297 0 SIGWINCH: columns=50, lines=20
28 0.000010 275
29
56f4d6ce
KZ
30lsblk
31-----
4e6bd9ad
KZ
32 - rewrite lsblk to read all devices tree to memory to make it more extendable. Now
33 it always keep in memory just one device (only final output is buffered by
34 libsmartcols, but this stuff are output strings, nothing else).
56f4d6ce 35
4e6bd9ad 36 See fopr example: https://github.com/karelzak/util-linux/issues/616
56f4d6ce
KZ
37
38
3421709a
KZ
39lscpu
40-----
41 - read cpuid and uname information from file if --sysroot is specified, then
42 we can prepare regression tests completely independent on hw and architecture.
43
5b7be990
KZ
44lsblk
45-----
be869840
KZ
46 - re-write the way how lsblk internally holds info about devices. Now we
47 compose only output (by libsmartcols). It would be better to have in memory
48 complete tree of the devices and generate the output from this tree. It will
49 make code more readable and allow to generate output in more ways -- for
50 example for RAIDs (https://github.com/karelzak/util-linux/issues/616)
51
5b7be990
KZ
52 - currently it does not show mountpoint for all devices in btrfs RAID. It's because
53 /proc/#/mountinfo contains reference to the one device only. Maybe we can add some
54 btrfs specific code to provide a better output for FS based stacks. Not sure.
55 https://bugzilla.redhat.com/show_bug.cgi?id=1084453
56
426ee7cb
KZ
57nsenter(1)
58----------
59 - read the default UID and GID from the target process.
60 http://thread.gmane.org/gmane.linux.utilities.util-linux-ng/9553/focus=9585
61
35bc7a2b
KZ
62hwlock
63------
64 - use /var/lib/hwclock/drift to store hw-clock drift numbers.
65 - use /etc/adjtime as read-only for UTC/LOCAL information only
66 - the /var/lib/hwclock/drift should be implemented backwardly compatible,
67 it means use the file only if exists, otherwise follow /etc/adjtime
68
b75b23b4
KZ
69bash completion
70---------------
20a51056 71- Optional argument handling requires user to press backspace to get
58c41e15 72 argument completion.
20a51056
SK
73- Comma separated value, e.g., --output 'value1,value2', are not
74 completed for users.
b75b23b4 75
b1883029
KZ
76libmount (mount/umount)
77-----------------------
01df6eeb 78
7c79c341
KZ
79 - remount all filesystems given their type, for example:
80 mount -a -t tmpfs -o remount
81 It should be probably enough to add remount_all() to mount(8) in way we
82 already have mount_all(). https://github.com/karelzak/util-linux/issues/589
83
25629819
KZ
84 - add --onlyonce to force mount(8) to check if mountpoint is already used. Now
85 "already mounted" detection is used for --all only. The problem is if you
86 call "mount <mountpoint>" more than once for in fstab defined tmpfs (or network
87 filesystem etc.). In this case kernel does not return EBUSY, but a new instance
88 of the FS is created. https://github.com/karelzak/util-linux/issues/448
7c79c341 89 (... just idea, maybe wrong idea)
25629819 90
3f30dedd
KZ
91 - support CAP_SYS_ADMIN; for mount(2) syscall the CAP_SYS_ADMIN is good
92 enough. Unfortunately, mount(8) does more things like check for filesystem
93 type (but it's usually done by udev, so root perms are unnecessary), create
94 loop devices, write to /run/mount/utab or /etc/mtab, etc.
95
96 It would be nice to improve libmount to check for CAP_SYS_ADMIN if suid not
97 set and allow to use it for simple tasks where no another operation is
98 necessary.
99
28297408
KZ
100partx
101-----
102
4231bffe
KZ
103 - support mapping by device-mapper if argv[0] is "kpartx" or --dm option is used.
104
b1883029
KZ
105
106docs
107----
108
109 - (!) use something better than gtk-doc for libmount and libblkid (doxyden?)
110
111 - (!) add API documentation to libuuid
28297408 112
ce87b20a
KZ
113exit codes
114----------
115
116 - we need coreutils-like exit codes for failed exec(). See:
117 https://www.spinics.net/lists/util-linux-ng/msg12776.html
118 and original attempt:
119 https://github.com/karelzak/util-linux/pull/311
4231bffe 120
a4f4cc75
KZ
121login-utils:
122-----------
123
b75b23b4
KZ
124 - consolidate newgrp(1)
125 * we have "su --group/--supp-group" to switch between groups, newgrp(1) in
126 util-linux and shadow-utils (and sg(1) alias in shadow-utils)
127 * the unique functionality provided by newgpr(1) is support for group
128 passwords [/etc/gshadow] -- do we really need this functionality?
129 * maybe we can mark group-passwords as deprecated, and replace sg(1) and
73afd3f8 130 newgpr(1) with su(1) code. The another way is to ask for group password in
b75b23b4
KZ
131 su --group too.
132 * note that shadow-utils newgpr(1) provides support for syslog and audit log.
a4f4cc75 133
9612a410 134
a24f0ade
KZ
135libblkid
136--------
5d5ae40b 137
20a48072
KZ
138 - (!) add support for BitLocker Drive Encryption
139 https://github.com/karelzak/util-linux/issues/617
140 https://github.com/libyal/libbde/blob/master/documentation/BitLocker%20Drive%20Encryption%20(BDE)%20format.asciidoc
a24f0ade 141
b1883029 142 - (!) add support for dasd PT (used for example on s390)
f2813fce 143
425ae8f5
KZ
144libfdisk
145--------
b116ef42 146
425ae8f5
KZ
147 - add support for Apple Partition Map (see libblkid/src/partitions/mac.c)
148 http://en.wikipedia.org/wiki/Apple_Partition_Map
149
342c66de
KZ
150fdisk
151-----
152
153 - When creating a new partition, it would be helpful if the "Last sector"
154 dialog accepted negative numbers, to be able to specify how far from the
155 end of the drive you would like the partition to end.
156
a24f0ade
KZ
157misc
158----
159
b1883029 160 - add mllockall() and SCHED_FIFO to hwclock,
a24f0ade
KZ
161 see http://lkml.org/lkml/2008/10/12/132
162
19a9d0b7
KZ
163
164---------------
165exotic requests
166---------------
167
b1883029 168 - add SELinux security contexts support to the 'ipcs' utility
8da18ddb
KZ
169 http://bugzilla.redhat.com/show_bug.cgi?id=225342
170
171 Would be great to list the current system IPC Objects with their respective
172 security labels (where allowed) with something like 'ipcs -Z' - following the
173 way other tools reports those.
174
175