Bug 8226 - mount CONFIG_FEATURE_MOUNT_LABEL doesn't support vfat labels
Summary: mount CONFIG_FEATURE_MOUNT_LABEL doesn't support vfat labels
Status: NEW
Alias: None
Product: Busybox
Classification: Unclassified
Component: Other (show other bugs)
Version: 1.23.x
Hardware: Other Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-17 14:12 UTC by Matthew Starr
Modified: 2015-07-17 14:12 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.