get_hal_sysfs_path

Richard Hughes hughsient at gmail.com
Thu Mar 1 14:11:37 PST 2007


On 01/03/07, Kay Sievers <kay.sievers at vrfy.org> wrote:
> A define would be good enough, I think, the "real" binary is probably
> nothing we could make a test case with, and need to compile a special
> version anyway.

David is quite keen on hardcoding these, for which a patch is attached.

 hald/linux/acpi.c         |   35 +++++++++++------------------------
 hald/linux/apm.c          |    7 ++-----
 hald/linux/blockdev.c     |    5 ++---
 hald/linux/coldplug.c     |   32 ++++++++------------------------
 hald/linux/device.c       |   11 ++++-------
 hald/linux/hotplug.c      |    2 +-
 hald/linux/osspec.c       |   32 ++------------------------------
 hald/linux/osspec_linux.h |    4 ----
 hald/linux/pmu.c          |   18 ++++++------------
 9 files changed, 36 insertions(+), 110 deletions(-)

lshal is the same for me before and after patch, although this
probably needs a review.

Richard.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal_remove_sysfs_and_proc_helpers.patch
Type: text/x-patch
Size: 17398 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20070301/6d34ef08/hal_remove_sysfs_and_proc_helpers-0001.bin


More information about the hal mailing list