[Bug 197916] [sysutils/hal] hald doesn't define Mount/Unmount methods for ZFS drives
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Feb 22 11:56:29 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197916
Bug ID: 197916
Summary: [sysutils/hal] hald doesn't define Mount/Unmount
methods for ZFS drives
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: yuri at rawbw.com
UFS disks have this line in their hald descriptor:
> org.freedesktop.Hal.Device.Volume.method_names = {'Mount', 'Unmount', 'Eject'}
And ZFS disks don't have method_names
As a result, this kde code fails to find ZFS mount points:
> foreach (const Solid::Device &device, Solid::Device::listFromType(Solid::DeviceInterface::StorageAccess)) {
> qDebug() << "mount=" << device.as<Solid::StorageAccess>()->filePath() << " udi="<<device.udi();
> }
KDE uses this line to test for the mounted storage device (in kdelibs):
> prop("org.freedesktop.Hal.Device.Volume.method_names").toStringList().contains("Mount")
Particular symptom that lead me to this is that sysutils/filelight-kde4 crosses
into ZFS file systems when it is asked to scan only one file system.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list