Back out "indicate to coreutils that edenfs is a remote filesystem"

Summary:
Original commit changeset: f4816b303e19

The newer version of Watchman that understands the new mount type name
won't release in time, so back this out for now.

Reviewed By: fanzeyi

Differential Revision: D23720167

fbshipit-source-id: 588541e1d9093533611d1f32b319d2562318506a
This commit is contained in:
Chad Austin 2020-09-15 20:56:10 -07:00 committed by Facebook GitHub Bot
parent 1fc071cb4e
commit ecf88cd4a2

View File

@ -401,9 +401,7 @@ folly::File PrivHelperServer::fuseMount(const char* mountPath, bool readOnly) {
mountFlags |= MS_RDONLY;
}
const char* type = "fuse";
// The colon indicates to coreutils/gnulib that this is a remote
// mount so it will not be displayed by `df --local`.
int rc = mount("edenfs:", mountPath, type, mountFlags, mountOpts.c_str());
int rc = mount("edenfs", mountPath, type, mountFlags, mountOpts.c_str());
checkUnixError(rc, "failed to mount");
return fuseDev;
#endif