Summary: | Unnecessarily HDD/NFS share spin up in systemsettings -> Digital Camera | ||
---|---|---|---|
Product: | [Frameworks and Libraries] kio | Reporter: | Jimmy Kloss <jimmy.kloss> |
Component: | kamera | Assignee: | Marcus Meissner <marcus> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | lukas, marcus |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Jimmy Kloss
2011-01-31 17:19:04 UTC
Since there are no changes in the camera module, the problem is likely related to Solid changes. libgphoto2 does scan mountpoints, but the behjaviour did not really change the last years. (except after removing HAL support but we do filter out quite a number of filesystem types: if ((NULL != strstr(mntent->mnt_fsname,"fd")) || (NULL != strstr(mntent->mnt_fsname,"floppy")) || (NULL != strstr(mntent->mnt_fsname,"fuse")) || (NULL != strstr(mntent->mnt_fsname,"nfs")) || (NULL != strstr(mntent->mnt_fsname,"cifs")) || (NULL != strstr(mntent->mnt_fsname,"smbfs"))|| (NULL != strstr(mntent->mnt_fsname,"afs")) || (NULL != strstr(mntent->mnt_fsname,"autofs"))|| (NULL != strstr(mntent->mnt_fsname,"gphotofs")) ) { what fs types do you drives have? Both drives are mounted as autofs via systemd. The real fs is xfs on both. Also I remember that this problem also occured in earlier versions of kde, but I didn't reported it then, because I don't use the Digital Camera module, just clicked it out of curiosity. Here's the relevant mount output: Remote NFS (xfs): systemd-1 on /mnt/auto/mybook type autofs (rw,relatime,fd=26,pgrp=1,timeout=300,minproto=5,maxproto=5,direct) Local HDD (xfs): systemd-1 on /mnt/auto/hitachi type autofs (rw,relatime,fd=40,pgrp=1,timeout=300,minproto=5,maxproto=5,direct) I just remembered I also have symlinks in my homedirectory which point to directories on these drives. I used to have these symlinks directly under $HOME, but at one point I hab to put them into subdirs so that konqueror/dolphin don't spin up the drives on every start. e.g. $HOME/Hitachi/LinkToSubfolder -> /mnt/auto/hitachi/Subfolder From the description it's really hard to tell if that's coming from libsolid or not... Marcuss, could you point me at where libsolid is used in kcm? I could take a peek at the code I guess. i have no idea of libsolid, just of the camera kio slave and libgphoto2. Checked the code, indeed no use of libsolid there. *** This bug has been marked as a duplicate of bug 264487 *** |