diff options
author | jmcneill <jmcneill@pkgsrc.org> | 2009-01-18 13:53:33 +0000 |
---|---|---|
committer | jmcneill <jmcneill@pkgsrc.org> | 2009-01-18 13:53:33 +0000 |
commit | 295fcec1f526563ec1eeadf7f83ffc80fb84f40d (patch) | |
tree | 34c0273e75ebe07c516d0679bb96d8410d341c50 /sysutils/hal/files | |
parent | 4246245400ec302ad64ae924542945b3a55390d0 (diff) | |
download | pkgsrc-295fcec1f526563ec1eeadf7f83ffc80fb84f40d.tar.gz |
Optical media handling needs block.storage_device too; add this to
improve KDE4 compatibility. Bump PKGREVISION.
Diffstat (limited to 'sysutils/hal/files')
-rw-r--r-- | sysutils/hal/files/hald-netbsd/devinfo_optical.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sysutils/hal/files/hald-netbsd/devinfo_optical.c b/sysutils/hal/files/hald-netbsd/devinfo_optical.c index 26a9ec81309..53abb029060 100644 --- a/sysutils/hal/files/hald-netbsd/devinfo_optical.c +++ b/sysutils/hal/files/hald-netbsd/devinfo_optical.c @@ -376,6 +376,8 @@ devinfo_optical_volume_add(HalDevice *parent, const char *devnode, char *devfs_p hal_device_property_set_bool (d, "block.is_volume", TRUE); hal_device_property_set_bool (d, "block.no_partitions", TRUE); hal_device_property_set_bool (d, "block.have_scanned", TRUE); + hal_device_property_set_string (d, "block.storage_device", + hal_device_property_get_string (parent, "info.udi")); /* volume */ hal_device_property_set_bool (d, "volume.ignore", FALSE); |