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

_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to