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