[Rear-users] output of hal

Jeroen Hoekx jeroen.hoekx at hamok.be
Fri Dec 17 16:03:06 CET 2010


On 17 December 2010 15:35, Gratien D'haese <gratien.dhaese at it3.be> wrote:
> hi all,
> I wonder if the following works on all distro's (RHEL, SLES, Ubuntu,...)
> lshal | grep "^udi" | cut -d/ -f2- | cut -d"'" -f1 | while read hal; do
> lshal -l -u "/$hal"; done

It works for now, but HAL will be replaced by udev, udisks and upower
in the near future. I don't know if it's still a good idea to write
extra functionality that depends on HAL...

This will give you similar information using udev:
udevadm info --export-db


Just my opinion,


> Could be useful to write into our $VAR_DIR/hal as it contains all kind of
> interesting info on the source system.
> We could grab afterwards after the info we need...
> best regards,
> Gratien D'haese
> IT3 Consultants bvba
> Fredericusstraat 48, B-2640 Mortsel
> ------------------------------------------------------------------------------
> Lotusphere 2011
> Register now for Lotusphere 2011 and learn how
> to connect the dots, take your collaborative environment
> to the next level, and enter the era of Social Business.
> http://p.sf.net/sfu/lotusphere-d2d
> _______________________________________________
> Rear-users mailing list
> Rear-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/rear-users

More information about the rear-users mailing list