]> git.ipfire.org Git - thirdparty/util-linux.git/blame - Documentation/TODO
docs: add hwclock to TODO
[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
e8746956
KZ
68 - add --delay-on-set <ms> to make possible to by-pass default 500ms delay on --set
69 https://marc.info/?l=util-linux-ng&m=146675599623002&w=2
35bc7a2b 70
b75b23b4
KZ
71bash completion
72---------------
20a51056 73- Optional argument handling requires user to press backspace to get
58c41e15 74 argument completion.
20a51056
SK
75- Comma separated value, e.g., --output 'value1,value2', are not
76 completed for users.
b75b23b4 77
b1883029
KZ
78libmount (mount/umount)
79-----------------------
01df6eeb 80
7c79c341
KZ
81 - remount all filesystems given their type, for example:
82 mount -a -t tmpfs -o remount
83 It should be probably enough to add remount_all() to mount(8) in way we
84 already have mount_all(). https://github.com/karelzak/util-linux/issues/589
85
25629819
KZ
86 - add --onlyonce to force mount(8) to check if mountpoint is already used. Now
87 "already mounted" detection is used for --all only. The problem is if you
88 call "mount <mountpoint>" more than once for in fstab defined tmpfs (or network
89 filesystem etc.). In this case kernel does not return EBUSY, but a new instance
90 of the FS is created. https://github.com/karelzak/util-linux/issues/448
7c79c341 91 (... just idea, maybe wrong idea)
25629819 92
3f30dedd
KZ
93 - support CAP_SYS_ADMIN; for mount(2) syscall the CAP_SYS_ADMIN is good
94 enough. Unfortunately, mount(8) does more things like check for filesystem
95 type (but it's usually done by udev, so root perms are unnecessary), create
96 loop devices, write to /run/mount/utab or /etc/mtab, etc.
97
98 It would be nice to improve libmount to check for CAP_SYS_ADMIN if suid not
99 set and allow to use it for simple tasks where no another operation is
100 necessary.
101
28297408
KZ
102partx
103-----
104
4231bffe
KZ
105 - support mapping by device-mapper if argv[0] is "kpartx" or --dm option is used.
106
b1883029
KZ
107
108docs
109----
110
111 - (!) use something better than gtk-doc for libmount and libblkid (doxyden?)
112
113 - (!) add API documentation to libuuid
28297408 114
ce87b20a
KZ
115exit codes
116----------
117
118 - we need coreutils-like exit codes for failed exec(). See:
119 https://www.spinics.net/lists/util-linux-ng/msg12776.html
120 and original attempt:
121 https://github.com/karelzak/util-linux/pull/311
4231bffe 122
a4f4cc75
KZ
123login-utils:
124-----------
125
b75b23b4
KZ
126 - consolidate newgrp(1)
127 * we have "su --group/--supp-group" to switch between groups, newgrp(1) in
128 util-linux and shadow-utils (and sg(1) alias in shadow-utils)
129 * the unique functionality provided by newgpr(1) is support for group
130 passwords [/etc/gshadow] -- do we really need this functionality?
131 * maybe we can mark group-passwords as deprecated, and replace sg(1) and
73afd3f8 132 newgpr(1) with su(1) code. The another way is to ask for group password in
b75b23b4
KZ
133 su --group too.
134 * note that shadow-utils newgpr(1) provides support for syslog and audit log.
a4f4cc75 135
9612a410 136
a24f0ade
KZ
137libblkid
138--------
5d5ae40b 139
20a48072
KZ
140 - (!) add support for BitLocker Drive Encryption
141 https://github.com/karelzak/util-linux/issues/617
142 https://github.com/libyal/libbde/blob/master/documentation/BitLocker%20Drive%20Encryption%20(BDE)%20format.asciidoc
a24f0ade 143
b1883029 144 - (!) add support for dasd PT (used for example on s390)
f2813fce 145
425ae8f5
KZ
146libfdisk
147--------
b116ef42 148
425ae8f5
KZ
149 - add support for Apple Partition Map (see libblkid/src/partitions/mac.c)
150 http://en.wikipedia.org/wiki/Apple_Partition_Map
151
a24f0ade
KZ
152misc
153----
154
b1883029 155 - add mllockall() and SCHED_FIFO to hwclock,
a24f0ade
KZ
156 see http://lkml.org/lkml/2008/10/12/132
157
19a9d0b7
KZ
158
159---------------
160exotic requests
161---------------
162
b1883029 163 - add SELinux security contexts support to the 'ipcs' utility
8da18ddb
KZ
164 http://bugzilla.redhat.com/show_bug.cgi?id=225342
165
166 Would be great to list the current system IPC Objects with their respective
167 security labels (where allowed) with something like 'ipcs -Z' - following the
168 way other tools reports those.
169
170