Description of problem: fstab-sync is adding an ext3 partition as type ntfs. It correctly detects other ext3 partitions as ext3, and ntfs partitions as ntfs. Version-Release number of selected component (if applicable): hal-0.4.0-5 kernel-2.6.9-1.640 Steps to Reproduce: 1. Remove automatic entries from /etc/fstab 2. Reboot 3. Attempt to mount partition Actual results: mount fails with ntfs not supported. But partition is ext3 and should be mountable. /etc/fstab is incorrect: /dev/hdb1 /media/idedisk5 ntfs pamconsole,exec,noauto,managed 0 0 Expected results: Type should be ext3 instead of ntfs. Additional info: The fstype is being reported as ntfs by the lshal. The partition table type is the correct one.
Hi, thanks for reporting this - please, as root, shutdown the hal daemon (service haldaemon stop) and include the output of 'hald --daemon=no --verbose=yes' in this bug. For more information please see http://freedesktop.org/Software/HalTraces Thanks, David
Created attachment 105773 [details] hald verbose output
Created attachment 105774 [details] lshal output
Created attachment 105775 [details] fstab /dev/hdb1 is the partition that is being misidentified as ntfs.
I am pretty sure that this partition was ntfs before it was reformatted as ext3. I looked at the first sector and it is very similar to the first sector of the real NTFS partitions. My guess is that making the ext3 filesystem did not overwrite the first sector. mount is also detecting this partition as ntfs. Clearing the first sector causes hald to detect it as ext3.
I've flipped the probing order in hal to detect ext3 before ntfs; this should fix the issue. This fix is in hal-0.4.0-8 available from here http://people.redhat.com/davidz/dist/ and will hopefully make FC3.