Re: No human readable message with g_vfs

From: Matthias Andree <matthias.andree_at_gmx.de>
Date: Mon, 03 Jan 2011 14:16:37 +0100
Am 03.01.2011 14:14, schrieb Ivan Voras:
> On 12/29/10 11:32, David Demelier wrote:
>> Hello,
>>
>> Sometimes when I use my external harddrive I get these awful message :
>>
>> g_vfs_done():da1[WRITE(offset=34590720, length=65536)]error = 5
>> /var/log/messages.1.bz2:Dec 21 18:36:07 Abricot kernel:
>> g_vfs_done():da1[WRITE(offset=34656256, length=65536)]error = 5
>> /var/log/messages.1.bz2:Dec 21 18:36:07 Abricot kernel:
>> g_vfs_done():da1[WRITE(offset=34721792, length=65536)]error = 5
>> /var/log/messages.1.bz2:Dec 21 18:36:07 Abricot kernel:
>> g_vfs_done():da1[WRITE(offset=34787328, length=65536)]error = 5
>> /var/log/messages.1.bz2:Dec 21 18:36:07 Abricot kernel:
>> g_vfs_done():da1[WRITE(offset=34852864, length=65536)]error = 5
>> /var/log/messages.1.bz2:Dec 21 22:50:28 Abricot kernel:
>> g_vfs_done():ufs/public[WRITE(offset=244271529984, length=16384)]error
>> = 5
>> /var/log/messages.1.bz2:Dec 21 22:50:28 Abricot kernel:
>> g_vfs_done():ufs/public[READ(offset=244563705856, length=131072)]error
>> = 5
>> /var/log/messages.5.bz2:Nov 29 16:36:52 Abricot kernel:
>> g_vfs_done():ufs/public[READ(offset=232718991360, length=131072)]error
>> = 5
>>
>> I think for a lambda user these are absolutely not understandable. I
> 
> Would a better message be "WRITE error on da0, offset=34590720.
> length=65536, errno=5"?

nah, strerror(errno) isn't that much of an effort
Received on Mon Jan 03 2011 - 12:43:21 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:10 UTC