On 02/11/23 19:18, Éric Deschamps via lpi-examdev wrote:
Hello,

Le 25/10/2023 à 10:26, Werner Heuser via lpi-examdev a écrit :
Hi,
here are my 2 cents:
https://wiki.lpi.org/wiki/LPIC-2_Objectives_V5.0#Objectives:_Exam_201 <https://wiki.lpi.org/wiki/LPIC-2_Objectives_V5.0#Objectives:_Exam_201>
201.1
remove rmmod, insmod because modprobe can do better
remove udevmonitor - udevadm monitor can do

I totally agree


I beg to differ here.

Debian, package kmod    30+20221128-1:

lrwxrwxrwx 1 root root 9 10 dic  2022 /sbin/modprobe -> /bin/kmod
lrwxrwxrwx 1 root root 9 10 dic  2022 /sbin/rmmod -> /bin/kmod
lrwxrwxrwx 1 root root 9 10 dic  2022 /sbin/modinfo -> /bin/kmod
lrwxrwxrwx 1 root root 9 10 dic  2022 /sbin/insmod -> /bin/kmod
lrwxrwxrwx 1 root root 4 10 dic  2022 /usr/bin/lsmod -> kmod

Rocky Linux, package kmod-25-19.el8.x86_64:

lrwxrwxrwx. 1 root root 11 18 apr  2022 /usr/sbin/modprobe -> ../bin/kmod
lrwxrwxrwx. 1 root root 11 18 apr  2022 /usr/sbin/rmmod -> ../bin/kmod
lrwxrwxrwx. 1 root root 11 18 apr  2022 /usr/sbin/modinfo -> ../bin/kmod
lrwxrwxrwx. 1 root root 11 18 apr  2022 /usr/sbin/insmod -> ../bin/kmod
lrwxrwxrwx. 1 root root 11 18 apr  2022 /usr/sbin/lsmod -> ../bin/kmod

Why should just modprobe be retained?

It is not accurate to state that "modprobe can do better" because it is not modprobe that actually does the work, it's kmod.

If modprobe must be retained because of it's historical significance, then I think that lsmod, modinfo and rmmod must be retained for the same reason.

Otherwise it's kmod that should be on the stage basking in the limelight.


Alessandro


Attachment: OpenPGP_0x0B0C681E8D9C1603.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

_______________________________________________
lpi-examdev mailing list
[email protected]
https://list.lpi.org/mailman/listinfo/lpi-examdev

Reply via email to