Re: [PATCH] ABI: Clarify when /sys/module/MODULENAME is created

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

 



Jean Delvare <khali@xxxxxxxxxxxx> writes:
> /sys/module/MODULENAME is not created unconditionally. This can be
> confusing so document the current conditions.

Applied.

Thanks,
Rusty.

>
> Signed-off-by: Jean Delvare <khali@xxxxxxxxxxxx>
> Cc: Rusty Russell <rusty@xxxxxxxxxxxxxxx>
> Cc: Rob Landley <rob@xxxxxxxxxxx>
> ---
>  Documentation/ABI/stable/sysfs-module |   10 +++++++---
>  1 file changed, 7 insertions(+), 3 deletions(-)
>
> --- linux-3.10-rc3.orig/Documentation/ABI/stable/sysfs-module	2013-04-29 02:36:01.000000000 +0200
> +++ linux-3.10-rc3/Documentation/ABI/stable/sysfs-module	2013-05-30 10:57:01.027421770 +0200
> @@ -4,9 +4,13 @@ Description:
>  
>  	/sys/module/MODULENAME
>  		The name of the module that is in the kernel.  This
> -		module name will show up either if the module is built
> -		directly into the kernel, or if it is loaded as a
> -		dynamic module.
> +		module name will always show up if the module is loaded as a
> +		dynamic module.  If it is built directly into the kernel, it
> +		will only show up if it has a version or at least one
> +		parameter.
> +
> +		Note: The conditions of creation in the built-in case are not
> +		by design and may be removed in the future.
>  
>  	/sys/module/MODULENAME/parameters
>  		This directory contains individual files that are each
>
>
> -- 
> Jean Delvare
--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux