wok-4.x view hal/stuff/hal-udev.patch @ rev 2126

ntfs-3g: update /etc/filesystems
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 01 12:23:00 2009 +0000 (2009-02-01)
parents
children
line source
1 --- hal-0.5.11/hald/linux/blockdev.c 2008-05-08 01:23:41.000000000 +0200
2 +++ hal-0.5.11.new/hald/linux/blockdev.c 2008-10-26 17:21:21.317075298 +0100
3 @@ -1750,11 +1750,11 @@
4 char *ret;
5 char *u_stdout;
6 int u_exit_status;
7 - const char *argv[] = {"/usr/bin/udevinfo", "--root", "--query", "name", "--path", NULL, NULL};
8 + const char *argv[] = {"/sbin/udevadm", "info", "--root", "--query", "name", "--path", NULL, NULL};
9 GError *g_error;
11 ret = NULL;
12 - argv[5] = sysfs_path;
13 + argv[6] = sysfs_path;
15 g_error = NULL;
17 --- hal-0.5.11/hald/linux/coldplug.c 2008-05-08 01:23:32.000000000 +0200
18 +++ hal-0.5.11.new/hald/linux/coldplug.c 2008-10-26 17:20:38.451808974 +0100
19 @@ -149,8 +149,8 @@
20 static gboolean
21 hal_util_init_sysfs_to_udev_map (void)
22 {
23 - char *udevdb_export_argv[] = { "/usr/bin/udevinfo", "-e", NULL };
24 - char *udevroot_argv[] = { "/usr/bin/udevinfo", "-r", NULL };
25 + char *udevdb_export_argv[] = { "/sbin/udevadm", "info", "-e", NULL };
26 + char *udevroot_argv[] = { "/sbin/udevadm", "info", "-r", NULL };
27 int udevinfo_exitcode;
28 UdevInfo *info = NULL;
29 char *p;