Red Hat Bugzilla – Bug 145834
hal makes fstab 'vfat' for /media/usbdisk
Last modified: 2013-03-05 22:42:40 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5)
Gecko/20041111 Firefox/1.0 StumbleUpon/1.999
Description of problem:
hal has /media/usbdisk in fstab set to 'vfat' rather than 'auto'.
using a card with an ext2 filesystem hal mounted it as vfat but when
fstab was changed to 'auto' it mounted correctly
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.insert a CF card with ext2 filesystem into a usb cardreader
2. mount /media/usbdisk
3. run 'mount' to see that it has mounted it as vfat rather than ext2
Please give the output of
dd if=/dev/sda1 bs=512 count=1 |hexdump -C
where you should replace /dev/sda1 with the device file of the CF
card. You need to do this as root.
This bug probably stems from the fact that the first sector of your partition
with an ext2 filesystem contains a VFAT signature (ext2 signatures start at
offset 0x0400 IIRC) - so it's probably a bug with your disk formatting software.
You can fix this by doing a 'dd if=/dev/zero of=/dev/sda1 bs=512 count=1' with
the usual disclaimers; if it breaks you get to keep both pieces etc.
Feel free to reopen this bug if there isn't a VFAT signature in the first sector
(what I asked for in comment 1).