busybox/util-linux
Timo Teräs 78fdf4d22d mkfs.vfat: fix volume label to be padded with space
The specification requires volume label to be space padded.

Latest fsck.vfat will remove the zero padded volume label
as invalid. See also:
https://github.com/dosfstools/dosfstools/issues/172

Make the default label also "NO NAME" which has the special meaning
that label is not set.

function                                             old     new   delta
mkfs_vfat_main                                      1470    1502     +32
static.NO_NAME_11                                      -      12     +12
.rodata                                           104309  104318      +9
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 2/0 up/down: 53/0)               Total: 53 bytes

Signed-off-by: Timo Teräs <timo.teras@iki.fi>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2022-01-23 23:07:07 +01:00
..
2020-08-13 17:12:56 +02:00
2021-06-16 17:00:56 +02:00
2021-06-14 20:47:20 +02:00
2020-08-13 17:12:56 +02:00
2020-08-13 17:12:56 +02:00
2020-08-13 17:12:56 +02:00
2021-10-10 14:32:05 +02:00
2020-08-13 17:12:56 +02:00
2021-06-13 03:51:55 +02:00
2020-08-13 17:12:56 +02:00
2021-09-16 01:09:32 +02:00
2020-12-13 19:18:28 +01:00
2021-06-17 13:45:13 +02:00
2021-10-08 14:30:50 +02:00
2020-08-13 17:12:56 +02:00
2021-06-13 03:51:55 +02:00
2020-12-18 04:12:51 +01:00
2020-08-13 17:12:56 +02:00
2021-06-13 03:51:55 +02:00
2021-06-15 10:00:18 +02:00
2021-08-22 00:08:18 +02:00
2020-08-13 17:12:56 +02:00
2020-12-18 04:12:51 +01:00
2020-08-13 17:12:56 +02:00
2021-08-15 20:41:18 +02:00
2020-12-18 04:12:51 +01:00
2020-12-18 04:12:51 +01:00