dracut bad --local description in usage():

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

 



Hi, 

--local is badly described. it states that when specified, modules will be searched for in current directory which is by far incomplete, missleading / wrong. 
When using this option, $dracutbasedir is set to current directory if (depending on version) dracut-init.sh (recent version) or dracut-functions (old version) is found. 
This means thatn not ONLY modules, BUT ALSO lib functions are searched in local directory. 
Thus, using the --local option will be ignored if the correct files (that are not modules) are not found in current working directory. 
Also modules are not searched in current directory but in ./modules.d/ sub directory. 

Whatever it is designed like this for technical reasons or even if it's a bug, the --local option description is wrong from old versions (CentOS-6 at least) to latest versions (fedora-25) and does absolutely not reflect the dracut behavior when --local option is used. 

Regards, 

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



[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux