Hi Karel, On Wed, Nov 27, 2024 at 12:56 PM Karel Zak <kzak@xxxxxxxxxx> wrote: > On Tue, Nov 26, 2024 at 02:50:38PM GMT, Johannes Berg wrote: > > On Mon, 2024-11-25 at 18:43 +0100, Karel Zak wrote: > > > The long-term solution would be to clean up hostfs and use named > > > variables, such as "mount -t hostfs none -o 'path="/home/hostfs"'. > > > > That's what Hongbo's commit *did*, afaict, but it is a regression. > > > > Now most of the regression is that with fsconfig() call it was no longer > > possible to specify a bare folder, and then we got discussing what > > happens if the folder name actually contains a comma... > > > > But this is still a regression, so we need to figure out what to do > > short term? > > I will add support for quotes for unnamed options, so that > "/home/hostfs,dir" will be treated as a single option for libmount. > > I am unsure how to resolve this issue without using quotes, as we need > a method to distinguish between a path with a comma and other options. Escape the comma using a backslash? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds