Bug 133622 - Partitions are not displayed in konquerors media:/
Summary: Partitions are not displayed in konquerors media:/
Status: RESOLVED WORKSFORME
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: media (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Kevin Ottens
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-06 00:54 UTC by Wojciech Szymak
Modified: 2006-09-15 16:03 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wojciech Szymak 2006-09-06 00:54:27 UTC
Version:            (using KDE KDE 3.5.4)
Installed from:    Unlisted Binary Package
Compiler:          gcc 3.3.6 
OS:                Linux

In konquerors media:/ are displayed only these partitions which were mounted when konqueror was started. If I mount some new partitions using mount, they do not appear in media:/. If I unmount partitions which were mounted when konqueror was started or moununt them again, their status in konqueror changes.

#cat /etc/fstab
/dev/hda5  /  xfs  defaults,noatime,nodiratime,logbufs=8  1 1
/dev/hda1  /media/c  ntfs  user,noauto,ro,umask=007,uid=0,gid=28,iocharset=iso8859-2  0 2
/dev/hda9  /media/f  ntfs  user,noauto,ro,umask=007,uid=0,gid=28,iocharset=iso8859-2  0 2
/dev/hda7  /media/z  vfat  user,noauto,rw,umask=007,uid=0,gid=28,iocharset=iso8859-2,codepage=852,quiet,showexec  0 2
/dev/hda8  /media/e  vfat  user,noauto,rw,umask=007,uid=0,gid=28,iocharset=iso8859-2,codepage=852,quiet,showexec  0 2
/dev/hdc  /media/dvd  auto  user,noauto,ro,unhide  0 0
/dev/hdd  /media/cdrom  auto  user,noauto,ro,unhide  0 0
/dev/hda6  swap  swap  defaults  0 0
none  /proc  proc  defaults,noauto,gid=17  0 0
none  /proc/bus/usb  usbfs  defaults,devmode=0664,busmode=0775,listmode=0664,busgid=78,listgid=78,devgid=78,noauto  0 0
none  /dev/pts  devpts  gid=5,mode=620  0 0
none  /dev/shm  tmpfs  mode=1777,nosuid,nodev,noexec  0 0
none  /dev/cpuset  cpuset  defaults,noauto  0 0
Comment 1 Dennis Gallion 2006-09-14 20:40:04 UTC
I discovered this bug in SuSE 10.1 after installing the KDE 3.5.1-69.32 patch.  The behavior continues under 3.5.4-xxx.

It has been assigned by Novell as a regression, see:

https://bugzilla.novell.com/show_bug.cgi?id=204376

It appears that using noauto in fstab results in HAL setting "volume-ignore = true" and that this causes Konqueror to ignore every such volume.  I attempted to change the fstab permissions in various ways, e.g., users, with no apparent effect. 
Comment 2 Wojciech Szymak 2006-09-14 21:35:52 UTC
Thanks for this info.
I've got workaround:

for each partition make this as root:

X=`hal-find-by-property --key block.device --string /dev/hda1`;
hal-set-property --udi $X --key volume.ignore --bool false;

I added this to /etc/rc.d/rc.local and works fine.
Comment 3 Wojciech Szymak 2006-09-15 16:03:23 UTC
This was problem with HAL.
Creating file `/etc/hal/fdi/policy/30user/99-partitions-fix.fdi` with content:

<?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- -->
<deviceinfo version="0.2">
  <device>
    <match key="volume.fsusage" string="filesystem">
      <merge key="volume.ignore" type="bool">false</merge>
    </match>
  </device>
</deviceinfo>

should resolve problem.