From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Behrens Date: Tue, 11 Nov 2008 14:29:43 +0000 Subject: LifeDrive filsystem probe fails [mjg59@srcf.ucam.org: Re: Message-Id: <20081111142943.GB18544@zigg.com> MIME-Version: 1 Content-Type: multipart/mixed; boundary="wq9mPyueHGvFACwf" List-Id: To: linux-hotplug@vger.kernel.org --wq9mPyueHGvFACwf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi there, The Palm LifeDrive and T|X have a "Drive Mode" functionality that exposes the onboard FAT32 partitions as USB drives. However, Palm's idea of what constitutes a FAT32 partition is a bit... weak. ;) Below are Matthew Garrett's insights on the filesystem probe failure from the hal list; he suggested I get in touch with the udev developers. I've made an image of a newly-formatted partition and posted it at http://launchpadlibrarian.net/19129151/sdb1.img.bz2 and the Ubuntu bug with more info can be found at https://bugs.launchpad.net/ubuntu/+source/hal/+bug/81219. It's unfortunately not enough to format the partition with mkdosfs or fsck it into compliance; the device will "fix" the partition at some point in the future rendering it unmountable again. (Thought you can force-mount it with a -t vfat.) ----- Forwarded message from Matthew Garrett ----- =46rom: Matthew Garrett To: Matt Behrens Subject: Re: LifeDrive and T|X not seen by hal Ok. The following things appear to be causing the failure: 1) The FAT signature in bytes 510 and 511 isn't present. This causes the=20 code to bail. 2) The FAT32 signature in the fsinfo block isn't present. This causes=20 the code to bail. 3) The loop looking for the root dir appears to jump out past the code=20 that sets the filesystem label. This results in it ignoring the UUID=20 and filesystem name. You probably need to get in touch with the udev developers to get this=20 fixed - I'm not sure which of these checks could result in false=20 positives unless care is taken. Once libvolume_id is fixed hal should=20 just work. --=20 Matthew Garrett | mjg59@srcf.ucam.org _______________________________________________ hal mailing list hal@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/hal ----- End forwarded message ----- --wq9mPyueHGvFACwf Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFJGZbX+xq4JbgNGlMRAvgRAKCi4BeCpAvNuzi4Wwf50kUA97uXpACfRqcK EoUHDWC7WROyiweP40vAJMQ= =fvPn -----END PGP SIGNATURE----- --wq9mPyueHGvFACwf--