mirror of
https://github.com/facebook/sapling.git
synced 2024-12-25 05:53:24 +03:00
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:
parent
1fc071cb4e
commit
ecf88cd4a2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user