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