depends command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi guys,

I've been thinking about implementing the "depends" configuration
command for the next release.

I've written a small specification for it, that could go into the
man-page for modprobe.d:

--------

depends _modulename_ _dependency1_ _dependency2_ ...

This command allows you to add one or more additional dependencies to a
module. *modprobe* will attempt to insert them in order, from left to
right, before dealing with _modulename_. If any dependency fails to
install, *modprobe* will stop, unless it was already in the kernel or
blacklisted.

*modprobe* treats each module as if it had been specified on the command
line. Thus, _modulename_ and any of the dependency names can be aliases
and the dependencies can have their own *depends* commands. *modprobe*
will stop if it finds a circular dependency.

------

Comments are very much welcomed. If you know of any useful synonyms for
"dependency" that'd be neat too. It's not that this text is meant to be
poetry, but some variety would be nice. :)

Thanks,
Andreas


--
To unsubscribe from this list: send the line "unsubscribe linux-modules" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux