--- nfs-utils-1.1.4/utils/exportfs/exportfs.c +++ nfs-utils-1.1.4/utils/exportfs/exportfs.c @@ -348,7 +348,7 @@ { int fd; int n; - char *setup = "nfsd 0.0.0.0 2147483647 -test-client-\n"; + char *setup = "nfsd 0.0.0.0 2147483647 XtestXclientX\n"; fd = open("/proc/net/rpc/auth.unix.ip/channel", O_WRONLY); if ( fd < 0) return 0; n = write(fd, setup, strlen(setup)); @@ -366,7 +366,7 @@ char buf[1024]; int fd, n; - sprintf(buf, "-test-client- %s 3 %d -1 -1 0\n", + sprintf(buf, "XtestXclientX %s 3 %d -1 -1 0\n", path, with_fsid ? NFSEXP_FSID : 0); fd = open("/proc/net/rpc/nfsd.export/channel", O_WRONLY); @@ -385,7 +385,7 @@ /* Check that the given export point is potentially exportable. * We just give warnings here, don't cause anything to fail. * If a path doesn't exist, or is not a dir or file, give an warning - * otherwise trial-export to '-test-client-' and check for failure. + * otherwise trial-export to 'XtestXclientX' and check for failure. */ struct stat stb; char *path = exp->m_export.e_path;