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