Updated Windows (markdown)

Ben RUBSON 2018-04-19 10:49:55 +02:00
parent 4e1ab946ae
commit bab2334abc

@ -1,6 +1,23 @@
# Cygwin
## Existing solutions
## Installation
[Encfs4win](https://encfs.win) ([GitHub](https://github.com/jetwhiz/encfs4win))
[EncFSMP](https://encfsmp.sourceforge.io) ([GitHub](https://github.com/rhiestan/EncFSMP))
"Native" with Cygwin (detailed below)
## Comparison
Solution | FUSE replacement | GUI
-|-|-
Encfs4win | [Dokany](https://github.com/dokan-dev/dokany/) | Yes
EncFSMP | [Pismo File Mount](http://pismotec.com/pfm/) | Yes
"Native" with Cygwin | [WinFsp](http://www.secfs.net/winfsp/) ([GitHub](https://github.com/billziss-gh/winfsp)) | Yes, using [SiriKali](https://mhogomchungu.github.io/sirikali/) ([GitHub](https://github.com/mhogomchungu/sirikali))
## "Native" with Cygwin
### Installation
EncFS can be compiled and used on Cygwin.
@ -26,7 +43,7 @@ Here are the required steps.
4. In `/usr/include/fuse/winfsp_fuse.h` :
Modify : `return cygwin_create_path(`
If needed, modify : `return cygwin_create_path(`
To : `return (char *)cygwin_create_path(`
@ -36,9 +53,13 @@ _(see https://github.com/billziss-gh/winfsp/pull/154)_
6. Using Cygwin terminal, [build as usual](https://github.com/vgough/encfs/blob/master/INSTALL.md).
## Usage
### Usage
Use as usual.
[Use as usual](https://github.com/vgough/encfs/blob/master/encfs/encfs.pod), from a Cygwin or Windows terminal.
You may also consider [SiriKali](https://mhogomchungu.github.io/sirikali/) GUI ([GitHub](https://github.com/mhogomchungu/sirikali)).
### Tuning
If you care about symlinks, you may consider :
- value of `winsymlinks` in [`CYGWIN` environment variable](https://cygwin.com/cygwin-ug-net/using-cygwinenv.html) ;
@ -50,4 +71,6 @@ For performance matters, you may consider :
For performance and ACLs matters, you may also consider :
- the `noacl` [Cygwin mount option](https://cygwin.com/cygwin-ug-net/using.html#mount-table).
Regarding IVs, which are based on inode numbers : depending on configuration, they may lead to some problems, as file IDs (used to compute inode numbers) may not be consistent on Windows (see [1](https://docs.microsoft.com/en-us/windows-hardware/drivers/ddi/content/ntifs/ns-ntifs-_file_id_both_dir_information) and [2](https://docs.microsoft.com/en-us/windows-hardware/drivers/ddi/content/ntifs/ns-ntifs-_file_internal_information)). If not sure, they can be disabled during EncFS configuration.
### Warnings
Regarding IVs, which are based on inode numbers : depending on configuration, they may lead to some problems, as file IDs (used by Cygwin to compute inode numbers) may not be consistent on Windows (see [1](https://docs.microsoft.com/en-us/windows-hardware/drivers/ddi/content/ntifs/ns-ntifs-_file_id_both_dir_information) and [2](https://docs.microsoft.com/en-us/windows-hardware/drivers/ddi/content/ntifs/ns-ntifs-_file_internal_information)). If not sure, they can be disabled during EncFS configuration.