[Bug 211110] New: blkid prints LABEL= info for FAT filesystems
https://bugzilla.novell.com/show_bug.cgi?id=211110 Summary: blkid prints LABEL= info for FAT filesystems Product: openSUSE 10.2 Version: Alpha 5 Platform: PowerPC OS/Version: Linux Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: mkoenig@novell.com ReportedBy: olh@novell.com QAContact: qa@suse.de I'm almost sure FAT has no LABEL info. current blkid prints unininitialized memory: inst-sys:~ # blkid | xxd 0000000: 2f64 6576 2f68 6461 323a 2053 4543 5f54 /dev/hda2: SEC_T 0000010: 5950 453d 226d 7364 6f73 2220 4c41 4245 YPE="msdos" LABE 0000020: 4c3d 2220 2020 2020 2020 2020 2020 4641 L=" FA 0000030: 5431 3620 2020 0e1f be5b 7cac 22c0 740b T16 ...[|.".t. 0000040: 56b4 0ebb 0722 2055 5549 443d 2234 3437 V...." UUID="447 0000050: 332d 3046 3637 2220 5459 5045 3d22 7666 3-0F67" TYPE="vf 0000060: 6174 2220 0a2f 6465 762f 646d 2d30 3a20 at" ./dev/dm-0: 0000070: 5459 5045 3d22 7377 6170 2220 0a2f 6465 TYPE="swap" ./de 0000080: 762f 646d 2d31 3a20 5555 4944 3d22 3264 v/dm-1: UUID="2d 0000090: 3837 6435 6666 2d37 6161 622d 3435 6538 87d5ff-7aab-45e8 00000a0: 2d39 6562 622d 3634 3339 3662 6162 3662 -9ebb-64396bab6b 00000b0: 6634 2220 4c41 4245 4c3d 2273 6e6f 7762 f4" LABEL="snowb 00000c0: 6572 7279 2d72 6f6f 7422 2054 5950 453d erry-root" TYPE= 00000d0: 2272 6569 7365 7266 7322 200a "reiserfs" . inst-sys:~ # -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=211110 mkoenig@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=211110 ------- Comment #1 from mkoenig@novell.com 2006-10-10 09:15 MST ------- FAT has a 11 character label at offset 0x47 (FAT32) or 0x2b (FAT16 and FAT12) from start of BPB (BIOS Parameter Block). The handling of zero length labels (0x20 does not count) is broken in blkid. If it calls blkid_strndup to create a copy of the label with given length 0, it tries to compute the string length of the label, which does not give a useful result, because of the missing '\0' character. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=211110 ------- Comment #2 from mkoenig@novell.com 2006-10-10 09:17 MST ------- Created an attachment (id=101129) --> (https://bugzilla.novell.com/attachment.cgi?id=101129&action=view) Fix for zero length labels -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=211110 mkoenig@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |ast@novell.com ------- Comment #3 from mkoenig@novell.com 2006-10-18 08:47 MST ------- Ok, I use a different patch now which has already been in upstream repository. Fixed in stable. Do we want to fix this for other products? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=211110 Olaf Hering <olh@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Found By|Other |Development -- Configure bugmail: https://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