Can you send me the first 64k of the device?   i.e.:

sudo dd if=/dev/sdb5 of=/tmp/jfs.img bs=64k count=1

And then upload /tmp/jfs.img

I have no doubt that moving the JFS-related entry before the VFAT entry
will solve the problem, but the probe_fat_nomagic() does a lot of tests
before concluding that the filesystem is VFAT.  This leads me to believe
that /dev/sdb5 was previously formatted as VFAT, and the JFS mkfs didn't
do enough to eradicate the traces of the old VFAT partition.  The
problem is that there is a much weaker test for JFS, so this could lead
to false positives in the other direction.   (i.e., a JFS filesystem
which is then formatted to be a VFAT partition.)  So I'd like to get a
copy of the beginning of the filesystem to see if there's a better fix.

My guess is the other problem is that mkfs.jfs needs to do a better job
wiping out the first few kilobytes of the image to prevent this kind of
false positive.

-- 
blkid library detects JFS partition as FAT32
https://bugs.launchpad.net/bugs/255255
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to