]> git.ipfire.org Git - thirdparty/util-linux.git/blame - TODO
wipefs: fix license (GPL -> GPLv2+)
[thirdparty/util-linux.git] / TODO
CommitLineData
a24f0ade
KZ
1libblkid
2--------
5d5ae40b 3
a24f0ade 4 - add command line interface for blkid_probe_filter_types():
5d5ae40b 5
a24f0ade 6 # blkid -p -o udev --filter-type nofat
279723e9 7
a24f0ade
KZ
8 - add -<BE|LE> suffix to test images for native-endian filesystems (e.g. swap)
9 and add support for such functionality to tests/ts/blkid/low-probe
5c94bacb 10
a24f0ade 11 - consolidate "getsize" stuff (see getsize.c and lib/blkdev.c)
f4a94b4b 12
a24f0ade
KZ
13 - add values:
14
15 FSSIZE -- filesystem size (klibc requirement)
16
a0fff7ce
KZ
17 - add reference counters to the binary interfaces. Currently, all chain
18 data are allocated in blkid_probe and cannot be used independently on
19 the probing stuff.
a24f0ade 20
a0fff7ce
KZ
21 blkid_topology tp = blkdi_probe_get_topology(pr)
22
23 blkid_ref(tp);
24 ...
25 blkid_unref(tp);
a24f0ade 26
ce7ca2aa
KZ
27blkid(8)
28
29 - add a new option (-r) that allows to print removable block devices that
30 are missing in /proc/partitions, see blkid_probe_all_removable().
31
435c73ec
KZ
32wipefs
33------
34
35 - some filesystem (namely FAT) contains more magic strings, so if you erase
36 one magic string the FS is still detectable by libblkid. We have to inform
37 users that there is more valid magic string for the same FS.
38
a24f0ade
KZ
39fdisk(s)
40--------
41
42 * use off_t instead "long long"
43
ef5d1feb
KZ
44 * catch SIGINT (Ctrl-C) and return to main menu.
45 From Red Hat bugzilla #545488:
46
47 While using fdisk normally, if you accidentally pressed the wrong button (to
48 start a sequence of questions for some operation, e.g. 'c' to create
49 partition). The tool tries too hard to keep asking you for valid input. You
50 can't provide a blank or invalid input to get it to break out of the current
51 dialog sequence and get back to the main menu.
52
a24f0ade
KZ
53 * fdisk/* refactoring
54
55 * add GPT support
56
57misc
58----
59
e1f2853a
KZ
60 * use ngettext() for strings with plurals, for example
61
62 /* include/nls.h */
63 #define P_(id, id_plural, n) ngettext(id, id_plural, n)
64
65 printf(P_("%d used sector",
66 "%d used sectors", sectors),
67 sectors);
68
8179a658
KZ
69 * check for program_invocation_short_name in ./configure.ac and add
70 lib/progname.c fallback for libc without this feature (for example
71 use the 1st field from /proc/#/cmdline)
4be0501b 72
8179a658 73 * use something better than gtk-doc (doxyden?)
3d24cec1 74
8f66fc25
KZ
75 * partx: copy sun.c, mac.c and dash.c from kpartx
76 git://git.kernel.org/pub/scm/linux/storage/multipath-tools/.git
77
66cb1233 78 * swapon -s -- LABELs support
b622c840 79
66cb1233
KZ
80 Although mkswap has recently been -L option to create a label nothing appears to
81 have been change to swapon to display said labels. (rh#430386)
883fff9f 82
a24f0ade 83 * use TZ=UTC for tests
74a9c6f7 84
a24f0ade 85 * add NLS and err.h stuff to schedutils (chrt.c, taskset.c)
d3bb3bc8 86
a24f0ade
KZ
87 * add mllockall() and SCHED_FIFO to hwclock,
88 see http://lkml.org/lkml/2008/10/12/132
89
d3bb3bc8 90 * use rpmatch() for all Y/N questions
f93a4afd 91
a830e5b3
KZ
92 * make chrt, taskset, ... threads aware. Currently these utils work with
93 group leader (master thread) and don't propagate requested changes to
94 the whole group of threads. It meas add a new option (e.g. -t):
95
96 chrt <prio> <pid> # master thread only
97 chrt -t <prio> <pid> # whole group of threads
98
99 Note that we need to scan /proc and call ched_set{scheduler,affinity}
100 syscalls for all individual threads.
101
102 * umount by label:
103 # mount LABEL=mylabel
104 # umount LABEL=mylabel
105
d3bb3bc8
KZ
106 * mount -a -- reorder fstab entries by paths before mount (just idea only)
107
108 * mount -a (just idea only)
8b0f4ae9 109
883fff9f
KZ
110 Date: Sun, 3 Jun 2007 18:04:24 +0300 (MET DST)
111 From: Szabolcs Szakacsits <szaka@sienet.hu>
8b0f4ae9 112
883fff9f
KZ
113 In the past the right record order could be figured out easily by just
114 checking out fstab (if one knew what to look for) but considering the
115 fastly increasing number of user space file systems and their usage, with
116 their path, library, etc dependencies, it's getting trickier and is a black
117 magic for most users because they simply expect drives to be mounted
118 independently of their order in fstab.
31cc369d 119
883fff9f 120 One typical, wrongly edited fstab example is:
8b0f4ae9 121
883fff9f
KZ
122 /dev/hda2 / ext3 defaults 1 1
123 /dev/hda1 /mnt/windows ntfs-3g defaults 0 0
124 /dev/hda3 /usr ext3 defaults 0 0
8b0f4ae9 125
883fff9f 126 The events:
1c51a368 127
883fff9f
KZ
128 mount -> /sbin/mount.ntfs-3g ->
129 -> resolves to <path1>/ntfs-3g via a symlink ->
130 -> ntfs-3g requires at least <path2>/libfuse*
131
132 There are many potential solutions. For example installing everything on
133 the root file system which may be needed for successful mount. But this
134 is not always feasible or practical since we could end up putting almost
135 everything on the root file system in the end.
136
137 Another idea is an improved mount strategy:
138
139 do {
140 try to mount all unmounted entries
141 } while (not all mounted && at least one new was successfully mounted)
09dd84ca 142
12318be4
KZ
143 * agetty: use nl_langinfo() for days and months rather than hardcoded
144 English names.
145
669eecf3
KZ
146 * rewrite ipcs to use /proc/sys/kernel rather than unreliable syscalls
147 (there are problems with 32bit userspace on 64bit kernel)
148
149 * minix v3
150
151 From: Matthias Koenig <mkoenig@suse.de>
152 Date: Tue, 25 Sep 2007 12:00:01 +0200
153
154 It seems that the kernel has support for minix fs v3
155 (though I have not tried it, just inspected some code when
156 trying to find a mkfs.minix issue).
157 It might be worth a thought implementing v3 support
158 (though I am not really sure how much people us minix fs ;-)
159 This might require some major code cleanup in mkfs.minix.
d3bb3bc8 160
8da18ddb
KZ
161 * rtcwake does not support wake from S5/off
162 http://bugzilla.redhat.com/show_bug.cgi?id=449115
163
164 * add SELinux security contexts support to the 'ipcs' utility
165 http://bugzilla.redhat.com/show_bug.cgi?id=225342
166
167 Would be great to list the current system IPC Objects with their respective
168 security labels (where allowed) with something like 'ipcs -Z' - following the
169 way other tools reports those.
170
171