Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable directory fsync on AIX #656

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ThePrez
Copy link

@ThePrez ThePrez commented Oct 14, 2020

Pretty self-explanatory change. Running this on IBM i (an AIX variant), I get:

Error: Failed to flush to storage
    at /QOpenSys/pkgs/lib/nodejs12/lib/node_modules/crontab-ui/node_modules/nedb/lib/storage.js:63:19
    at FSReqCallback.oncomplete (fs.js:154:23) {
  errorOnFsync: [Error: EINVAL: invalid argument, fsync] {
    errno: -22,
    code: 'EINVAL',
    syscall: 'fsync'
  },
  errorOnClose: null
}

AIX needs the special case with Windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant