Am 19.11.24 um 16:56 schrieb Filip Schauer: > Ensure potentially unsafe characters in the partition label are encoded, > preventing the installer from failing to find the answer partition when > the label contains whitespaces or !"$%&'()*,/;<>?[\]^`{|}~ > > The encoding is done according to `blkid_encode_string` [0] in the blkid > util, which is used by `/lib/udev/rules.d/60-persistent-storage.rules` > to create a symlink under `/dev/disk/by-label/`. > > For example: "ANSWER PART" is encoded to "ANSWER\x20PART" > > [0] https://github.com/util-linux/util-linux/blob/master/libblkid/src/encode.c > > Signed-off-by: Filip Schauer <f.scha...@proxmox.com> > Tested-by: Christoph Heiss <c.he...@proxmox.com> > --- > Changed since v1: > * Log the non-encoded label instead of the encoded one when a partition > is found. > > .../src/fetch_plugins/partition.rs | 22 ++++++++++++++++--- > 1 file changed, 19 insertions(+), 3 deletions(-) > >
applied, thanks! _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel