2011-07-21 10:45:04 -05:00
|
|
|
|
2011-07-28 06:16:31 -05:00
|
|
|
Note that items with (!) have high priority.
|
2011-07-21 10:45:04 -05:00
|
|
|
|
2018-02-07 03:36:28 -06:00
|
|
|
cleanup lib/path.c: [Karel Zak for v2.33]
|
2016-11-07 03:19:16 -06:00
|
|
|
------------------
|
2016-03-18 06:05:51 -05:00
|
|
|
- always return rc from all functions
|
|
|
|
- introduce control struct and use openat() from top-level path
|
|
|
|
(e.g. top-level is /proc, etc)
|
2018-02-07 03:36:28 -06:00
|
|
|
- use lib/path.c as low-level API for lib/sysfs.c
|
2016-03-18 06:05:51 -05:00
|
|
|
- now we duplicate code in functions like {path,sysfs}_read_u32, etc.
|
|
|
|
- it would be also nice to have a way how to redirect sysfs.c functions
|
|
|
|
to /sys snapshots (e.g. lsblk regression tests)
|
|
|
|
|
2016-03-22 04:26:35 -05:00
|
|
|
|
|
|
|
lscpu
|
|
|
|
-----
|
|
|
|
- read cpuid and uname information from file if --sysroot is specified, then
|
|
|
|
we can prepare regression tests completely independent on hw and architecture.
|
|
|
|
|
2015-08-13 04:49:20 -05:00
|
|
|
lsblk
|
|
|
|
-----
|
|
|
|
- currently it does not show mountpoint for all devices in btrfs RAID. It's because
|
|
|
|
/proc/#/mountinfo contains reference to the one device only. Maybe we can add some
|
|
|
|
btrfs specific code to provide a better output for FS based stacks. Not sure.
|
|
|
|
https://bugzilla.redhat.com/show_bug.cgi?id=1084453
|
|
|
|
|
2014-10-21 07:24:00 -05:00
|
|
|
agetty
|
|
|
|
-----
|
|
|
|
- support default issue (/etc/issue) output for agetty to make it agetty
|
|
|
|
usable on systems with empty /etc.
|
|
|
|
|
|
|
|
This change is little bit controversial, because now agetty prints nothing
|
|
|
|
by default and it's probably used by admins to hide information about the
|
|
|
|
system to unauthorized users. We already have --noissue to disable issue
|
|
|
|
output. The question is if admins use this option, "rm /etc/issue" is
|
|
|
|
probably easer than modify inittab (or systemd unit file).
|
|
|
|
|
|
|
|
Maybe we can implement it by --enable-agetty-default-issue compile option and
|
|
|
|
move the decision to downstream maintainers ;-)
|
|
|
|
|
2014-07-29 06:17:35 -05:00
|
|
|
nsenter(1)
|
|
|
|
----------
|
|
|
|
- read the default UID and GID from the target process.
|
|
|
|
http://thread.gmane.org/gmane.linux.utilities.util-linux-ng/9553/focus=9585
|
|
|
|
|
2013-03-26 07:48:25 -05:00
|
|
|
hwlock
|
|
|
|
------
|
|
|
|
- use /var/lib/hwclock/drift to store hw-clock drift numbers.
|
|
|
|
- use /etc/adjtime as read-only for UTC/LOCAL information only
|
|
|
|
- the /var/lib/hwclock/drift should be implemented backwardly compatible,
|
|
|
|
it means use the file only if exists, otherwise follow /etc/adjtime
|
|
|
|
|
2013-03-18 11:07:39 -05:00
|
|
|
bash completion
|
|
|
|
---------------
|
2013-03-26 15:54:47 -05:00
|
|
|
- Optional argument handling requires user to press backspace to get
|
2013-04-07 03:12:07 -05:00
|
|
|
argument completion.
|
2013-03-26 15:54:47 -05:00
|
|
|
- Comma separated value, e.g., --output 'value1,value2', are not
|
|
|
|
completed for users.
|
2013-03-18 11:07:39 -05:00
|
|
|
|
2011-07-28 06:16:31 -05:00
|
|
|
libmount (mount/umount)
|
|
|
|
-----------------------
|
2011-03-03 15:57:27 -06:00
|
|
|
|
2018-02-07 04:37:32 -06:00
|
|
|
- add --onlyonce to force mount(8) to check if mountpoint is already used. Now
|
|
|
|
"already mounted" detection is used for --all only. The problem is if you
|
|
|
|
call "mount <mountpoint>" more than once for in fstab defined tmpfs (or network
|
|
|
|
filesystem etc.). In this case kernel does not return EBUSY, but a new instance
|
|
|
|
of the FS is created. https://github.com/karelzak/util-linux/issues/448
|
|
|
|
|
2017-08-22 04:22:26 -05:00
|
|
|
- support CAP_SYS_ADMIN; for mount(2) syscall the CAP_SYS_ADMIN is good
|
|
|
|
enough. Unfortunately, mount(8) does more things like check for filesystem
|
|
|
|
type (but it's usually done by udev, so root perms are unnecessary), create
|
|
|
|
loop devices, write to /run/mount/utab or /etc/mtab, etc.
|
|
|
|
|
|
|
|
It would be nice to improve libmount to check for CAP_SYS_ADMIN if suid not
|
|
|
|
set and allow to use it for simple tasks where no another operation is
|
|
|
|
necessary.
|
|
|
|
|
2015-08-13 04:41:49 -05:00
|
|
|
- allow to execute mount(2) in another namespace, something like:
|
|
|
|
mount --namespace=/proc/$n/ns/mnt /dev/sda2 /bar
|
|
|
|
see https://bugzilla.redhat.com/show_bug.cgi?id=1199554 for more details.
|
|
|
|
|
2012-02-23 05:31:31 -06:00
|
|
|
- add options to control fstab/mtab mount options usage, something like:
|
|
|
|
|
|
|
|
--options-mode={ignore,append,prepend,replace} MNT_OMODE_{IGNORE, ...}
|
|
|
|
--options-source={fstab,mtab,disable} MNT_OMODE_{FSTAB,MTAB,NOTAB}
|
|
|
|
--options-source-force MNT_OMODE_FORCE
|
|
|
|
|
|
|
|
(all this already supported by libmount)
|
2011-03-03 15:57:27 -06:00
|
|
|
|
2014-06-25 07:04:20 -05:00
|
|
|
|
2011-05-05 07:56:53 -05:00
|
|
|
partx
|
|
|
|
-----
|
|
|
|
|
2011-05-30 10:22:07 -05:00
|
|
|
- support mapping by device-mapper if argv[0] is "kpartx" or --dm option is used.
|
|
|
|
|
2011-07-28 06:16:31 -05:00
|
|
|
|
|
|
|
docs
|
|
|
|
----
|
|
|
|
|
|
|
|
- (!) use something better than gtk-doc for libmount and libblkid (doxyden?)
|
|
|
|
|
|
|
|
- (!) add API documentation to libuuid
|
2011-05-05 07:56:53 -05:00
|
|
|
|
2017-09-27 04:25:08 -05:00
|
|
|
exit codes
|
|
|
|
----------
|
|
|
|
|
|
|
|
- we need coreutils-like exit codes for failed exec(). See:
|
|
|
|
https://www.spinics.net/lists/util-linux-ng/msg12776.html
|
|
|
|
and original attempt:
|
|
|
|
https://github.com/karelzak/util-linux/pull/311
|
2011-05-30 10:22:07 -05:00
|
|
|
|
2010-11-30 06:28:46 -06:00
|
|
|
login-utils:
|
|
|
|
-----------
|
|
|
|
|
2013-03-18 11:07:39 -05:00
|
|
|
- consolidate newgrp(1)
|
|
|
|
* we have "su --group/--supp-group" to switch between groups, newgrp(1) in
|
|
|
|
util-linux and shadow-utils (and sg(1) alias in shadow-utils)
|
|
|
|
* the unique functionality provided by newgpr(1) is support for group
|
|
|
|
passwords [/etc/gshadow] -- do we really need this functionality?
|
|
|
|
* maybe we can mark group-passwords as deprecated, and replace sg(1) and
|
|
|
|
newgpr(1) with su(1) code. The another way is to ask fro group password in
|
|
|
|
su --group too.
|
|
|
|
* note that shadow-utils newgpr(1) provides support for syslog and audit log.
|
2010-11-30 06:28:46 -06:00
|
|
|
|
2017-08-14 05:09:50 -05:00
|
|
|
|
2009-06-26 02:23:23 -05:00
|
|
|
libblkid
|
|
|
|
--------
|
2009-04-29 07:46:21 -05:00
|
|
|
|
2011-08-02 06:29:29 -05:00
|
|
|
- (!) don't use internally blkid_loff_t, rather use off_t, size_t, ssize_t,
|
|
|
|
stdint.h types and so on...
|
|
|
|
|
2010-10-07 10:57:35 -05:00
|
|
|
- add FSSIZE value -- filesystem size (klibc requirement)
|
2009-06-26 02:23:23 -05:00
|
|
|
|
2011-07-28 06:16:31 -05:00
|
|
|
- (!) add support for dasd PT (used for example on s390)
|
2010-08-10 02:06:29 -05:00
|
|
|
|
2014-06-25 04:39:30 -05:00
|
|
|
libfdisk
|
|
|
|
--------
|
2013-10-16 04:08:18 -05:00
|
|
|
|
2014-06-25 04:39:30 -05:00
|
|
|
- add support for Apple Partition Map (see libblkid/src/partitions/mac.c)
|
|
|
|
http://en.wikipedia.org/wiki/Apple_Partition_Map
|
|
|
|
|
2009-06-26 02:23:23 -05:00
|
|
|
misc
|
|
|
|
----
|
|
|
|
|
2011-07-28 06:16:31 -05:00
|
|
|
- add mllockall() and SCHED_FIFO to hwclock,
|
2009-06-26 02:23:23 -05:00
|
|
|
see http://lkml.org/lkml/2008/10/12/132
|
|
|
|
|
2011-02-17 09:30:52 -06:00
|
|
|
|
|
|
|
---------------
|
|
|
|
exotic requests
|
|
|
|
---------------
|
|
|
|
|
2011-07-28 06:16:31 -05:00
|
|
|
- add SELinux security contexts support to the 'ipcs' utility
|
2008-12-02 07:27:37 -06:00
|
|
|
http://bugzilla.redhat.com/show_bug.cgi?id=225342
|
|
|
|
|
|
|
|
Would be great to list the current system IPC Objects with their respective
|
|
|
|
security labels (where allowed) with something like 'ipcs -Z' - following the
|
|
|
|
way other tools reports those.
|
|
|
|
|
|
|
|
|