]> git.ipfire.org Git - thirdparty/util-linux.git/blame - Documentation/TODO
dmesg: use $PAGER for --human output, add --nopager
[thirdparty/util-linux.git] / Documentation / TODO
CommitLineData
0cbeee27 1
b1883029 2 Note that items with (!) have high priority.
0cbeee27 3
0b359bcd
KZ
4lscpu
5-----
6 - detect more hypervisors, see 'virt-what' shell script
7 http://people.redhat.com/~rjones/virt-what/
8
d9d88e31
KZ
9minix (fsck, mkfs)
10------------------
11
12 - clean up types -- use ino_t, size_t and ssize_t
13
b1883029
KZ
14libmount (mount/umount)
15-----------------------
01df6eeb 16
b1883029 17 Note that the old mount/[u]mount.c code is in MAINTENANCE MODE only. All new
1340d433
KZ
18 features should be implemented to libmount or to the new sys-utils/{mount,umount}.c
19 utils.
20
21 - add options to control fstab/mtab mount options usage, something like:
22
23 --options-mode={ignore,append,prepend,replace} MNT_OMODE_{IGNORE, ...}
24 --options-source={fstab,mtab,disable} MNT_OMODE_{FSTAB,MTAB,NOTAB}
25 --options-source-force MNT_OMODE_FORCE
26
27 (all this already supported by libmount)
01df6eeb 28
66388d95
KZ
29 - support MS_PROPAGATION flags in fstab -- note that kernel assumes that
30 these flags are not mixed with another mount flags, it means that:
31
32 /dev/sda1 /mnt/foo auto ro,shared
33
34 has be implemented by two syscalls:
35
36 mount("/dev/sda1", "/mnt/foo", "ext4", MS_RDONLY, NULL);
37 mount(NULL, "/mnt/foo", "none", MS_REMOUNT|MS_SHARED, NULL);
38
39 yeah, there is race ;-(
40
2daef873
KZ
41 - (!) on systems with regular mtab file it is impossible to umount by "umount
42 /dev/loop0" if the loop device has been created by "mount -o loop", because
43 there is backing file in the mtab (instead of the device name).
44
45 Now we have all necessary information in /sysfs so it should be possible to
46 translate the device name to backing file and then search in mtab for the
47 filename. See loopdev_get_loopfile().
48
11d92f34
KZ
49libblkd and libmount
50--------------------
b1883029
KZ
51
52 - use __attribute__((notnull)) and __attribute__((warn_unused_result))
455fe9a0 53 Note that the code has to be useful for non-gcc compilers too.
b1883029 54
28297408
KZ
55partx
56-----
57
4231bffe
KZ
58 - support mapping by device-mapper if argv[0] is "kpartx" or --dm option is used.
59
b1883029
KZ
60 - (!) add regression tests for partx, addpart and delpart
61
62
63docs
64----
65
66 - (!) use something better than gtk-doc for libmount and libblkid (doxyden?)
67
68 - (!) add API documentation to libuuid
28297408 69
4231bffe 70
19a9d0b7
KZ
71lib/tt.c
72--------
73
74 - allows to sort columns, for example sort lsblk(8) output by SIZE
75
a4f4cc75
KZ
76login-utils:
77-----------
78
ff0cb84d 79 - (!) merge newgrp from shadow-utils
a4f4cc75 80
a24f0ade
KZ
81libblkid
82--------
5d5ae40b 83
4633cc95
KZ
84 - improve DBG() debug macro, see new imeplemntation in libmount/src/mountP.h
85
c9f51c71
KZ
86 - (!) don't use internally blkid_loff_t, rather use off_t, size_t, ssize_t,
87 stdint.h types and so on...
88
28fed5d6 89 - add FSSIZE value -- filesystem size (klibc requirement)
a24f0ade 90
b1883029 91 - (!) add support for dasd PT (used for example on s390)
f2813fce 92
a24f0ade
KZ
93fdisk(s)
94--------
95
838b8e0f
KZ
96 - add to "First sector" dialog a line with information about available
97 gaps (free areas) to make it more user friendly if you want to skip
98 any useless (small) areas between existing partitions.
99 See https://bugzilla.redhat.com/show_bug.cgi?id=715114
100
b1883029 101 - add "move end" command to move end of the last primary/extended partition.
d8fb986b
KZ
102 This feature seems very attractive to users who resizing their disks
103 (for example in virtual machines).
104
b1883029 105 - sfdisk rounds to cylinders is -uM (megabyte units) is specified, this is
f2813fce
KZ
106 pretty stupid feature. It has to round to sectors if -uS or -uM is specified.
107
b1883029 108 - Sun label support is completely useless for large disks, it uses number of
4d6cb488
KZ
109 cylinders from on-disk-label where the geometry is stored by int16 values.
110 It seems better to completely ignore this stuff from the label and always
111 use geometry + BLKGETSIZE64 from kernel.
112
b1883029 113 - use off_t instead "long long"
a24f0ade 114
b1883029 115 - catch SIGINT (Ctrl-C) and return to main menu.
ef5d1feb
KZ
116 From Red Hat bugzilla #545488:
117
118 While using fdisk normally, if you accidentally pressed the wrong button (to
119 start a sequence of questions for some operation, e.g. 'c' to create
120 partition). The tool tries too hard to keep asking you for valid input. You
121 can't provide a blank or invalid input to get it to break out of the current
122 dialog sequence and get back to the main menu.
123
b1883029 124 - fdisk/* refactoring (probably implement libfdisk ???)
a24f0ade 125
b1883029 126 - add GPT support (probably implement libfdisk ???)
a24f0ade
KZ
127
128misc
129----
130
b1883029 131 - add mllockall() and SCHED_FIFO to hwclock,
a24f0ade
KZ
132 see http://lkml.org/lkml/2008/10/12/132
133
19a9d0b7
KZ
134
135---------------
136exotic requests
137---------------
138
b1883029 139 - add SELinux security contexts support to the 'ipcs' utility
8da18ddb
KZ
140 http://bugzilla.redhat.com/show_bug.cgi?id=225342
141
142 Would be great to list the current system IPC Objects with their respective
143 security labels (where allowed) with something like 'ipcs -Z' - following the
144 way other tools reports those.
145
146