~ubuntu-branches/ubuntu/maverick/util-linux/maverick-security

« back to all changes in this revision

Viewing changes to TODO

Tags: 2.17-0ubuntu1
* Merge from Debian experimental, remaining changes:
  - Since udev is required in Ubuntu, the hwclock.sh init script is
    not called on startup and the hwclockfirst.sh init script is
    removed.
  - Remove /etc/adjtime on upgrade if it was not used.
  - Install custom blkid.conf to use /dev/.blkid.tab since we don't
    expect device names to survive a reboot
  - No lsb_release call in mount.preinst since we'd need Pre-Depends
    (LP: #383697).
  - Do not install initramfs hook, since our initramfs already handles
    including blkid.
  - Mention mountall(8) in fstab(5) manpages, along with its special
    options.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 
6
6
       # blkid -p -o udev --filter-type nofat
7
7
 
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
10
 
 
11
8
 - add -<BE|LE> suffix to test images for native-endian filesystems (e.g. swap)
12
9
   and add support for such functionality to tests/ts/blkid/low-probe
13
10
 
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.
17
 
 
18
11
 - consolidate "getsize" stuff (see getsize.c and lib/blkdev.c)
19
12
 
20
 
 - cleanup __attribute__ usage
21
 
 
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
13
 - add values:
32
14
 
33
15
        FSSIZE   -- filesystem size (klibc requirement)
34
16
 
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
 
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.
 
20
 
 
21
        blkid_topology tp = blkdi_probe_get_topology(pr)
 
22
 
 
23
        blkid_ref(tp);
 
24
        ...
 
25
        blkid_unref(tp);
40
26
 
41
27
fdisk(s)
42
28
--------
43
29
 
44
30
 * use off_t instead "long long"
45
31
 
 
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
 
46
41
 * fdisk/* refactoring
47
42
 
48
43
 * add GPT support
50
45
misc
51
46
----
52
47
 
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.
 
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
 
 
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)
 
60
 
 
61
 * use something better than gtk-doc (doxyden?)
60
62
 
61
63
 * partx: copy sun.c, mac.c and dash.c from kpartx
62
64
   git://git.kernel.org/pub/scm/linux/storage/multipath-tools/.git
63
65
 
64
 
 * mkswap: use /proc/sys/kernel/random/uuid as a fallback solution for builds 
65
 
   without libuuid
66
 
 
67
66
 * swapon -s  -- LABELs support
68
67
 
69
68
   Although mkswap has recently been -L option to create a label nothing appears to
78
77
 
79
78
 * use rpmatch() for all Y/N questions
80
79
 
 
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
 
81
94
 * mount -a -- reorder fstab entries by paths before mount (just idea only)
82
95
 
83
96
 * mount -a  (just idea only)