search for: mnt_local

Displaying 2 results from an estimated 2 matches for "mnt_local".

2007 Jul 11
1
NFS and Filesystem quota
...cit declaration of function 'i_vinfo' quota-rquotad.c: In function 'rquotad_quota_add_storage': quota-rquotad.c:90: error: storage size of 'statbuf' isn't known quota-rquotad.c:97: warning: implicit declaration of function 'statfs' quota-rquotad.c:99: error: 'MNT_LOCAL' undeclared (first use in this function) quota-rquotad.c:99: error: (Each undeclared identifier is reported only once quota-rquotad.c:99: error: for each function it appears in.) quota-rquotad.c:104: error: 'MNAMELEN' undeclared (first use in this function) quota-rquotad.c:90: warning:...
2006 Feb 03
0
rquotad (NFS) quota plugin
...*remotehost, *remotepath; + char *c; + + if (root->state == RQUOTAD_OFF) { + return; + } + + if (statfs(root->name, &statfsbuf) < 0) { + rquotad_quota_root_error_alloc(root, strerror(errno)); + root->state = RQUOTAD_ERR; + return; + } + + if (statfsbuf.f_flags & MNT_LOCAL) { + root->state = RQUOTAD_OFF; + return; + } + + /* + * must be some form of "hostname:/path" + */ + c = strchr(statfsbuf.f_mntfromname, ':'); + if (c == NULL) { + rquotad_quota_root_error_alloc(root, + "cannot find hostname for %s", +...