On 06/05/2016:05:49:09 PM, Xunlei Pang wrote:
What about the one in my following reply, calls get_persistent_dev()
to do a conversion on $_target?
That is fine to get new target and file system. But, I was talking about parsing
dracut argument and finding old FS and target. I have just a beginner level
knowledge of shell scripting, however it seems to me that all the complexity of
current patch will shift there, and that would still be complex.
I am not sure if target type and file system type is always at same offset in
dracut arguments. If they aren't then parsing might not be trivial.
~Pratyush