# HG changeset patch # User Oleksandr Gavenko # Date 1609362801 -7200 # Node ID 0b99270832a03fdcb7809e7f75f9227db644b011 # Parent b6e75fabe00b47bc4f493cd003724c36910c4ea4 About cygdrive & usertemp FS types. diff -r b6e75fabe00b -r 0b99270832a0 cygwin.rst --- a/cygwin.rst Tue Dec 22 13:45:36 2020 +0200 +++ b/cygwin.rst Wed Dec 30 23:13:21 2020 +0200 @@ -24,7 +24,7 @@ native Windows Emacs can't determine file revision with my ``hg`` wrapper. https://cygwin.com/cygwin-ug-net/using-cygwinenv.html - The CYGWIN environment variable. Available options. + The ``CYGWIN`` environment variable. Available options. Set ``HOME`` env var:: @@ -282,13 +282,23 @@ $ mkgroup -l > /etc/group -Adding mount points. -==================== +Adding mount points +=================== + +In Cygwin the 3rd parameter (FS type) has special meaning: + +* ``cygdrive`` defines prefix to Windows disk letters like ``c:``. +* ``usertemp`` defines location of temp directory. ``/etc/fstab``:: - C:/foo /bar/baz ntfs text,posix=0 0 0 - /var /usr/var none bind + none /cygdrive none binary,posix=0,user,noacl 0 0 + c:/opt/ /opt none binary,noacl,user,posix=0 0 0 + d:/backup /backup none binary,noacl,user,posix=0 0 0 + /var /usr/var none bind + +https://cygwin.com/cygwin-ug-net/using.html#mount-table + The Cygwin Mount Table. Description of supported keys. Running X Window. =================