Skip to contentSkip to conversation

v2.22 wish list

DISCUSSION Karel Zak 5 participants 8 messages Feb 29, 2012 – Apr 11, 2012 1 message not in the archive Util-Linux package

lore
Share & tools
lore

Karel Zak

author maintainer
#0 lore raw

This is my v2.22 wish list. The list contains large/invasive tasks only. Comments, volunteers, .... ? ;-)

* release in May/Jun 2012

* add PARTUUID= and PARTLABEL= support to mount/fsck by partition UUID/LABEL
- add to libblkid blkid_evaluate_* API
- support in libmount
- add regression tests

* make uuidd (uuid daemon) compatible with systemd
- add --no-fork
- add --no-pid (pid file)
- add systemd unit file
- add #ifdef LIBUUID_EXEC_UUIDD to disable uuidd exec from library

* fdisk
- move mbr (dos) stuff to fdiskmbrlabel.c
- add GPT support

* clean up DBG() macro in libblkid
- see libmount version

* add dasd support to libblkid

* non-recursive build-system (now many files from lib/ are compileted more than once), see:
http://thread.gmane.org/gmane.linux.utilities.util-linux-ng/3297

* merge reject
Michal L. is working on this task
https://github.com/mluscon/util-linux/tree/eject

* ???

Signature · 2 lines
 Karel Zak  <[email protected]>
 http://karelzak.blogspot.com
#1 lore raw
Quoted 7 lines · Karel Zak

This is my v2.22 wish list. The list contains large/invasive tasks only. Comments, volunteers, .... ? ;-)

=C2=A0* release in May/Jun 2012

=C2=A0* add PARTUUID=3D and PARTLABEL=3D support to mount/fsck by partiti=

on UUID/LABEL

Quoted 4 lines

=C2=A0 - add to libblkid blkid_evaluate_* API
=C2=A0 - support in libmount
=C2=A0 - add regression tests

Waiting for a long time for this.

Quoted 10 lines

=C2=A0* make uuidd (uuid daemon) compatible with systemd =C2=A0 - add --no-fork
=C2=A0 - add --no-pid (pid file)
=C2=A0 - add systemd unit file
=C2=A0 - add #ifdef LIBUUID_EXEC_UUIDD to disable uuidd exec from library

=C2=A0* fdisk
=C2=A0 - move mbr (dos) stuff to fdiskmbrlabel.c
=C2=A0 - add GPT support

You can maybe merge gptfdisk with fdisk
http://gptfdisk.git.sourceforge.net/git/gitweb.cgi?p=3Dgptfdisk/gptfdisk;a=
=3Dsummary
.

Quoted 6 lines

=C2=A0* clean up DBG() macro in libblkid
=C2=A0 - see libmount version

=C2=A0* add dasd support to libblkid

=C2=A0* non-recursive build-system (now many files from lib/ are compilet=

ed

Quoted 4 lines

=C2=A0 more than once), see:
=C2=A0 http://thread.gmane.org/gmane.linux.utilities.util-linux-ng/3297

=C2=A0* merge reject

reject or eject - typo?

Quoted 13 lines

=C2=A0 Michal L. is working on this task =C2=A0 https://github.com/mluscon/util-linux/tree/eject

=C2=A0* ???

--
=C2=A0Karel Zak =C2=A0<[email protected]> =C2=A0http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to [email protected]
More majordomo info at =C2=A0http://vger.kernel.org/majordomo-info.html

author maintainer
#2 lore raw
Quoted 3 lines · Keshav P R
Quoted 1 line
Quoted 1 line

 * merge reject

reject or eject - typo?

ah, yes eject :-)

Karel

Signature · 2 lines
 Karel Zak  <[email protected]>
 http://karelzak.blogspot.com
#4 lore raw
In reply to a message not in the archive
CC mail list.

<sigh> why gmail does not alarm before sending, something like with attachments, 'it seems you are replying only to person who send the mail, did you mean replying to all?'

Quoted 95 lines · Sami Kerola
Quoted 2 lines · Karel Zak

This is my v2.22 wish list. The list contains large/invasive tasks only. Comments, volunteers, .... ? ;-)

[snip]

Quoted 3 lines

 * non-recursive build-system (now many files from lib/ are compileted more than once), see:
  http://thread.gmane.org/gmane.linux.utilities.util-linux-ng/3297

Hi Karel,

I gave a try to non-recursive build, and getting it to work took a bit work meaning changes here and there. I think the preview version below does what was asked, but in all honesty it is not ready be merged. The change needs to be split to reasonable chunks (now single big commit). Consider this as preview version. Please let me know if this looks good, and comments from also other than Karel are welcome. Assuming I'm on right track I'll finalize the patches before May.

The following changes since commit 04f087eced451ba00ac0cf1d9b101e3c6c7a322d:

 mountpoint: fix a minor bug with 0:0 devno (2012-02-29 14:53:31 +0100)

are available in the git repository at:

 git://github.com/kerolasa/lelux-utiliteetit.git non-rec-build

for you to fetch changes up to c016b9e1bd300d6346c31e524de7b73455289aa4:

 build-sys: make build non-recursive (2012-03-01 22:36:40 +0100)

----------------------------------------------------------------
Sami Kerola (1):
     build-sys: make build non-recursive

 Makefile.am                  |    5 +-
 config/include-Makefile.am   |    8 ---
 configure.ac                 |    2 +-
 disk-utils/Makefile.am       |   82 ++++++++++------------- fdisk/Makefile.am            |   29 ++++----
 fsck/Makefile.am             |    5 +-
 hwclock/Makefile.am          |    5 +-
 lib/.gitignore               |   14 +++-
 lib/Makefile.am              |   81 +++++++++++++++-------- lib/at.c                     |   43 ------------
 lib/blkdev.c                 |   38 ----------- lib/canonicalize.c           |   16 -----
 lib/cpuset.c                 |   77 ---------------------- lib/ismounted.c              |   25 -------
 lib/loopdev.c                |  149 ------------------------------------------ lib/mangle.c                 |   34 ----------
 lib/procutils.c              |   28 --------
 lib/strutils.c               |   28 --------
 lib/sysfs.c                  |   58 ---------------- lib/test_at.c                |   43 ++++++++++++ lib/test_blkdev.c            |   39 +++++++++++ lib/test_canonicalize.c      |   15 +++++
 lib/test_cpuset.c            |   78 ++++++++++++++++++++++ lib/test_ismounted.c         |   25 +++++++
 lib/test_loopdev.c           |  145 ++++++++++++++++++++++++++++++++++++++++ lib/test_mangle.c            |   33 ++++++++++ lib/test_procutils.c         |   27 ++++++++
 lib/test_strutils.c          |   26 ++++++++
 lib/test_sysfs.c             |   56 ++++++++++++++++ lib/test_tt.c                |   92 ++++++++++++++++++++++++++ lib/test_wholedisk.c         |   13 ++++
 lib/tt.c                     |   90 ------------------------- lib/wholedisk.c              |   14 ---- libblkid/docs/Makefile.am    |    2 +- libblkid/samples/Makefile.am |    2 +-

 libblkid/src/Makefile.am     |   24 +++----
 libmount/docs/Makefile.am    |    2 +-
 libmount/src/Makefile.am     |   22 +++----

 login-utils/Makefile.am      |   12 ++-- misc-utils/Makefile.am       |   72 +++++++------------- mount/Makefile.am            |   24 ++----- partx/Makefile.am            |   14 +--- schedutils/Makefile.am       |   14 ++-- sys-utils/Makefile.am        |   77 +++++++--------------- term-utils/Makefile.am       |    4 +- tests/helpers/Makefile.am    |    3 +- text-utils/Makefile.am       |   16 +++--

 47 files changed, 820 insertions(+), 891 deletions(-)

 create mode 100644 lib/test_at.c
 create mode 100644 lib/test_blkdev.c
 create mode 100644 lib/test_canonicalize.c
 create mode 100644 lib/test_cpuset.c
 create mode 100644 lib/test_ismounted.c
 create mode 100644 lib/test_loopdev.c
 create mode 100644 lib/test_mangle.c
 create mode 100644 lib/test_procutils.c
 create mode 100644 lib/test_strutils.c
 create mode 100644 lib/test_sysfs.c
 create mode 100644 lib/test_tt.c
 create mode 100644 lib/test_wholedisk.c

Signature · 2 lines
   Sami Kerola
   http://www.iki.fi/kerolasa/
author maintainer
#6 lore raw
In reply to Karel Zak
Quoted 3 lines · Karel Zak

This is my v2.22 wish list. The list contains large/invasive tasks only. Comments, volunteers, .... ? ;-)

I forgot one important item:

* add device-mapper support to partx to make it compatible with kpartx (then we can remove kpartx from distros...)

Karel

Signature · 2 lines
 Karel Zak  <[email protected]>
 http://karelzak.blogspot.com
#7 lore raw
In reply to Karel Zak
Quoted 5 lines · Karel Zak

* make uuidd (uuid daemon) compatible with systemd
- add --no-fork
- add --no-pid (pid file)
- add systemd unit file
- add #ifdef LIBUUID_EXEC_UUIDD to disable uuidd exec from library

Hi, JFYI (and to avoid duplicate work), I started on this:

https://github.com/knot/util-linux/tree/uuidd

Regards,

Petr

--
Petr Uzel
IRC: ptr_uzl @ freenode

#8 lore raw
In reply to Karel Zak
Quoted 2 lines · On Wednesday 29 February 2012 10:44:20 Karel Zak wrote:

This is my v2.22 wish list. The list contains large/invasive tasks only. Comments, volunteers, .... ? ;-)

how about merging killall5/pidof from sysvinit ?
-mike

author maintainer
#5 lore raw
In reply to Sami Kerola
Quoted 11 lines · Sami Kerola

CC: mail list.

Quoted 9 lines · Sami Kerola
Quoted 2 lines · Karel Zak

This is my v2.22 wish list. The list contains large/invasive tasks only. Comments, volunteers, .... ? ;-)

[snip]

Quoted 3 lines

 * non-recursive build-system (now many files from lib/ are compileted more than once), see:
  http://thread.gmane.org/gmane.linux.utilities.util-linux-ng/3297

I gave a try to non-recursive build, and getting it to work took a bit

In your implementation you're successfully resolved the problem with lib/*.c, but it's not non-recursive build.

The non-recursive build means that there is only one Makefile.am, so make(1) is able to optimize compilation and SMP machines. See the old discussion with Flameeyel for more details.

Your attempt could be a first step to make the build system more effective and maintainable. The second step (real non-recursive build) is more invasive.

Notes:

- we have SUID_{LDFLAGS,CFLAGS} so it would be better to have separate libcommon.la for suid utils

- please define on $top_builddir based $($ul_libcommon_la) rather than use everywhere ../lib/libcommon.la

Quoted 3 lines
Quoted 3 lines

work meaning changes here and there. I think the preview version below does what was asked, but in all honesty it is not ready be merged. The change needs to be split to reasonable chunks (now single big commit).

Yes :-)

Karel

Signature · 2 lines
 Karel Zak  <[email protected]>
 http://karelzak.blogspot.com