Re: [PATCH] Add --moddir to depmod and modprobe to override the target directory

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

 



On Fri, Feb 28, 2014 at 12:43 PM, Andy Lutomirski <luto@xxxxxxxxxxxxxx> wrote:
> Currently, depmod and modprobe can only use directories of the form
> ROOT/lib/modules/VERSION, where ROOT and VERSION can be specified on
> the command line.  Additionally, when used with explicitly-listed
> modules depmod requires absolute paths, making it difficult to
> generate a nonstandard module layout without symlink hacks and
> absolute paths.
>
> This lifts both restrictions with a new --moddir option.  --moddir
> specifies an exact directory name and, when --moddir is used, depmod
> will accept relative module paths on the command line.

Will an approach like this be okay (possibly with further changes) or
do I need to find some hack to get existing depmod and modprobe
binaries to work?

--Andy
--
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