Re: udf LABEL= handling broken

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 06, 2016 at 10:43:48AM +0200, Olaf Hering wrote:
> (Assuming util-linux is used to create broken /dev/disk/by-label/*)
> 
> It seems Win7 handles only up to 11 chars as volume name for a disk
> partition. According to this diff of xxd -a output it puts the length
> after the actual string block. blkid ignores the lenght and uses
> whatever is in the string block as LABEL=. For some reason the string is
> stored twice in the metadata.  The first attempt was volume name 'abcd',
> the second uses the full 11 chars.

It's so tricky with UDF.. it depends if there is also iso9660, what
identifier is set etc. See

 https://github.com/karelzak/util-linux/blob/master/libblkid/src/superblocks/udf.c#L126

it would be nice to have more information, at least blkid -p output.
Maybe also try another udf tools.

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux