Red Hat Bugzilla – Bug 241477
new code to mount VFAT by label causes erratic "duplicate label" failures
Last modified: 2007-11-16 20:14:55 EST
Description of problem:
If no label is found on a VFAT partition, the variable label is not touched at
all by the new code in mount/vfat.c. Consequently, mount thinks it has the same
label as the previous partition.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. create two consecutive partitions
2. create an ext3 filesystem and a label on the first partition
3. create a VFAT filesystem without label on the second
4. create an fstab entry to mount the first one by label
5. mount -a
# mount -a
mount: LABEL=... duplicate - not mounted
this should work (and it does if one uses dosfslabel on the VFAT fs)
This breaks existing dual boot systems. Not uncommon.
*** This bug has been marked as a duplicate of 240432 ***
The bug 240432 is not viewable by non-redhat employee's.
Can it be changed so it can be seen, or can the solution be posted to this bug
Created attachment 242391 [details]
bug fix patch