Displaying 1 result from an estimated 1 matches for "pseudoroot".
Did you mean:
pseudoret
2010 Jun 29
1
NFS(4) IMAP Quota
...quot;) == 0 || strcmp(mount->type, "nfs4") ==
0) {
/* using rquota for this mount */
} else
#endif
@@ -319,6 +319,11 @@
host = t_strdup_until(mount->device_path, path);
path++;
+ /* For NFSv4, we send the filesystem path without initial /. Server
prepends proper
+ * NFS pseudoroot automatically and uses this for detection of NFSv4
mounts. */
+ if (strcmp(root->mount->type, "nfs4") == 0)
+ while (*path == '/')
+ path++;
if (root->root.quota->set->debug) {
i_info("quota-fs: host=%s, path=%s, uid=%s, %s",
@@ -366,17 +371,24 @...