init: Detect when the filesystem is crippled such that it ignores attempts to remove the write bit from a file, and enable direct mode. Seen with eg, NTFS fuse on linux.

This commit is contained in:
Joey Hess 2015-07-30 14:06:17 -04:00
parent 267f397d82
commit b30324fec7
3 changed files with 18 additions and 2 deletions

View file

@ -0,0 +1,11 @@
[[!comment format=mdwn
username="joey"
subject="""comment 1"""
date="2015-07-30T17:54:11Z"
content="""
Good idea. Also, putting an indirect mode repo on a NTFS filesystem would
probably yield confusing results when trying to use it on windows..
I've put a check for this in with the other crippled FS checks that init
does.
"""]]