Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Feb 2015 11:56:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 197916] [sysutils/hal] hald doesn't define Mount/Unmount methods for ZFS drives
Message-ID:  <bug-197916-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
          Reporter: yuri@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-197916-13>