diff --git a/src/storage/filesystem.js b/src/storage/filesystem.js index 0c02414ad..891ee977d 100644 --- a/src/storage/filesystem.js +++ b/src/storage/filesystem.js @@ -54,7 +54,7 @@ function checkPreconditions(apiConfig, dataLayout, callback) { assert(dataLayout instanceof DataLayout, 'dataLayout must be a DataLayout'); assert.strictEqual(typeof callback, 'function'); - // TODO check filesystem is mounted for sshfs and cifs so we don't write into the actual folder on disk + // Check filesystem is mounted so we don't write into the actual folder on disk if (apiConfig.provider === PROVIDER_SSHFS || apiConfig.provider === PROVIDER_CIFS || apiConfig.provider === PROVIDER_NFS) { const mounts = safe.fs.readFileSync('/proc/mounts', 'utf8'); const mountInfo = mounts.split('\n').filter(function (l) { return l.indexOf(apiConfig.mountPoint) !== -1; })[0];