[FS#1283] block info returns additional charactes in FAT32 label name

LEDE Bugs lede-bugs at lists.infradead.org
Fri Feb 9 02:53:53 PST 2018


The following task has a new comment added:

FS#1283 - block info returns additional charactes in FAT32 label name
User who did this - Jo-Philipp Wich (jow-)

----------
Hm I guess that other implemenations right-trim the spaces from the label for convenience reasons. I do recall that FAT labels are sometimes displayed as "foo" and sometimes as "foo        " by various tools and operating systems.

For maximal compatibility we likely should trim both user provided and blkid provided fat labels before working with them.
----------

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=1283#comment4287



More information about the lede-bugs mailing list