[Bug 466178] Bootable USB stick not mounted automatically
http://bugzilla.novell.com/show_bug.cgi?id=466178 User nice@titanic.nyme.hu added comment http://bugzilla.novell.com/show_bug.cgi?id=466178#c3 --- Comment #3 from Tamás Németh <nice@titanic.nyme.hu> 2009-10-14 10:33:06 MDT --- OK, I have some new experiences. The symptom is related to the fact that hald cannot create an appropriate entry describing the volume (/dev/sdb1 on the USB stick). Instead of an entry such as /org/freedesktop/Hal/devices/volume_uuid_45E7_069B it can only create on like /org/freedesktop/Hal/devices/volume_part1_size_2062058496. And this is related to that udev cannot create a symlink to /dev/sdb1 in /dev/disk/by-uuid And this is because /sbin/blkid -o udev -p /dev/sdb1 recognizes the volume as a raid member instead of a standalone volume bearing a filesystem: milleniumfalcon:~ # /sbin/blkid -o udev -p /dev/sdb1 ID_FS_VERSION=74.74 ID_FS_TYPE=jmicron_raid_member ID_FS_USAGE=raid Running /sbin/blkid -u filesystem -o udev -p /dev/sdb1 leads to an accpteble result: milleniumfalcon:~ # /sbin/blkid -u filesystem -o udev -p /dev/sdb1 ID_FS_LABEL=BackTrack3 ID_FS_LABEL_ENC=BackTrack3 ID_FS_UUID=4912-D6CF ID_FS_UUID_ENC=4912-D6CF ID_FS_VERSION=FAT32 ID_FS_TYPE=vfat ID_FS_USAGE=filesystem And in fact, the problem can be eliminated by modifying /lib/udev/rules.d/60-persistent-storage.rules: # probe filesystem metadata of disks KERNEL!="sr*", IMPORT{program}="/sbin/blkid -u noraid -o udev -p $tempnode" instead of # probe filesystem metadata of disks KERNEL!="sr*", IMPORT{program}="/sbin/blkid -o udev -p $tempnode" Solves my problem. I don't know anything about udev/hal/dbus, but I think "-u noraid" MUST NOT be applied to openSUSE 11.2. So, the problem's root is that when I instaled backtrack 3, some garbage was applied to the volume which causes blkid to misdetect the type of the volume. Like for this guy: http://www.spinics.net/lists/util-linux-ng/msg02530.html Can you reproduce it by installing BackTrack 3 to an USB stick with a FAT32 filesystem? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com