Add info about DPREFIX to README

Copied from the website and updated. Also mention that we don't support encrypted home dir (#242)
This commit is contained in:
Sergey Bugaev 2017-01-19 10:28:02 +03:00 committed by GitHub
parent 537d50c7be
commit d5c3ecb16e

View File

@ -126,6 +126,12 @@ modprobe darling-mach
chmod a+rw /dev/mach
````
### Prefixes
Darling has support for DPREFIXes, which are very similar to WINEPREFIXes. They are virtual “chroot” environments with an macOS-like filesystem structure, where you can install software safely. The default DPREFIX location is `~/.darling`, but this can be changed by exporting an identically named environment variable. A prefix is automatically created and initialized on first use.
Please note that we use `overlayfs` for creating prefixes, and so we cannot support putting prefix on a filesystem like NFS or eCryptfs. In particular, the default prefix location won't work if you have an encrypted home directory.
### Hello world
Let's start with a Hello world: