[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 181847] Dolphin doesn't show crypt_LUKS partition (on built-in
From: Dave Gilbert <gilbertd+kde () treblig ! org>
Date: 2010-12-31 18:47:57
Message-ID: 20101231184757.D7AF679856 () immanuel ! kde ! org
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=181847
Dave Gilbert <gilbertd+kde@treblig.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |gilbertd+kde@treblig.org
--- Comment #4 from Dave Gilbert <gilbertd+kde treblig org> 2010-12-31 19:47:55 ---
I'm digging on this a bit, and just thought I'd like to say how far I'd got,
I'm at the point of needing to understand a bit more about udisks flags;
kfileplaces gets it's info from 'solid', and if I do
solid-hardware list details
I get for my crypto backing device:
udi = '/org/freedesktop/UDisks/devices/dm_2d0'
parent = '/org/freedesktop/UDisks' (string)
vendor = '' (string)
product = '' (string)
description = '10.0 GiB Hard Drive' (string)
Block.major = 252 (0xfc) (int)
Block.minor = 0 (0x0) (int)
Block.device = '/dev/dm-0' (string)
StorageAccess.accessible = false (bool)
StorageAccess.filePath = '' (string)
StorageAccess.ignored = true (bool)
StorageDrive.bus = 'Platform' (0x5) (enum)
StorageDrive.driveType = 'HardDisk' (0x0) (enum)
StorageDrive.removable = false (bool)
StorageDrive.hotpluggable = false (bool)
StorageDrive.inUse = false (bool)
StorageDrive.size = 10737418240 (0x280000000) (qulonglong)
note the 'StorageAccess.ignored = true' - and I think that's the reason it
doesn't appear - so where does that come from?
Well, solid/solid/backends/udisks/udisksstorageaccess.cpp and
udisksstoragevolume.cpp call ->isDeviceBlacklisted()
and udisksdevice.cpp defines isDeviceBlacklisted() as:
bool UDisksDevice::isDeviceBlacklisted() const
{
return property("DevicePresentationHide").toBool() ||
property("DevicePresentationNopolicy").toBool() ||
property("DeviceMountPaths").toStringList().contains("/boot") ||
property("IdLabel").toString() == "System Reserved" ||
property("IdUsage").toString().isEmpty();
}
Now, for my luks partition we have (from udisks --show-info):
presentation hide: 0
presentation nopolicy: 1
mount paths:
label:
usage: crypto
So it looks like the problem here is 'nopolicy'.
Whether it's udisks problem in setting it, or solid's udisks backend for caring
about it I haven't figured out yet.
Dave
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic