Package: util-linux Version: 2.17.2-9 Severity: normal 1. For interoperability reason, I created a UDF parititon on *hard disk* with mkudffs, like this:
dd if=/dev/zero of=/dev/sda3 bs=512 mkudffs -b 512 --media-type=hd --vid=thisismylabel /dev/sda3 2. To make sure the label was written, I did dd if=/dev/sda3 bs=1M count=10 | strings | grep thisismylabel which returned success (I limited the search to be at most 10MB to save time). 3. But then the command blkid /dev/sda3 *only* reported the filesystem type. /dev/sda3: TYPE="udf" which was wrong because I expected it to report the LABEL. The correct output should be /dev/sda3: LABEL="thisismylabel" TYPE="udf" 4. Using a block size of 1024 for mkudffs (-b 1024) yielded the same wrong result. 5. However using a block size of 2048 yielded the *correct* result. blkid *did* return the label. -- System Information: Debian Release: 6.0.4 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core) Locale: LANG=en_HK.UTF-8, LC_CTYPE=en_HK.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages util-linux depends on: ii debconf [debconf-2.0] 1.5.36.1 Debian configuration management sy ii dpkg 1.15.8.12 Debian package management system ii initscripts 2.88dsf-13.1 scripts for initializing and shutt ii install-info 4.13a.dfsg.1-6 Manage installed documentation in ii libblkid1 2.17.2-9 block device id library ii libc6 2.11.3-3 Embedded GNU C Library: Shared lib ii libncurses5 5.7+20100313-5 shared libraries for terminal hand ii libselinux1 2.0.96-1 SELinux runtime shared libraries ii libslang2 2.2.2-4 The S-Lang programming library - r ii libuuid1 2.17.2-9 Universally Unique ID library ii lsb-base 3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip ii tzdata 2011n-0squeeze1 time zone and daylight-saving time ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime util-linux recommends no packages. Versions of packages util-linux suggests: ii dosfstools 3.0.9-1 utilities for making and checking ii kbd 1.15.2-2 Linux console font and keytable ut pn util-linux-locales <none> (no description available) -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org