diff options
author | Marcus Meissner <marcus@jet.franken.de> | 2008-03-18 20:04:45 +0000 |
---|---|---|
committer | Marcus Meissner <marcus@jet.franken.de> | 2008-03-18 20:04:45 +0000 |
commit | ab532464df9f610d70b5a0fe231c35533d1b3794 (patch) | |
tree | 593ff769865ee13f44345bb3fd8af8f33d17409f /libgphoto2_port/disk | |
parent | bca12abd65316525001cbfb5b8183b1e2fd9ab09 (diff) | |
download | libgphoto2-ab532464df9f610d70b5a0fe231c35533d1b3794.tar.gz |
ignore some more remount mounted types
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@11005 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'libgphoto2_port/disk')
-rw-r--r-- | libgphoto2_port/disk/disk.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libgphoto2_port/disk/disk.c b/libgphoto2_port/disk/disk.c index bcbdeff11..3c94a5b2f 100644 --- a/libgphoto2_port/disk/disk.c +++ b/libgphoto2_port/disk/disk.c @@ -218,6 +218,11 @@ gp_port_library_list (GPPortInfoList *list) 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")) ) { continue; @@ -246,6 +251,10 @@ gp_port_library_list (GPPortInfoList *list) 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,"smbfs"))|| + (NULL != strstr(mntent->mnt_fsname,"afs")) || + (NULL != strstr(mntent->mnt_fsname,"autofs"))|| (NULL != strstr(mntent->mnt_fsname,"gphotofs")) ) { continue; |