mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
zdev: Introduce --no-module-load option for chzdev
When called with a device parameter, chzdev tries to load the kernel module of the corresponding device type. This might not be desired in certain situations like early initial RAM-disk processing. To support this use cases, add a new command-line option --no-module-load to prevent the loading of any kernel module by chzdev. Suggested-by: Peter Oberparleiter <oberpar@linux.ibm.com> Signed-off-by: Vineeth Vijayan <vneethv@linux.ibm.com> Reviewed-by: Peter Oberparleiter <oberpar@linux.ibm.com> Signed-off-by: Steffen Eiden <seiden@linux.ibm.com>
This commit is contained in:
committed by
Steffen Eiden
parent
0356d78bc2
commit
d1bf9e68c6
@@ -636,6 +636,15 @@ option unless chzdev is run in an environment where udev is not fully
|
||||
functional (such as in the early phase of an initial RAM disk).
|
||||
.PP
|
||||
.
|
||||
.OD no-module-load "" ""
|
||||
Do not load kernel modules during chzdev execution.
|
||||
|
||||
In some situations \fBchzdev\fR will attempt to load kernel modules to
|
||||
complete a configuration action. This behavior may be undesirable in some
|
||||
scenarios. The \fB\-\-no-module-load\fR option suppresses kernel module loading
|
||||
during \fBchzdev\fR execution.
|
||||
.PP
|
||||
.
|
||||
.OD persistent "p" ""
|
||||
Apply changes to persistent configuration only.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user