summaryrefslogtreecommitdiffstats
path: root/libs/blkid/TODO
blob: 1d0a67eeab113d867de37e7bbb7a9c205ca86b73 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54

 TODO
 ----

 - add command line interface for blkid_probe_filter_types():

       # blkid -p -o udev --filter-type nofat

 - (?) we need to ignore cache and config files when the files are writable
   for non-root users and the library is linked with suid programs

 - add -<BE|LE> suffix to test images for native-endian filesystems (e.g. swap)
   and add support for such functionality to tests/ts/blkid/low-probe

 - do we really need to depend on libuuid? Maybe the default should be
   use in-tree code rather and link against libuuid -- especially when we
   need it for uuid_unparse() only.

 - consolidate "getsize" stuff (see getsize.c and lib/blkdev.c)

 - cleanup __attribute__ usage

 - add stripe size / alignment retrival support to libbkid for use
   with mkfs.  This would allow to deprecate libdisk from xfsprogs (1)
   in favour of a common libblkid.

   [ -- Christoph Hellwig, 16 Feb 2009 ]
   (1) http://git.kernel.org/?p=fs/xfs/xfsprogs-dev.git;a=tree;f=libdisk;

   [ .. or move whole libdisk to util-linux-ng and merge partx code to the 
     library -- kzak ]

 - use /sys/block/<devname>/dm/name rather than scan /dev/mapper/ for the name
   (see devname.c: probe_one()). The sysfs entry has been introduced by kernel
   patch 784aae735d9b0bba3f8b9faef4c8b30df3bf0128.

 - in lib/fsprobe.c wrapper use blkid_parse_tag_string() rather than a local
   parser implementation

 - use fstatat() in blkid__scan_dir()

 - add evaluate.c: blkid_evaluate_tag_to_buffer() (and add lib/canonicalize.c:
   canonicalize_path_to_buffer())

 - add values:

	FSSIZE   -- filesystem size (klibc requirement)

	SBOFFSET -- superblock offset; offset where SB was detected 
                    (swapon requirement to check details from swap header)

        MAGIC    -- magic string
	MAGICLEN -- length of magic string