VFAT Volume Labels

Fredrik Nilsson jymdman at home.se
Thu Jan 6 16:08:42 PST 2005


On tor, 2005-01-06 at 21:18 +0100, Kay Sievers wrote:

> > I have the same problem with my Lacie 250 GB usb harddrive.
> > On my XP box the name is Lacie, but on my ubuntu box the name is NO
> > NAME.
> 
> > 14:27:52.214 [I] linux/volume_id/volume_id.c:906: sector_size 0x200
> > 14:27:52.214 [I] linux/volume_id/volume_id.c:907: sectors_per_cluster 0x40
> 
> Huh, hell, 32kb clustersize. We are not prepared for this. :)
> 
> Any chance to try the following patch? If not I can send you a small
> standalone application which will read and print the label on the commandline.
> 
> diff -u -p -r1.45.2.1 volume_id.c
> --- hald/linux/volume_id/volume_id.c    22 Nov 2004 21:53:50 -0000      1.45.2.1
> +++ hald/linux/volume_id/volume_id.c    6 Jan 2005 20:11:39 -0000
> @@ -78,7 +78,7 @@
>  /* size of superblock buffer, reiserfs block is at 64k */
>  #define SB_BUFFER_SIZE                         0x11000
>  /* size of seek buffer 4k */
> -#define SEEK_BUFFER_SIZE                       0x1000
> +#define SEEK_BUFFER_SIZE                       0x10000
> 
> The whole cluster with the directory list should fit into the read buffer.
> If this fixes the problem I will think about the "right fix" for it.
> 
> Thanks,
> Kay
> 

Hi,

Please send a standalone app...
I don't want to mess up my system with an own built hal.

/Fredrik

_______________________________________________
hal mailing list
hal at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/hal



More information about the Hal mailing list