filter out x-systemd.automount
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@15116 67ed7778-7388-44ab-90cf-0a291f65f57c
This commit is contained in:
@@ -130,7 +130,10 @@ gp_port_library_list (GPPortInfoList *list)
|
||||
(NULL != strstr(mntent->mnt_type,"sysfs"))||
|
||||
(NULL != strstr(mntent->mnt_type,"fuse"))||
|
||||
(NULL != strstr(mntent->mnt_type,"cifs"))||
|
||||
(NULL != strstr(mntent->mnt_type,"afs"))
|
||||
(NULL != strstr(mntent->mnt_type,"afs")) ||
|
||||
/* mount options */
|
||||
/* x-systemd.automount or similar */
|
||||
(NULL != strstr(mntent->mnt_opts,"automount"))
|
||||
)
|
||||
) {
|
||||
continue;
|
||||
@@ -191,7 +194,9 @@ gp_port_library_list (GPPortInfoList *list)
|
||||
(NULL != strstr(mntent->mnt_type,"sysfs"))||
|
||||
(NULL != strstr(mntent->mnt_type,"fuse"))||
|
||||
(NULL != strstr(mntent->mnt_type,"cifs"))||
|
||||
(NULL != strstr(mntent->mnt_type,"afs"))
|
||||
(NULL != strstr(mntent->mnt_type,"afs")) ||
|
||||
/* options */
|
||||
(NULL != strstr(mntent->mnt_opts,"automount"))
|
||||
) {
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user