diff options
author | Timo Teräs | 2022-01-21 13:17:00 +0200 |
---|---|---|
committer | Denys Vlasenko | 2022-01-23 23:07:07 +0100 |
commit | 78fdf4d22d578d5d51cc08c768b35d050a92902a (patch) | |
tree | 5f8f343f582001baaea4fcbbe3dbc115860bee00 /console-tools/resize.c | |
parent | 6dd6a6c42d1465d8cca2539476f6bffd5e1353dd (diff) | |
download | busybox-78fdf4d22d578d5d51cc08c768b35d050a92902a.zip busybox-78fdf4d22d578d5d51cc08c768b35d050a92902a.tar.gz |
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>
Diffstat (limited to 'console-tools/resize.c')
0 files changed, 0 insertions, 0 deletions