Bug 8226

Summary: mount CONFIG_FEATURE_MOUNT_LABEL doesn't support vfat labels
Product: Busybox Reporter: Matthew Starr <mstarr>
Component: OtherAssignee: unassigned
Status: NEW ---    
Severity: normal CC: busybox-cvs, mstarr
Priority: P5    
Version: 1.23.x   
Target Milestone: ---   
Hardware: Other   
OS: Linux   
Host: Target:
Build:

Description Matthew Starr 2015-07-17 14:12:16 UTC
The following line in the /etc/fstab does not work with LABEL when trying to run 'mount /boot':
LABEL=boot /boot vfat ro 0 0

The partition was created and label set using the following command (using busybox mkfs.vfat):
mkfs.vfat -n boot /dev/mmcblk0p1

Using LABEL= with ext2 and ext4 mount points works fine.

The following busybox options are configured related to mount and vfat:
CONFIG_MOUNT=y
CONFIG_FEATURE_MOUNT_LABEL=y
CONFIG_FEATURE_MOUNT_FLAGS=y
CONFIG_FEATURE_MOUNT_FSTAB=y
CONFIG_VOLUMEID=y
CONFIG_FEATURE_VOLUMEID_FAT=y

Switching to the util-linux mount made the same /etc/fstab vfat entry result in a successful mount.

Additionally blkid doesn't even show the vfat partition when run.