Patch: Ignore autofs in Konqueror 'devices:/'
This Patch removes autofs-filesystems from Konqueror's 'devices:/' view.
To apply use 'patch -p1 < ignore-autofs.diff'.
autofs is a virtual filesystem used by the kernelbased autofs-automounter.
Devices managed by the autofs-automounter appear as subdirectories of an
autofs-filesystem. So autofs doesn't represent a device by itself, an should
thus not appear in the 'devices:/' view.
I don't read debian-qt-kde. So if you have any Questions, write to my
e-mail-address directly
--- kdebase-orig/kioslave/devices/kdedmodule/disklist.cpp
+++ kdebase-patched/kioslave/devices/kdedmodule/disklist.cpp
@@ -71,6 +71,7 @@
if ( (disk->deviceName() != "none")
&& (disk->fsType() != "swap")
&& (disk->fsType() != "tmpfs")
+ && (disk->fsType() != "autofs")
&& (disk->deviceName() != "tmpfs")
&& (disk->mountPoint() != "/dev/swap")
&& (disk->mountPoint() != "/dev/pts")
Reply to: