]> git.ipfire.org Git - thirdparty/util-linux.git/blame - Documentation/TODO
docs: update TODO file (add item about libblkid ZFS)
[thirdparty/util-linux.git] / Documentation / TODO
CommitLineData
0cbeee27 1
b1883029 2 Note that items with (!) have high priority.
0cbeee27 3
dac28f83
KZ
4script (lib/pty-session.c)
5--------------------------
6 - (!) add #ifdefs and optional code for non-signalfd() systems
7
a1025229
KZ
8
9docs
10----
11 - use terminal hyperlinks (for example for --help)
12 try on terminal: printf 'For more details see \e]8;;man:fdisk(8)\e\\fdisk(8)\e]8;;\e\\.\n'
13 https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda
14
40c28f51
KZ
15rev
16---
17 - support huge input lines (for example read input by small fixed buffer
18 rather than try allocate all buffer for a whole line)
19 see: https://github.com/karelzak/util-linux/issues/972
20
9113d6c1
KZ
21col
22---
23 - use unsigned sizes for columns and lines
24 - check for limits to avoid segfaults
25 - make it more robust
26 https://github.com/karelzak/util-linux/issues/749
27
caa86834
KZ
28cal
29---
caa86834
KZ
30 - support another --reforms, see for example freebsd version
31 https://github.com/freebsd/freebsd/blob/master/usr.bin/ncal/ncal.c#L72
32
3421709a
KZ
33lscpu
34-----
35 - read cpuid and uname information from file if --sysroot is specified, then
36 we can prepare regression tests completely independent on hw and architecture.
37
5b7be990
KZ
38lsblk
39-----
40 - currently it does not show mountpoint for all devices in btrfs RAID. It's because
41 /proc/#/mountinfo contains reference to the one device only. Maybe we can add some
42 btrfs specific code to provide a better output for FS based stacks. Not sure.
43 https://bugzilla.redhat.com/show_bug.cgi?id=1084453
44
426ee7cb
KZ
45nsenter(1)
46----------
47 - read the default UID and GID from the target process.
48 http://thread.gmane.org/gmane.linux.utilities.util-linux-ng/9553/focus=9585
49
cfb9934d 50hwclock
35bc7a2b
KZ
51------
52 - use /var/lib/hwclock/drift to store hw-clock drift numbers.
53 - use /etc/adjtime as read-only for UTC/LOCAL information only
54 - the /var/lib/hwclock/drift should be implemented backwardly compatible,
2bb3aa36 55 it means use the file only if exists, otherwise follow /etc/adjtime
35bc7a2b 56
b75b23b4
KZ
57bash completion
58---------------
20a51056 59- Optional argument handling requires user to press backspace to get
58c41e15 60 argument completion.
20a51056
SK
61- Comma separated value, e.g., --output 'value1,value2', are not
62 completed for users.
b75b23b4 63
b1883029
KZ
64libmount (mount/umount)
65-----------------------
01df6eeb 66
25629819
KZ
67 - add --onlyonce to force mount(8) to check if mountpoint is already used. Now
68 "already mounted" detection is used for --all only. The problem is if you
69 call "mount <mountpoint>" more than once for in fstab defined tmpfs (or network
70 filesystem etc.). In this case kernel does not return EBUSY, but a new instance
71 of the FS is created. https://github.com/karelzak/util-linux/issues/448
7c79c341 72 (... just idea, maybe wrong idea)
25629819 73
3f30dedd
KZ
74 - support CAP_SYS_ADMIN; for mount(2) syscall the CAP_SYS_ADMIN is good
75 enough. Unfortunately, mount(8) does more things like check for filesystem
76 type (but it's usually done by udev, so root perms are unnecessary), create
77 loop devices, write to /run/mount/utab or /etc/mtab, etc.
78
79 It would be nice to improve libmount to check for CAP_SYS_ADMIN if suid not
29e204d1 80 set and allow using it for simple tasks where no another operation is
3f30dedd
KZ
81 necessary.
82
28297408
KZ
83partx
84-----
85
4231bffe 86 - support mapping by device-mapper if argv[0] is "kpartx" or --dm option is used.
2bb3aa36 87
b1883029 88
b4601f62
KZ
89getopt
90------
91 It would be great if getopt could optionally ignore unknown options.
92 Currently, it outputs -- for every option it doesn't recognize but leaving the
93 option as it is could beneficial wrapper scripts which could then pass the
94 options they don't recognize as they are to the command they are wrapping.
95 https://github.com/karelzak/util-linux/issues/701
96
b1883029
KZ
97docs
98----
99
100 - (!) use something better than gtk-doc for libmount and libblkid (doxyden?)
101
102 - (!) add API documentation to libuuid
28297408 103
940928c9 104 - (!) rewrite man pages to AsciiDoc and generate final man pages by Asciidoctor & Docbook
4231bffe 105
a4f4cc75
KZ
106login-utils:
107-----------
108
b75b23b4
KZ
109 - consolidate newgrp(1)
110 * we have "su --group/--supp-group" to switch between groups, newgrp(1) in
111 util-linux and shadow-utils (and sg(1) alias in shadow-utils)
112 * the unique functionality provided by newgpr(1) is support for group
113 passwords [/etc/gshadow] -- do we really need this functionality?
114 * maybe we can mark group-passwords as deprecated, and replace sg(1) and
73afd3f8 115 newgpr(1) with su(1) code. The another way is to ask for group password in
b75b23b4
KZ
116 su --group too.
117 * note that shadow-utils newgpr(1) provides support for syslog and audit log.
a4f4cc75 118
9612a410 119
a24f0ade
KZ
120libblkid
121--------
5d5ae40b 122
215ff3ba
KZ
123 - extend ZFS proper to scan for more uberblocks if BLKID_SUBLKS_MAGIC flag is set.
124 This solution will make wipefs(8) more usable as ZFS is extremely variable with
125 additional root blocks locations. See https://github.com/karelzak/util-linux/issues/1228
126
2bb3aa36 127 - (!) add support for BitLocker Drive Encryption
20a48072
KZ
128 https://github.com/karelzak/util-linux/issues/617
129 https://github.com/libyal/libbde/blob/master/documentation/BitLocker%20Drive%20Encryption%20(BDE)%20format.asciidoc
a24f0ade 130
b1883029 131 - (!) add support for dasd PT (used for example on s390)
f2813fce 132
425ae8f5
KZ
133libfdisk
134--------
b116ef42 135
425ae8f5
KZ
136 - add support for Apple Partition Map (see libblkid/src/partitions/mac.c)
137 http://en.wikipedia.org/wiki/Apple_Partition_Map
138
7b41ae5b
KZ
139 - add support for nested PT (e.g. hybrid MBR) to scripts
140 * add "nested-label:" block to sfdisk --dump
141 * add "nested-partitiontable" to sfdisk --JSON
142 * support nested labels parsing from dump
143 see https://github.com/karelzak/util-linux/issues/850
144
145sfdisk
146------
147
148 - don't backup PT in interactive mode before write to the devices is requested,
149 see https://github.com/karelzak/util-linux/issues/852
342c66de 150
a24f0ade
KZ
151misc
152----
153
b1883029 154 - add mllockall() and SCHED_FIFO to hwclock,
a24f0ade 155 see http://lkml.org/lkml/2008/10/12/132
2bb3aa36 156
19a9d0b7
KZ
157
158---------------
159exotic requests
160---------------
161
b1883029 162 - add SELinux security contexts support to the 'ipcs' utility
8da18ddb
KZ
163 http://bugzilla.redhat.com/show_bug.cgi?id=225342
164
165 Would be great to list the current system IPC Objects with their respective
166 security labels (where allowed) with something like 'ipcs -Z' - following the
167 way other tools reports those.
168
169