]> git.ipfire.org Git - thirdparty/util-linux.git/blob - Documentation/TODO
docs: add cfdisk auto-sort to TODO file
[thirdparty/util-linux.git] / Documentation / TODO
1
2 Note that items with (!) have high priority.
3
4 libblkid
5 --------
6 - (!) don't use fixed set of the static buffers for TAGs in blkid_probe,
7 allocate all on the fly. It seems that for example btrfs is crazy enough
8 to have LABELs longer than we have bufferes in libblkid
9 https://bugzilla.redhat.com/show_bug.cgi?id=1164708
10
11 cfdisk
12 ------
13 - provide additional information about the current partitions (LABEL=, UUID=,
14 filesystem type, size, usage, mountpoint, ...) just optionally add extra
15 table between main menu and list of partitions.
16
17 - (!) add auto-sort support (sort partitions automatically) and
18 --sort={auto,never,always} command line option. This feature should be
19 enabled by default for logical partitions if we created all container (extended
20 partition) in the current session.
21
22
23 agetty
24 -----
25 - support default issue (/etc/issue) output for agetty to make it agetty
26 usable on systems with empty /etc.
27
28 This change is little bit controversial, because now agetty prints nothing
29 by default and it's probably used by admins to hide information about the
30 system to unauthorized users. We already have --noissue to disable issue
31 output. The question is if admins use this option, "rm /etc/issue" is
32 probably easer than modify inittab (or systemd unit file).
33
34 Maybe we can implement it by --enable-agetty-default-issue compile option and
35 move the decision to downstream maintainers ;-)
36
37 nsenter(1)
38 ----------
39 - read the default UID and GID from the target process.
40 http://thread.gmane.org/gmane.linux.utilities.util-linux-ng/9553/focus=9585
41
42 hwlock
43 ------
44 - use /var/lib/hwclock/drift to store hw-clock drift numbers.
45 - use /etc/adjtime as read-only for UTC/LOCAL information only
46 - the /var/lib/hwclock/drift should be implemented backwardly compatible,
47 it means use the file only if exists, otherwise follow /etc/adjtime
48
49 bash completion
50 ---------------
51 - Optional argument handling requires user to press backspace to get
52 argument completion.
53 - Comma separated value, e.g., --output 'value1,value2', are not
54 completed for users.
55
56 libmount (mount/umount)
57 -----------------------
58
59 - add options to control fstab/mtab mount options usage, something like:
60
61 --options-mode={ignore,append,prepend,replace} MNT_OMODE_{IGNORE, ...}
62 --options-source={fstab,mtab,disable} MNT_OMODE_{FSTAB,MTAB,NOTAB}
63 --options-source-force MNT_OMODE_FORCE
64
65 (all this already supported by libmount)
66
67 libsmartcols
68 -----------
69
70 - (!) add SCOLS_FL_HIDDEN flag to make it possible to hide a column. Then we
71 can use such column in lsblk(8) to only sort lines, but do not print the column.
72
73 lsblk -o NAME --sort SIZE
74
75 partx
76 -----
77
78 - support mapping by device-mapper if argv[0] is "kpartx" or --dm option is used.
79
80
81 docs
82 ----
83
84 - (!) use something better than gtk-doc for libmount and libblkid (doxyden?)
85
86 - (!) add API documentation to libuuid
87
88
89 login-utils:
90 -----------
91
92 - consolidate newgrp(1)
93 * we have "su --group/--supp-group" to switch between groups, newgrp(1) in
94 util-linux and shadow-utils (and sg(1) alias in shadow-utils)
95 * the unique functionality provided by newgpr(1) is support for group
96 passwords [/etc/gshadow] -- do we really need this functionality?
97 * maybe we can mark group-passwords as deprecated, and replace sg(1) and
98 newgpr(1) with su(1) code. The another way is to ask fro group password in
99 su --group too.
100 * note that shadow-utils newgpr(1) provides support for syslog and audit log.
101
102 libblkid
103 --------
104
105 - (!) don't use internally blkid_loff_t, rather use off_t, size_t, ssize_t,
106 stdint.h types and so on...
107
108 - add FSSIZE value -- filesystem size (klibc requirement)
109
110 - (!) add support for dasd PT (used for example on s390)
111
112 libfdisk
113 --------
114
115 [always check libfdisk branch at github!]
116
117 - (!) add 'I'nfo fommand to print all details about specified partition
118 (like offset, size, name, uuid, type, C/H/S, fstype)
119
120 - (!) add to "First sector" dialog a line with information about available
121 gaps (free areas) to make it more user friendly if you want to skip
122 any useless (small) areas between existing partitions.
123 See https://bugzilla.redhat.com/show_bug.cgi?id=715114
124
125 (Note that libfdisk already supports freespace lists.)
126
127 - (!) add to fdisk "free space" command to print all available gaps
128
129 - add support for Apple Partition Map (see libblkid/src/partitions/mac.c)
130 http://en.wikipedia.org/wiki/Apple_Partition_Map
131
132 - add "move end" command to move end of the last primary/extended partition.
133 This feature seems very attractive to users who resizing their disks
134 (for example in virtual machines).
135
136 - use off_t instead "long long"
137
138 - catch SIGINT (Ctrl-C) and return to main menu.
139 From Red Hat bugzilla #545488:
140
141 While using fdisk normally, if you accidentally pressed the wrong button (to
142 start a sequence of questions for some operation, e.g. 'c' to create
143 partition). The tool tries too hard to keep asking you for valid input. You
144 can't provide a blank or invalid input to get it to break out of the current
145 dialog sequence and get back to the main menu.
146
147 misc
148 ----
149
150 - add mllockall() and SCHED_FIFO to hwclock,
151 see http://lkml.org/lkml/2008/10/12/132
152
153
154 ---------------
155 exotic requests
156 ---------------
157
158 - add SELinux security contexts support to the 'ipcs' utility
159 http://bugzilla.redhat.com/show_bug.cgi?id=225342
160
161 Would be great to list the current system IPC Objects with their respective
162 security labels (where allowed) with something like 'ipcs -Z' - following the
163 way other tools reports those.
164
165