Subject: Re: How to grab a block of binary data w/out using ioctls?

From: Ben Greear <[email-masked]>
Date: Tue, 24 Oct 2006 19:25:48 -0700

Jeff Garzik wrote:
> On Mon, Oct 23, 2006 at 09:54:48PM -0700, Randy Dunlap wrote:
>   
>> Similarly, sysfs is desirable in some circumstances, but
>> not for blocks of binary data.
>>     
>
> sysfs specifically has APIs for binary data...
>   
 From reading the Documentation/filesystems/sysfs.txt, it seems like
it is not recommended that one use sysfs for anything other than
very simple (and single) attributes.

If you know of a piece of code that actually passes back a struct or
other binary blob of data, please point me to it so I can learn from it.

Thanks,
Ben

> 	Jeff

-- 
Ben Greear <[email-masked]> 
Candela Technologies Inc  http://www.candelatech.com