[issue701] broken /etc/fstab entries with labels
Michael Prokop
bts at bts.grml.org
Fri Jun 26 11:58:03 CEST 2009
Michael Prokop <mika at grml.org> added the comment:
I could get debugging info:
+ for p in '$partitions'
+ addinfo=
+ fs=
+ mountpoint=
+ '[' -n '' ']'
+ '[' -n '' ']'
+ '[' -z '' ']'
+ check_for_label
+ '[' -x /lib/udev/vol_id ']'
++ /lib/udev/vol_id /dev/sdc1
+ PARTINFO='ID_FS_USAGE=filesystem
ID_FS_TYPE=vfat
ID_FS_VERSION=FAT32
ID_FS_UUID=4862-215E
ID_FS_UUID_ENC=4862-215E
ID_FS_LABEL=MIKAUSB
ID_FS_LABEL_ENC=MIKAUSB'
++ awk -F= '/ID_FS_LABEL=/ {print $2}'
++ /lib/udev/vol_id /dev/sdc1
+ label=MIKAUSB
+ case $label in
+ case $PARTINFO in
+ '[' -n MIKAUSB ']'
+ part=LABEL=MIKAUSB
+ addinfo=' # /dev/sdc1'
++ awk '-F ' '{s[$NF]++}END{for(i in s)if(s[i]>1)print s[i], "labels " i}' /tmp/
tmp.yOtRM0YvOG
+ warn='2 labels GRMLCFG'
++ awk '{print $3}'
++ echo 2 labels GRMLCFG
+ expr GRMLCFG = MIKAUSB
+ '[' -z '' -a -z 1 ']'
+ fs=auto
++ uniq
++ fstype /dev/sdc1
+ scanfs=vfat
+ '[' -n vfat ']'
+ fs=vfat
+ '[' vfat = swap ']'
+ '[' vfat = auto ']'
+ echo LABEL=MIKAUSB '' 'vfat # /dev/sdc1'
LABEL=MIKAUSB vfat # /dev/sdc1
Looks like the reason for the problem is the duplicated LABEL.
----------
messages: 2322, 2323
nosy: mika
priority: bug
status: chatting
title: broken /etc/fstab entries with labels
_____________________________________
GRML issue tracker <bts at bts.grml.org>
<http://bts.grml.org/grml/issue701>
_____________________________________
More information about the Bugs-changes
mailing list