Re: dm: Allow the use of escaped characters in str_field_delimit()
From: Mikulas Patocka
Date: Fri Jan 03 2025 - 11:21:35 EST
On Sun, 15 Dec 2024, Mohammed Anees wrote:
> > It would seem Mohammed cared enough to write the patch, but not reply
> > to you with further clarification on why it needed...
>
> I thought I had already replied to the concern, but it seems
> the message didn’t get sent, apologies for that oversight!
> College academics kept me tied up, and I lost track of this,
> apologies once again.
>
> > BUT, in this instance it follows that: if lvm2 is allowing weird names
> > which require escacped characters _and_ dm-init is used then dm-init
> > needs to support handling them (dm-init is all about _not_ using
> > normal initramfs with lvm2 in all its glory).
>
> I completely agree with your point and am more than happy to
> provide further details or make any additional updates to
> the patch if needed, please let me know if anything else if needed.
> Thank you for your time.
>
> Regards
> Mohammed Anees
Hi
I don't want to bloat the code with the logic that no one uses. I would
only accept the patch if there were some real scenario where you need to
use escaped characters in device names or table parameters.
Mikulas