]> git.ipfire.org Git - thirdparty/util-linux.git/blame - TODO
build-sys: fix libuuid and libblkid version-info
[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 - (?) we need to ignore cache and config files when the files are writable
9 for non-root users and the library is linked with suid programs
5c94bacb 10
a24f0ade
KZ
11 - add -<BE|LE> suffix to test images for native-endian filesystems (e.g. swap)
12 and add support for such functionality to tests/ts/blkid/low-probe
5c94bacb 13
a24f0ade
KZ
14 - do we really need to depend on libuuid? Maybe the default should be
15 use in-tree code rather and link against libuuid -- especially when we
16 need it for uuid_unparse() only.
f93a4afd 17
a24f0ade 18 - consolidate "getsize" stuff (see getsize.c and lib/blkdev.c)
f4a94b4b 19
a24f0ade 20 - cleanup __attribute__ usage
846baede 21
a24f0ade
KZ
22 - add stripe size / alignment retrival support to libbkid for use
23 with mkfs. This would allow to deprecate libdisk from xfsprogs (1)
24 in favour of a common libblkid.
25
26 [ -- Christoph Hellwig, 16 Feb 2009 ]
27 (1) http://git.kernel.org/?p=fs/xfs/xfsprogs-dev.git;a=tree;f=libdisk;
28
29 - use fstatat() in blkid__scan_dir()
30
31 - add values:
32
33 FSSIZE -- filesystem size (klibc requirement)
34
35 SBOFFSET -- superblock offset; offset where SB was detected
36 (swapon requirement to check details from swap header)
37
38 MAGIC -- magic string
39 MAGICLEN -- length of magic string
40
41fdisk(s)
42--------
43
44 * use off_t instead "long long"
45
46 * fdisk/* refactoring
47
48 * add GPT support
49
50misc
51----
52
53 * add a new command (unshare, clone, or so...) with all kinds of
54 clone(2) options.
55 http://thread.gmane.org/gmane.linux.utilities.util-linux-ng/2178
56
57 * add to lib/blkdev.c code for /proc/partitions parsing -- unfortunate we
58 duplicate this code in many places. The parser has to support unlimited
59 size (or 4096 bytes) of partition name.
3d24cec1 60
8f66fc25
KZ
61 * partx: copy sun.c, mac.c and dash.c from kpartx
62 git://git.kernel.org/pub/scm/linux/storage/multipath-tools/.git
63
a24f0ade
KZ
64 * mkswap: use /proc/sys/kernel/random/uuid as a fallback solution for builds
65 without libuuid
8f66fc25 66
66cb1233 67 * swapon -s -- LABELs support
b622c840 68
66cb1233
KZ
69 Although mkswap has recently been -L option to create a label nothing appears to
70 have been change to swapon to display said labels. (rh#430386)
883fff9f 71
a24f0ade 72 * use TZ=UTC for tests
74a9c6f7 73
a24f0ade 74 * add NLS and err.h stuff to schedutils (chrt.c, taskset.c)
d3bb3bc8 75
a24f0ade
KZ
76 * add mllockall() and SCHED_FIFO to hwclock,
77 see http://lkml.org/lkml/2008/10/12/132
78
d3bb3bc8 79 * use rpmatch() for all Y/N questions
f93a4afd 80
d3bb3bc8
KZ
81 * mount -a -- reorder fstab entries by paths before mount (just idea only)
82
83 * mount -a (just idea only)
8b0f4ae9 84
883fff9f
KZ
85 Date: Sun, 3 Jun 2007 18:04:24 +0300 (MET DST)
86 From: Szabolcs Szakacsits <szaka@sienet.hu>
8b0f4ae9 87
883fff9f
KZ
88 In the past the right record order could be figured out easily by just
89 checking out fstab (if one knew what to look for) but considering the
90 fastly increasing number of user space file systems and their usage, with
91 their path, library, etc dependencies, it's getting trickier and is a black
92 magic for most users because they simply expect drives to be mounted
93 independently of their order in fstab.
31cc369d 94
883fff9f 95 One typical, wrongly edited fstab example is:
8b0f4ae9 96
883fff9f
KZ
97 /dev/hda2 / ext3 defaults 1 1
98 /dev/hda1 /mnt/windows ntfs-3g defaults 0 0
99 /dev/hda3 /usr ext3 defaults 0 0
8b0f4ae9 100
883fff9f 101 The events:
1c51a368 102
883fff9f
KZ
103 mount -> /sbin/mount.ntfs-3g ->
104 -> resolves to <path1>/ntfs-3g via a symlink ->
105 -> ntfs-3g requires at least <path2>/libfuse*
106
107 There are many potential solutions. For example installing everything on
108 the root file system which may be needed for successful mount. But this
109 is not always feasible or practical since we could end up putting almost
110 everything on the root file system in the end.
111
112 Another idea is an improved mount strategy:
113
114 do {
115 try to mount all unmounted entries
116 } while (not all mounted && at least one new was successfully mounted)
09dd84ca 117
12318be4
KZ
118 * agetty: use nl_langinfo() for days and months rather than hardcoded
119 English names.
120
669eecf3
KZ
121 * rewrite ipcs to use /proc/sys/kernel rather than unreliable syscalls
122 (there are problems with 32bit userspace on 64bit kernel)
123
124 * minix v3
125
126 From: Matthias Koenig <mkoenig@suse.de>
127 Date: Tue, 25 Sep 2007 12:00:01 +0200
128
129 It seems that the kernel has support for minix fs v3
130 (though I have not tried it, just inspected some code when
131 trying to find a mkfs.minix issue).
132 It might be worth a thought implementing v3 support
133 (though I am not really sure how much people us minix fs ;-)
134 This might require some major code cleanup in mkfs.minix.
d3bb3bc8 135
8da18ddb
KZ
136 * rtcwake does not support wake from S5/off
137 http://bugzilla.redhat.com/show_bug.cgi?id=449115
138
139 * add SELinux security contexts support to the 'ipcs' utility
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