https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202289

            Bug ID: 202289
           Summary: mdconfig -l outputs nothing if filename of vnode
                    backed disk has unsafe characters
           Product: Base System
           Version: 10.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: mmam...@mail.ru

"mdconfig -l" outputs nothing when there are vnode disks with '&' in filenames.
I suppose this occurs because g_md_dumpconf() doesn't escapse unsafe characters
in filenames:
...
if (mp->type == MD_VNODE && mp->vnode != NULL)
            sbuf_printf(sb, "%s<file>%s</file>\n",
                indent, mp->file);

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to