The correct option for label name in fat and vfat is '-n'
The code in mkfs correctly extends the command line with a '-n' for
vfat but does not currently do it for fat. This means that mkfs for
fat ends up with a '-L' which is what you'd do for everything like
ext[234].
The change just treats fat like vfat in the one place where this check
is required.
Reviewed: https:/ /review. openstack. org/481787 /git.openstack. org/cgit/ openstack/ diskimage- builder/ commit/ ?id=59f416ae208 2b026497d3b46cc 805e3906553cec
Committed: https:/
Submitter: Jenkins
Branch: master
commit 59f416ae2082b02 6497d3b46cc805e 3906553cec
Author: Amrith Kumar <email address hidden>
Date: Fri Jul 7 22:26:48 2017 -0400
The correct option for label name in fat and vfat is '-n'
The code in mkfs correctly extends the command line with a '-n' for
vfat but does not currently do it for fat. This means that mkfs for
fat ends up with a '-L' which is what you'd do for everything like
ext[234].
The change just treats fat like vfat in the one place where this check
is required.
Change-Id: If65dfd949acdad ff33a564640fb42 ea73026a786
Closes-Bug: #1703063