[Patch 4/5] w1: sysfs, select-slave, ds2433

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jean,

Is there a preferred format?

"23 6c dc 1c 00 00 00 43"
or
"236cdc1c00000043"
or
"0x23 0x6c 0xdc 0x1c 0x00 0x00 0x00 0x43"
Or, since it can be thought of as a 64 bit number
"0x236cdc1c00000043"

I prefer the last one.

Thanks,
Ben

-----Original Message-----
From: Jean Delvare [mailto:khali at linux-fr.org] 
Sent: Thursday, June 30, 2005 4:09 PM
To: Gardner, Ben
Cc: Evgeniy Polyakov; LM Sensors
Subject: Re:  [Patch 4/5] w1: sysfs, select-slave, ds2433

Hi Ben,

> w1-slave-sysfs.diff
> Every slave now has at least two sysfs files:
>  - id : an 8 byte binary file that holds the 64 bit id
>    example: [23 6c dc 1c 00 00 00 43]

I see no reason why this should be a binary file. Please make it a text
file. Binary files in sysfs are supposed to be an exception, not the
rule.

Thanks,
-- 
Jean Delvare






[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux