VFAT Volume Labels
Kay Sievers
kay.sievers at vrfy.org
Thu Jan 6 03:35:32 PST 2005
On Thu, 2005-01-06 at 02:42 -0700, joeny at softhome.net wrote:
> Hi all,
>
> I have FAT32 partitions on my drive and upon adding the appropriate
> lines to fstab, I was able to successfully mount the partitions.
>
> Now under Gnome, double-clicking on the desktop Computer icon, the
> partitions shows up as the following:
>
> 10G Hard Drive
> 20G Hard Drive
> 9.5G Hard Drive
>
> Mounting them resulted to:
>
> 10G Hard Drive: 10G Media
> 20G Hard Drive: 20G Media
> 9.5G Hard Drive: 9.5G Media
>
> Wasn't it supposed to display the drive's volume labels after the
> colons? The labels are properly set under Windows 98SE.
>
> On my computer at home, I get something like '??ty??_?K?' as the
> volume label on one of my FAT32 partition? But if I removed the label
> (LABEL.EXE), I get NO NAME. Any suggestions on how to fix this?
>
> Thanks!
>
> Joeny
>
> AMD Duron 1100
> Fedora Core 3
> Kernel 2.6.9-1.681
> Gnome 2.8.0
> hal-0.4.2-1.FC3
> udev-039-10.FC3.6
Please post the relevant output of:
hald --daemon=no --verbose=yes
it should print something like that:
12:34:02.922 [I] linux/volume_id/volume_id.c:2017: called with size=0x3e6b000
12:34:02.922 [I] linux/volume_id/volume_id.c:202: get buffer off 0x3e50000, len 0x800
12:34:02.924 [I] linux/volume_id/volume_id.c:237: read seekbuf off:0x3e50000 len:0x800
12:34:02.931 [I] linux/volume_id/volume_id.c:241: got 0x800 (2048) bytes
12:34:02.931 [I] linux/volume_id/volume_id.c:202: get buffer off 0x400, len 0x800
12:34:02.933 [I] linux/volume_id/volume_id.c:213: read sbbuf len:0xc00
12:34:02.940 [I] linux/volume_id/volume_id.c:216: got 0xc00 (3072) bytes
12:34:02.940 [I] linux/volume_id/volume_id.c:202: get buffer off 0x0, len 0x800
12:34:02.942 [I] linux/volume_id/volume_id.c:202: get buffer off 0x1200, len 0x200
12:34:02.943 [I] linux/volume_id/volume_id.c:213: read sbbuf len:0x1400
12:34:02.951 [I] linux/volume_id/volume_id.c:216: got 0x1400 (5120) bytes
12:34:02.951 [I] linux/volume_id/volume_id.c:202: get buffer off 0x0, len 0x200
12:34:02.953 [I] linux/volume_id/volume_id.c:906: sector_size 0x200
12:34:02.954 [I] linux/volume_id/volume_id.c:907: sectors_per_cluster 0x1
12:34:02.956 [I] linux/volume_id/volume_id.c:911: reserved 0x20
12:34:02.957 [I] linux/volume_id/volume_id.c:916: sect_count 0x1f358
12:34:02.959 [I] linux/volume_id/volume_id.c:921: fat_length 0x3d8
12:34:02.960 [I] linux/volume_id/volume_id.c:926: dir_size 0x0
12:34:02.962 [I] linux/volume_id/volume_id.c:930: cluster_count 0x1eb88
12:34:02.963 [I] linux/volume_id/volume_id.c:987: root dir cluster 2
12:34:02.965 [I] linux/volume_id/volume_id.c:998: next cluster 2
12:34:02.966 [I] linux/volume_id/volume_id.c:1001: cluster offset 0xfa000
12:34:02.968 [I] linux/volume_id/volume_id.c:202: get buffer off 0xfa000, len 0x200
12:34:02.969 [I] linux/volume_id/volume_id.c:237: read seekbuf off:0xfa000 len:0x200
12:34:02.976 [I] linux/volume_id/volume_id.c:241: got 0x200 (512) bytes
12:34:02.976 [I] linux/volume_id/volume_id.c:1010: expected entries 0x10
12:34:02.978 [I] linux/volume_id/volume_id.c:1024: found ATTR_VOLUME id in root dir
12:34:02.979 [I] linux/block_class_device.c:108: volume.fsusage = 'filesystem'
12:34:02.981 [I] linux/block_class_device.c:111: volume.fstype = 'vfat'
12:34:02.982 [I] linux/block_class_device.c:114: volume.fsversion = 'FAT32'
12:34:02.984 [I] linux/block_class_device.c:117: volume.uuid = 'E845-7A89'
12:34:02.985 [I] linux/block_class_device.c:119: volume.label = 'VRFY'
Thanks,
Kay
_______________________________________________
hal mailing list
hal at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/hal
More information about the Hal
mailing list