Changeset View
Changeset View
Standalone View
Standalone View
src/solid/devices/backends/fstab/fstabhandling.cpp
Show First 20 Lines • Show All 109 Lines • ▼ Show 20 Line(s) | |||||
110 | { } | 110 | { } | ||
111 | 111 | | |||
112 | bool _k_isFstabNetworkFileSystem(const QString &fstype, const QString &devName) | 112 | bool _k_isFstabNetworkFileSystem(const QString &fstype, const QString &devName) | ||
113 | { | 113 | { | ||
114 | if (fstype == "nfs" | 114 | if (fstype == "nfs" | ||
115 | || fstype == "nfs4" | 115 | || fstype == "nfs4" | ||
116 | || fstype == "smbfs" | 116 | || fstype == "smbfs" | ||
117 | || fstype == "cifs" | 117 | || fstype == "cifs" | ||
118 | || fstype == "fuse.sshfs" | ||||
118 | || devName.startsWith(QLatin1String("//"))) { | 119 | || devName.startsWith(QLatin1String("//"))) { | ||
119 | return true; | 120 | return true; | ||
120 | } | 121 | } | ||
121 | return false; | 122 | return false; | ||
122 | } | 123 | } | ||
123 | 124 | | |||
124 | bool _k_isFstabSupportedLocalFileSystem(const QString &fstype) | 125 | bool _k_isFstabSupportedLocalFileSystem(const QString &fstype) | ||
125 | { | 126 | { | ||
▲ Show 20 Lines • Show All 230 Lines • Show Last 20 Lines |