Bug 265251 - Dolphin un-necessarioy displays partitions in Places panel since udisks switch
Summary: Dolphin un-necessarioy displays partitions in Places panel since udisks switch
Status: RESOLVED UNMAINTAINED
Alias: None
Product: solid
Classification: Frameworks and Libraries
Component: libsolid-udisks (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Lukáš Tinkl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-03 05:35 UTC by Andrew Brouwers
Modified: 2018-09-04 15:44 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Default dolphin window (52.95 KB, image/png)
2011-02-03 05:35 UTC, Andrew Brouwers
Details
Dolphin browsing /home (not /home/$user) (55.50 KB, image/png)
2011-02-03 05:36 UTC, Andrew Brouwers
Details
453.7GB partition IS the root parition but it's shown twice (9.53 KB, image/png)
2013-03-03 21:05 UTC, Hussam Al-Tayeb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Brouwers 2011-02-03 05:35:54 UTC
Created attachment 56810 [details]
Default dolphin window

Version:           unspecified (using KDE 4.6.0) 
OS:                Linux

At least, I think this is a dolphin issue, but I suppose it could be solid+udisks.

On my laptop, I have (3) partitions:
 - swap
 - /
 - /home

Upon launching dolphin in KDE 4.6, at first, I notice that in addition to "home," "network," "Root," and "trash," both of my root and /home partitions are displayed by default, as though they are hot-pluggable media (snapshot 1 attached).  In this snapshot, you'll see my root partition (9.3gb) as well as my /home partition (the 63.3 gb partition) listed in addition to the entries above, thus duplicating them.  This doesn't seem right at all; 

However, I can right click on them and click "Hide Entry" and all is like previous KDE releases.

If I navigate back beyond /home/$user, say, to just /home, the /home partition will actually show up, and is unable to be hidden (snapshot 2 attached).

Reproducible: Always



Expected Results:  
Duplicate entries should not be displayed in the Places panel, and dolphin shouldn't allow me to have options such as "unmount" partitions as though these were removable media.
Comment 1 Andrew Brouwers 2011-02-03 05:36:43 UTC
Created attachment 56811 [details]
Dolphin browsing /home (not /home/$user)
Comment 2 Kevin Ottens 2011-02-03 08:53:53 UTC
Please provide us with the output of "solid-hardware list details" and "solid-hardware list nonportableinfo" on your system. That'll likely help the libsolid-udisks backend maintainer.

@Lukas: We should REALLY unit test this routine in the udisks backend...
Comment 3 Andrew Brouwers 2011-02-04 00:01:20 UTC
Sure, no problem; btw, when browsing some screenshots of other KDE 4.6 desktops, I've noticed a couple others who have the same issue it seems.  Anyway:

thinkpad ~ $ solid-hardware list details
udi = '/org/kde/solid/udev/sys/devices/LNXSYSTM:00/LNXCPU:00'
  parent = '/org/kde/solid/udev'  (string)
  vendor = 'GenuineIntel'  (string)
  product = 'Intel(R) Core(TM)2 Duo CPU     T7250  @ 2.00GHz'  (string)
  description = 'Processor'  (string)
  Processor.number = 0  (0x0)  (int)
  Processor.maxSpeed = 2001  (0x7d1)  (qulonglong)
  Processor.canChangeFrequency = true  (bool)
  Processor.instructionSets = 'IntelMmx|IntelSse|IntelSse2|IntelSse3'  (0xf)  (flag)

udi = '/org/kde/solid/udev/sys/devices/LNXSYSTM:00/LNXCPU:01'
  parent = '/org/kde/solid/udev'  (string)
  vendor = 'GenuineIntel'  (string)
  product = 'Intel(R) Core(TM)2 Duo CPU     T7250  @ 2.00GHz'  (string)
  description = 'Processor'  (string)
  Processor.number = 1  (0x1)  (int)
  Processor.maxSpeed = 2001  (0x7d1)  (qulonglong)
  Processor.canChangeFrequency = true  (bool)
  Processor.instructionSets = 'IntelMmx|IntelSse|IntelSse2|IntelSse3'  (0xf)  (flag)

udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:19.0/net/eth0'
  parent = '/org/kde/solid/udev'  (string)
  vendor = 'Intel Corporation'  (string)
  product = '82566MM Gigabit Network Connection'  (string)
  description = 'Networking Interface'  (string)
  NetworkInterface.ifaceName = 'eth0'  (string)
  NetworkInterface.wireless = false  (bool)
  NetworkInterface.hwAddress = '00:1c:25:b8:c2:22'  (string)
  NetworkInterface.macAddress = 120891949602  (0x1c25b8c222)  (qulonglong)

udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/hwC0D0'
  parent = '/org/kde/solid/udev'  (string)
  vendor = ''  (string)
  product = 'HDA Intel(HDA Intel ALSA hardware specific Device)'  (string)
  description = 'HDA Intel(HDA Intel ALSA hardware specific Device)'  (string)
  Block.major = 116  (0x74)  (int)
  Block.minor = 7  (0x7)  (int)
  Block.device = '/dev/snd/hwC0D0'  (string)
  AudioInterface.driver = 'Alsa'  (0x0)  (enum)
  AudioInterface.driverHandle = ''  (string)
  AudioInterface.name = 'HDA Intel(HDA Intel ALSA hardware specific Device)'  (string)
  AudioInterface.deviceType = 'UnknownAudioInterfaceType'  (0x0)  (flag)
  AudioInterface.soundcardType = 'InternalSoundcard'  (0x0)  (enum)

udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/pcmC0D0c'
  parent = '/org/kde/solid/udev'  (string)
  vendor = ''  (string)
  product = 'HDA Intel (AD198x Analog)'  (string)
  description = 'HDA Intel (AD198x Analog)'  (string)
  Block.major = 116  (0x74)  (int)
  Block.minor = 6  (0x6)  (int)
  Block.device = '/dev/snd/pcmC0D0c'  (string)
  AudioInterface.driver = 'Alsa'  (0x0)  (enum)
  AudioInterface.driverHandle = ''  (string)
  AudioInterface.name = 'HDA Intel (AD198x Analog)'  (string)
  AudioInterface.deviceType = 'AudioInput'  (0x2)  (flag)
  AudioInterface.soundcardType = 'InternalSoundcard'  (0x0)  (enum)

udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/pcmC0D0p'
  parent = '/org/kde/solid/udev'  (string)
  vendor = ''  (string)
  product = 'HDA Intel (AD198x Analog)'  (string)
  description = 'HDA Intel (AD198x Analog)'  (string)
  Block.major = 116  (0x74)  (int)
  Block.minor = 5  (0x5)  (int)
  Block.device = '/dev/snd/pcmC0D0p'  (string)
  AudioInterface.driver = 'Alsa'  (0x0)  (enum)
  AudioInterface.driverHandle = ''  (string)
  AudioInterface.name = 'HDA Intel (AD198x Analog)'  (string)
  AudioInterface.deviceType = 'AudioOutput'  (0x4)  (flag)
  AudioInterface.soundcardType = 'InternalSoundcard'  (0x0)  (enum)

udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/pcmC0D1p'
  parent = '/org/kde/solid/udev'  (string)
  vendor = ''  (string)
  product = 'HDA Intel (AD198x Digital)'  (string)
  description = 'HDA Intel (AD198x Digital)'  (string)
  Block.major = 116  (0x74)  (int)
  Block.minor = 4  (0x4)  (int)
  Block.device = '/dev/snd/pcmC0D1p'  (string)
  AudioInterface.driver = 'Alsa'  (0x0)  (enum)
  AudioInterface.driverHandle = ''  (string)
  AudioInterface.name = 'HDA Intel (AD198x Digital)'  (string)
  AudioInterface.deviceType = 'AudioOutput'  (0x4)  (flag)
  AudioInterface.soundcardType = 'InternalSoundcard'  (0x0)  (enum)

udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/controlC0'
  parent = '/org/kde/solid/udev'  (string)
  vendor = ''  (string)
  product = 'HDA Intel'  (string)
  description = 'HDA Intel'  (string)
  Block.major = 116  (0x74)  (int)
  Block.minor = 8  (0x8)  (int)
  Block.device = '/dev/snd/controlC0'  (string)
  AudioInterface.driver = 'Alsa'  (0x0)  (enum)
  AudioInterface.driverHandle = ''  (string)
  AudioInterface.name = 'HDA Intel'  (string)
  AudioInterface.deviceType = 'AudioControl'  (0x1)  (flag)
  AudioInterface.soundcardType = 'InternalSoundcard'  (0x0)  (enum)

udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1c.1/0000:03:00.0/net/wlan0'
  parent = '/org/kde/solid/udev'  (string)
  vendor = 'Intel Corporation'  (string)
  product = 'PRO/Wireless 3945ABG [Golan] Network Connection'  (string)
  description = 'WLAN Interface'  (string)
  NetworkInterface.ifaceName = 'wlan0'  (string)
  NetworkInterface.wireless = true  (bool)
  NetworkInterface.hwAddress = '00:1f:3c:6c:97:8d'  (string)
  NetworkInterface.macAddress = 134157735821  (0x1f3c6c978d)  (qulonglong)

udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS0'
  parent = '/org/kde/solid/udev'  (string)
  vendor = ''  (string)
  product = 'Platform serial'  (string)
  description = ''  (string)
  Block.major = 4  (0x4)  (int)
  Block.minor = 64  (0x40)  (int)
  Block.device = 'ttyS0'  (string)
  SerialInterface.driverHandle = 'ttyS0'  (string)
  SerialInterface.serialType = ''  (string)
  SerialInterface.port = 0  (0x0)  (int)

udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS1'
  parent = '/org/kde/solid/udev'  (string)
  vendor = ''  (string)
  product = 'Platform serial'  (string)
  description = ''  (string)
  Block.major = 4  (0x4)  (int)
  Block.minor = 65  (0x41)  (int)
  Block.device = 'ttyS1'  (string)
  SerialInterface.driverHandle = 'ttyS1'  (string)
  SerialInterface.serialType = ''  (string)
  SerialInterface.port = 1  (0x1)  (int)

udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS2'
  parent = '/org/kde/solid/udev'  (string)
  vendor = ''  (string)
  product = 'Platform serial'  (string)
  description = ''  (string)
  Block.major = 4  (0x4)  (int)
  Block.minor = 66  (0x42)  (int)
  Block.device = 'ttyS2'  (string)
  SerialInterface.driverHandle = 'ttyS2'  (string)
  SerialInterface.serialType = ''  (string)
  SerialInterface.port = 2  (0x2)  (int)

udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS3'
  parent = '/org/kde/solid/udev'  (string)
  vendor = ''  (string)
  product = 'Platform serial'  (string)
  description = ''  (string)
  Block.major = 4  (0x4)  (int)
  Block.minor = 67  (0x43)  (int)
  Block.device = 'ttyS3'  (string)
  SerialInterface.driverHandle = 'ttyS3'  (string)
  SerialInterface.serialType = ''  (string)
  SerialInterface.port = 3  (0x3)  (int)

udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS4'
  parent = '/org/kde/solid/udev'  (string)
  vendor = ''  (string)
  product = 'Platform serial'  (string)
  description = ''  (string)
  Block.major = 4  (0x4)  (int)
  Block.minor = 68  (0x44)  (int)
  Block.device = 'ttyS4'  (string)
  SerialInterface.driverHandle = 'ttyS4'  (string)
  SerialInterface.serialType = ''  (string)
  SerialInterface.port = 4  (0x4)  (int)

udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS5'
  parent = '/org/kde/solid/udev'  (string)
  vendor = ''  (string)
  product = 'Platform serial'  (string)
  description = ''  (string)
  Block.major = 4  (0x4)  (int)
  Block.minor = 69  (0x45)  (int)
  Block.device = 'ttyS5'  (string)
  SerialInterface.driverHandle = 'ttyS5'  (string)
  SerialInterface.serialType = ''  (string)
  SerialInterface.port = 5  (0x5)  (int)

udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS6'
  parent = '/org/kde/solid/udev'  (string)
  vendor = ''  (string)
  product = 'Platform serial'  (string)
  description = ''  (string)
  Block.major = 4  (0x4)  (int)
  Block.minor = 70  (0x46)  (int)
  Block.device = 'ttyS6'  (string)
  SerialInterface.driverHandle = 'ttyS6'  (string)
  SerialInterface.serialType = ''  (string)
  SerialInterface.port = 6  (0x6)  (int)

udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS7'
  parent = '/org/kde/solid/udev'  (string)
  vendor = ''  (string)
  product = 'Platform serial'  (string)
  description = ''  (string)
  Block.major = 4  (0x4)  (int)
  Block.minor = 71  (0x47)  (int)
  Block.device = 'ttyS7'  (string)
  SerialInterface.driverHandle = 'ttyS7'  (string)
  SerialInterface.serialType = ''  (string)
  SerialInterface.port = 7  (0x7)  (int)

udi = '/org/kde/solid/udev/sys/devices/platform/thinkpad_acpi/sound/card29/controlC29'
  parent = '/org/kde/solid/udev'  (string)
  vendor = ''  (string)
  product = 'ThinkPad Console Audio Control'  (string)
  description = 'ThinkPad Console Audio Control'  (string)
  Block.major = 116  (0x74)  (int)
  Block.minor = 3  (0x3)  (int)
  Block.device = '/dev/snd/controlC29'  (string)
  AudioInterface.driver = 'Alsa'  (0x0)  (enum)
  AudioInterface.driverHandle = ''  (string)
  AudioInterface.name = 'ThinkPad Console Audio Control'  (string)
  AudioInterface.deviceType = 'AudioControl'  (0x1)  (flag)
  AudioInterface.soundcardType = 'InternalSoundcard'  (0x0)  (enum)

udi = '/org/kde/solid/udev/sys/devices/virtual/net/lo'
  parent = '/org/kde/solid/udev'  (string)
  vendor = ''  (string)
  product = 'Loopback device Interface'  (string)
  description = 'Networking Interface'  (string)
  NetworkInterface.ifaceName = 'lo'  (string)
  NetworkInterface.wireless = false  (bool)
  NetworkInterface.hwAddress = '00:00:00:00:00:00'  (string)
  NetworkInterface.macAddress = 0  (0x0)  (qulonglong)

udi = '/org/kde/solid/udev/sys/devices/virtual/sound/timer'
  parent = '/org/kde/solid/udev'  (string)
  vendor = ''  (string)
  product = 'ALSA Timer Device'  (string)
  description = 'ALSA Timer Device'  (string)
  Block.major = 116  (0x74)  (int)
  Block.minor = 2  (0x2)  (int)
  Block.device = '/dev/snd/timer'  (string)
  AudioInterface.driver = 'Alsa'  (0x0)  (enum)
  AudioInterface.driverHandle = ''  (string)
  AudioInterface.name = 'ALSA Timer Device'  (string)
  AudioInterface.deviceType = 'UnknownAudioInterfaceType'  (0x0)  (flag)
  AudioInterface.soundcardType = 'InternalSoundcard'  (0x0)  (enum)

udi = '/org/freedesktop/UDisks'
  parent = ''  (string)
  vendor = 'KDE'  (string)
  product = 'Storage'  (string)
  description = 'Storage devices'  (string)

udi = '/org/freedesktop/UDisks/devices/sda3'
  parent = '/org/freedesktop/UDisks/devices/sda'  (string)
  vendor = 'ATA'  (string)
  product = 'FUJITSU MHZ2080BH G1'  (string)
  description = '63.3 GiB Hard Drive'  (string)
  Block.major = 8  (0x8)  (int)
  Block.minor = 3  (0x3)  (int)
  Block.device = '/dev/sda3'  (string)
  StorageAccess.accessible = true  (bool)
  StorageAccess.filePath = '/home'  (string)
  StorageAccess.ignored = false  (bool)
  StorageVolume.ignored = false  (bool)
  StorageVolume.usage = 'FileSystem'  (0x2)  (enum)
  StorageVolume.fsType = 'ext4'  (string)
  StorageVolume.label = 'ATA FUJITSU MHZ2080BH G1'  (string)
  StorageVolume.uuid = 'bc764f68-9853-4501-ba1f-488661ae75c3'  (string)
  StorageVolume.size = 67973713920  (0xfd38c9000)  (qulonglong)

udi = '/org/freedesktop/UDisks/devices/sda'
  parent = '/org/freedesktop/UDisks'  (string)
  vendor = 'ATA'  (string)
  product = 'FUJITSU MHZ2080BH G1'  (string)
  description = '74.5 GiB Hard Drive'  (string)
  Block.major = 8  (0x8)  (int)
  Block.minor = 0  (0x0)  (int)
  Block.device = '/dev/sda'  (string)
  StorageDrive.bus = 'Ide'  (0x0)  (enum)
  StorageDrive.driveType = 'HardDisk'  (0x0)  (enum)
  StorageDrive.removable = false  (bool)
  StorageDrive.hotpluggable = false  (bool)
  StorageDrive.inUse = true  (bool)
  StorageDrive.size = 80026361856  (0x12a1f16000)  (qulonglong)

udi = '/org/freedesktop/UDisks/devices/sda1'
  parent = '/org/freedesktop/UDisks/devices/sda'  (string)
  vendor = 'ATA'  (string)
  product = 'FUJITSU MHZ2080BH G1'  (string)
  description = '1.9 GiB Hard Drive'  (string)
  Block.major = 8  (0x8)  (int)
  Block.minor = 1  (0x1)  (int)
  Block.device = '/dev/sda1'  (string)
  StorageVolume.ignored = false  (bool)
  StorageVolume.usage = 'Other'  (0x0)  (enum)
  StorageVolume.fsType = 'swap'  (string)
  StorageVolume.label = 'ATA FUJITSU MHZ2080BH G1'  (string)
  StorageVolume.uuid = '845da793-311a-49c7-a779-a4ec10527924'  (string)
  StorageVolume.size = 2048062464  (0x7a12f400)  (qulonglong)

udi = '/org/freedesktop/UDisks/devices/sda2'
  parent = '/org/freedesktop/UDisks/devices/sda'  (string)
  vendor = 'ATA'  (string)
  product = 'FUJITSU MHZ2080BH G1'  (string)
  description = '9.3 GiB Hard Drive'  (string)
  Block.major = 8  (0x8)  (int)
  Block.minor = 2  (0x2)  (int)
  Block.device = '/dev/sda2'  (string)
  StorageAccess.accessible = true  (bool)
  StorageAccess.filePath = '/'  (string)
  StorageAccess.ignored = false  (bool)
  StorageVolume.ignored = false  (bool)
  StorageVolume.usage = 'FileSystem'  (0x2)  (enum)
  StorageVolume.fsType = 'ext4'  (string)
  StorageVolume.label = 'ATA FUJITSU MHZ2080BH G1'  (string)
  StorageVolume.uuid = '65e96a52-8c9a-407e-8638-a88a23b4c204'  (string)
  StorageVolume.size = 10001940480  (0x254298000)  (qulonglong)

udi = '/org/freedesktop/UDisks/devices/sr0'
  parent = '/org/freedesktop/UDisks'  (string)
  vendor = 'MATSHITA'  (string)
  product = 'MATSHITADVD-RAM UJ-850 z'  (string)
  description = 'CD-RW/DVD-RAM Drive'  (string)
  Block.major = 11  (0xb)  (int)
  Block.minor = 0  (0x0)  (int)
  Block.device = '/dev/sr0'  (string)
  StorageDrive.bus = 'Scsi'  (0x3)  (enum)
  StorageDrive.driveType = 'CdromDrive'  (0x1)  (enum)
  StorageDrive.removable = true  (bool)
  StorageDrive.hotpluggable = false  (bool)
  StorageDrive.inUse = false  (bool)
  StorageDrive.size = 0  (0x0)  (qulonglong)
  OpticalDrive.supportedMedia = 'Cdr|Cdrw|Dvd|Dvdr|Dvdram'  (0x2f)  (flag)
  OpticalDrive.readSpeed = 0  (0x0)  (int)
  OpticalDrive.writeSpeed = 0  (0x0)  (int)
  OpticalDrive.writeSpeeds = {} (int list)

udi = '/org/freedesktop/UPower'
  parent = ''  (string)
  vendor = 'KDE'  (string)
  product = 'Power Management'  (string)
  description = 'Batteries and other sources of power'  (string)

udi = '/org/freedesktop/UPower/devices/line_power_AC'
  parent = '/org/freedesktop/UPower'  (string)
  vendor = ''  (string)
  product = 'A/C Adapter'  (string)
  description = 'A/C Adapter'  (string)
  AcAdapter.plugged = true  (bool)

udi = '/org/freedesktop/UPower/devices/battery_BAT0'
  parent = '/org/freedesktop/UPower'  (string)
  vendor = 'Panasonic'  (string)
  product = '42T5225'  (string)
  description = 'Lithium Ion Battery'  (string)
  Battery.plugged = true  (bool)
  Battery.type = 'PrimaryBattery'  (0x3)  (enum)
  Battery.chargePercent = 100  (0x64)  (int)
  Battery.rechargeable = true  (bool)
  Battery.chargeState = 'NoCharge'  (0x0)  (enum)

udi = '/org/kde/fstab'
  parent = ''  (string)
  vendor = 'KDE'  (string)
  product = 'Network Shares'  (string)
  description = 'NFS and SMB shares declared in your system'  (string)




thinkpad ~ $ solid-hardware list nonportableinfo
udi = '/org/kde/solid/udev/sys/devices/LNXSYSTM:00/LNXCPU:00'
  DEVPATH = '/devices/LNXSYSTM:00/LNXCPU:00'  (string)
  DRIVER = 'processor'  (string)
  MODALIAS = 'acpi:LNXCPU:'  (string)
  SUBSYSTEM = 'acpi'  (string)
  UDEV_LOG = '3'  (string)

udi = '/org/kde/solid/udev/sys/devices/LNXSYSTM:00/LNXCPU:01'
  DEVPATH = '/devices/LNXSYSTM:00/LNXCPU:01'  (string)
  DRIVER = 'processor'  (string)
  MODALIAS = 'acpi:LNXCPU:'  (string)
  SUBSYSTEM = 'acpi'  (string)
  UDEV_LOG = '3'  (string)

udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:19.0/net/eth0'
  DEVPATH = '/devices/pci0000:00/0000:00:19.0/net/eth0'  (string)
  ID_BUS = 'pci'  (string)
  ID_MODEL_FROM_DATABASE = '82566MM Gigabit Network Connection'  (string)
  ID_MODEL_ID = '0x1049'  (string)
  ID_VENDOR_FROM_DATABASE = 'Intel Corporation'  (string)
  ID_VENDOR_ID = '0x8086'  (string)
  IFINDEX = '2'  (string)
  INTERFACE = 'eth0'  (string)
  SUBSYSTEM = 'net'  (string)
  UDEV_LOG = '3'  (string)

udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/hwC0D0'
  DEVNAME = '/dev/snd/hwC0D0'  (string)
  DEVPATH = '/devices/pci0000:00/0000:00:1b.0/sound/card0/hwC0D0'  (string)
  MAJOR = '116'  (string)
  MINOR = '7'  (string)
  SUBSYSTEM = 'sound'  (string)
  TAGS = ':udev-acl:'  (string)
  UDEV_LOG = '3'  (string)

udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/pcmC0D0c'
  DEVNAME = '/dev/snd/pcmC0D0c'  (string)
  DEVPATH = '/devices/pci0000:00/0000:00:1b.0/sound/card0/pcmC0D0c'  (string)
  MAJOR = '116'  (string)
  MINOR = '6'  (string)
  SUBSYSTEM = 'sound'  (string)
  TAGS = ':udev-acl:'  (string)
  UDEV_LOG = '3'  (string)

udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/pcmC0D0p'
  DEVNAME = '/dev/snd/pcmC0D0p'  (string)
  DEVPATH = '/devices/pci0000:00/0000:00:1b.0/sound/card0/pcmC0D0p'  (string)
  MAJOR = '116'  (string)
  MINOR = '5'  (string)
  SUBSYSTEM = 'sound'  (string)
  TAGS = ':udev-acl:'  (string)
  UDEV_LOG = '3'  (string)

udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/pcmC0D1p'
  DEVNAME = '/dev/snd/pcmC0D1p'  (string)
  DEVPATH = '/devices/pci0000:00/0000:00:1b.0/sound/card0/pcmC0D1p'  (string)
  MAJOR = '116'  (string)
  MINOR = '4'  (string)
  SUBSYSTEM = 'sound'  (string)
  TAGS = ':udev-acl:'  (string)
  UDEV_LOG = '3'  (string)

udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/controlC0'
  DEVLINKS = '/dev/snd/by-path/pci-0000:00:1b.0'  (string)
  DEVNAME = '/dev/snd/controlC0'  (string)
  DEVPATH = '/devices/pci0000:00/0000:00:1b.0/sound/card0/controlC0'  (string)
  ID_PATH = 'pci-0000:00:1b.0'  (string)
  MAJOR = '116'  (string)
  MINOR = '8'  (string)
  SUBSYSTEM = 'sound'  (string)
  TAGS = ':udev-acl:'  (string)
  UDEV_LOG = '3'  (string)

udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1c.1/0000:03:00.0/net/wlan0'
  DEVPATH = '/devices/pci0000:00/0000:00:1c.1/0000:03:00.0/net/wlan0'  (string)
  DEVTYPE = 'wlan'  (string)
  ID_BUS = 'pci'  (string)
  ID_MODEL_FROM_DATABASE = 'PRO/Wireless 3945ABG [Golan] Network Connection'  (string)
  ID_MODEL_ID = '0x4227'  (string)
  ID_VENDOR_FROM_DATABASE = 'Intel Corporation'  (string)
  ID_VENDOR_ID = '0x8086'  (string)
  IFINDEX = '3'  (string)
  INTERFACE = 'wlan0'  (string)
  SUBSYSTEM = 'net'  (string)
  UDEV_LOG = '3'  (string)

udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS0'
  DEVNAME = 'ttyS0'  (string)
  DEVPATH = '/devices/platform/serial8250/tty/ttyS0'  (string)
  MAJOR = '4'  (string)
  MINOR = '64'  (string)
  SUBSYSTEM = 'tty'  (string)
  UDEV_LOG = '3'  (string)

udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS1'
  DEVNAME = 'ttyS1'  (string)
  DEVPATH = '/devices/platform/serial8250/tty/ttyS1'  (string)
  MAJOR = '4'  (string)
  MINOR = '65'  (string)
  SUBSYSTEM = 'tty'  (string)
  UDEV_LOG = '3'  (string)

udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS2'
  DEVNAME = 'ttyS2'  (string)
  DEVPATH = '/devices/platform/serial8250/tty/ttyS2'  (string)
  MAJOR = '4'  (string)
  MINOR = '66'  (string)
  SUBSYSTEM = 'tty'  (string)
  UDEV_LOG = '3'  (string)

udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS3'
  DEVNAME = 'ttyS3'  (string)
  DEVPATH = '/devices/platform/serial8250/tty/ttyS3'  (string)
  MAJOR = '4'  (string)
  MINOR = '67'  (string)
  SUBSYSTEM = 'tty'  (string)
  UDEV_LOG = '3'  (string)

udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS4'
  DEVNAME = 'ttyS4'  (string)
  DEVPATH = '/devices/platform/serial8250/tty/ttyS4'  (string)
  MAJOR = '4'  (string)
  MINOR = '68'  (string)
  SUBSYSTEM = 'tty'  (string)
  UDEV_LOG = '3'  (string)

udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS5'
  DEVNAME = 'ttyS5'  (string)
  DEVPATH = '/devices/platform/serial8250/tty/ttyS5'  (string)
  MAJOR = '4'  (string)
  MINOR = '69'  (string)
  SUBSYSTEM = 'tty'  (string)
  UDEV_LOG = '3'  (string)

udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS6'
  DEVNAME = 'ttyS6'  (string)
  DEVPATH = '/devices/platform/serial8250/tty/ttyS6'  (string)
  MAJOR = '4'  (string)
  MINOR = '70'  (string)
  SUBSYSTEM = 'tty'  (string)
  UDEV_LOG = '3'  (string)

udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS7'
  DEVNAME = 'ttyS7'  (string)
  DEVPATH = '/devices/platform/serial8250/tty/ttyS7'  (string)
  MAJOR = '4'  (string)
  MINOR = '71'  (string)
  SUBSYSTEM = 'tty'  (string)
  UDEV_LOG = '3'  (string)

udi = '/org/kde/solid/udev/sys/devices/platform/thinkpad_acpi/sound/card29/controlC29'
  DEVLINKS = '/dev/snd/by-path/platform-thinkpad_acpi'  (string)
  DEVNAME = '/dev/snd/controlC29'  (string)
  DEVPATH = '/devices/platform/thinkpad_acpi/sound/card29/controlC29'  (string)
  ID_PATH = 'platform-thinkpad_acpi'  (string)
  MAJOR = '116'  (string)
  MINOR = '3'  (string)
  SUBSYSTEM = 'sound'  (string)
  TAGS = ':udev-acl:'  (string)
  UDEV_LOG = '3'  (string)

udi = '/org/kde/solid/udev/sys/devices/virtual/net/lo'
  DEVPATH = '/devices/virtual/net/lo'  (string)
  IFINDEX = '1'  (string)
  INTERFACE = 'lo'  (string)
  SUBSYSTEM = 'net'  (string)
  UDEV_LOG = '3'  (string)

udi = '/org/kde/solid/udev/sys/devices/virtual/sound/timer'
  DEVNAME = '/dev/snd/timer'  (string)
  DEVPATH = '/devices/virtual/sound/timer'  (string)
  MAJOR = '116'  (string)
  MINOR = '2'  (string)
  SUBSYSTEM = 'sound'  (string)
  TAGS = ':udev-acl:'  (string)
  UDEV_LOG = '3'  (string)

udi = '/org/freedesktop/UDisks'
udi = '/org/freedesktop/UDisks/devices/sda3'

udi = '/org/freedesktop/UDisks/devices/sda'

udi = '/org/freedesktop/UDisks/devices/sda1'

udi = '/org/freedesktop/UDisks/devices/sda2'

udi = '/org/freedesktop/UDisks/devices/sr0'

udi = '/org/freedesktop/UPower'
udi = '/org/freedesktop/UPower/devices/line_power_AC'

udi = '/org/freedesktop/UPower/devices/battery_BAT0'

udi = '/org/kde/fstab'
Comment 4 Andrew Brouwers 2011-02-04 00:06:21 UTC
Not sure if it matters, but:

/dev/sda1 = swap
/dev/sda2 = /
/dev/sda3 = /home

Thanks!
Comment 5 Alex Fiestas 2013-03-03 18:08:38 UTC
Can you reproduce this with 4.10?
Comment 6 Hussam Al-Tayeb 2013-03-03 21:02:22 UTC
yes, I can still reproduce it and on a new computer with kde 4.10 using udisks2 backend.

I have two partitions + swap parition. 
/boot 
and / (root)
root partition is luks encrypted (gets unlocked at boot from initramfs)
I'll attach a screenshot.
Comment 7 Hussam Al-Tayeb 2013-03-03 21:05:07 UTC
Created attachment 77717 [details]
453.7GB partition IS the root parition but it's shown twice

453.7GB partition IS the root partition but it's shown twice. once as encrypted and once as "root".
both are accessible from dolphin file manager.

Suggestion: for unlocked luks partitions, only show the resultant unlocked partition and not an extra icon for "encrypted volum".
Comment 8 Andrew Brouwers 2013-03-03 21:59:16 UTC
The root device is even shown in the 4.10 release notes:

http://www.kde.org/announcements/announce-4.10-beta1.png
Comment 9 Alex Fiestas 2013-03-05 20:18:16 UTC
@Hussam Al-Tayeb Oh I see now what this bug is exactly about,  it is actually dolphin who should do the filtering since libsolid's job is to show all (or whatever Dolphin requests).

@Andrew Brouwers Same think, it is up to Dolphin to say "Oh I have a place for /root so I won't show this disk".

Imho the Root place should be remove.

What do you think Frank?
Comment 10 Andrew Brouwers 2013-03-05 20:21:57 UTC
/home too, if it's on a separate partition? :-)
Comment 11 Frank Reininghaus 2013-03-05 22:05:43 UTC
First of all, I think any change should be made simultaneously in Dolphin and in KFilePlacesView/Model (which shows the Places in the file dialogs). If we don't do that, I already see the "the dialog shows more devices than Dolphin" bug reports coming ;-)

About the idea to remove the "Root" place: I don't think we should do that. Taking away things always makes some people upset, and here, I don't really see a good reason for that - if you don't like the "Root" place, just hide it. Moreover, any change of the default "Places" would only affect new KDE users, those who have a "Places" config file already will still see the "Root" place, which could cause some confusion.

What I think might be worth considering is an algorithm like "For all devices, check if the URL is the same as the one of a 'Place'. If that is the case, don't show the device".

But even then I see potential problems. Imagine a user creates a "Place" for the URL where a USB drive is mounted. If we don't show the device, then there is no way to unmount it inside Dolphin.

Please don't misunderstand my cautiousness. I do think that the idea might make sense, I'm just trying to think of all possible side effects before we make any changes.
Comment 12 Alex Fiestas 2013-07-28 21:13:32 UTC
Maybe we can apply this only for places that are autocreated  ?

Imho this is a issue only applicable to those places created on startup such Root, or Home since we are the responsible for those, not the user.

Adding Vishesh since he worked in a patch for this a few month ago.
Comment 13 Vishesh Handa 2013-08-07 05:59:02 UTC
Here is the patch - https://git.reviewboard.kde.org/r/110326/ But this handles all places, not just the auto-created ones. Let me know if you want me to update it.

From my point of view the user doesn't need to know about the existence of a "root" partition. So it shouldn't be shown in any of those places. Ditto for the "boot" partition as shown in the bug report, but then again - that might be hiding features which power users want.
Comment 14 Hussam Al-Tayeb 2013-08-07 08:07:59 UTC
On Wednesday 07 August 2013 05:59:02 you wrote:
> https://bugs.kde.org/show_bug.cgi?id=265251
> 
> --- Comment #13 from Vishesh Handa <me@vhanda.in> ---
> Here is the patch - https://git.reviewboard.kde.org/r/110326/ But this
> handles all places, not just the auto-created ones. Let me know if you want
> me to update it.
> 
> From my point of view the user doesn't need to know about the existence of a
> "root" partition. So it shouldn't be shown in any of those places. Ditto
> for the "boot" partition as shown in the bug report, but then again - that
> might be hiding features which power users want.

I applied that patch. now it doesn't show the root partition  anymore. but it 
still shows the /boot partition as a "957.0 MB Hard Drive" label in places.
Comment 15 Frank Reininghaus 2013-08-07 08:22:34 UTC
(In reply to comment #13)
> Here is the patch - https://git.reviewboard.kde.org/r/110326/ But this
> handles all places, not just the auto-created ones. Let me know if you want
> me to update it.

In any case, a consistent solution for Dolphin's Places Panel and KFilePlaces* (used, e.g., in the file dialog) should be found. If there is agreement that hiding those devices makes sense (either all that have a "Place" or just the autogenerated ones) and the same change is made in kdelibs, then we can add it to Dolphin as well.

(As I've already said somewhere else, having two separate "Places" implementations is IMHO a very bad long-term solution. However, we can't drop Dolphin's implementation at the moment without also removing all the Nepomuk-related features.)
Comment 16 Andrew Crouthamel 2018-09-04 15:44:26 UTC
Hello! Sorry to be the bearer of bad news, but this project has been unmaintained for many years so I am closing this bug. Please try again with the latest version and submit a new bug to frameworks-solid if your issue persists. Thank you!