IBM / ibmi-oss-issues

Important resources for anyone interested in open source on IBM i
Creative Commons Zero v1.0 Universal
13 stars 0 forks source link

Git cloning issue #28

Closed tomcphr closed 1 year ago

tomcphr commented 1 year ago

I've installed Git using yum. I've got the latest git version and the latest version of ibmi-base etc.

I'm trying to clone a repository and I get this error.

error: unable to mmap '/home/{username}/{repo_name}/.git/config': No such device
fatal: could not set 'core.filemode' to 'true'

How can I fix this?

epgmat commented 1 year ago

The issue occurs when your folder is journaled. See IBM docs: https://www.ibm.com/docs/en/i/7.4?topic=ssw_ibm_i_74/apis/mmap.html

"Journaling cannot be started while a file is memory mapped. Likewise, a journaled file cannot be memory mapped. The mmap() function will fail with ENOTSUP if the file is journaled."

tomcphr commented 1 year ago

Thank you, that's solved it 👍