acadia-newlib/winsup/doc
Johannes Schindelin fb71716d2c Introduce the 'usertemp' filesystem type
* mount.cc (mount_info::from_fstab_line): Support mounting the current
	user's temp folder as /tmp/.  This is particularly useful a feature
	when Cygwin's own files are write-protected.

	* pathnames.xml: document the new usertemp file system type

Detailed explanation:

In the context of Windows, there is a per-user directory for temporary
files, by default specified via the environment variable %TEMP%. Let's
allow to use that directory for our /tmp/ directory.

With this patch, we introduce the special filesystem type "usertemp":
By specifying

	none /tmp usertemp binary,posix=0 0 0

in /etc/fstab, the /tmp/ directory gets auto-mounted to the directory
specified by the %TEMP% variable.

This feature comes handy in particularly in scenarios where the
administrator might want to write-protect the entire Cygwin directory
yet still needs to allow users to write into the /tmp/ directory.
This is the case in the context of Git for Windows, where the
Cygwin (MSys2) root directory lives inside C:\Program Files and hence
/tmp/ would not be writable otherwise.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2015-12-07 17:37:44 +01:00
..
.gitignore
ChangeLog
Makefile.in
README
Wishlist
aclocal.m4
bodysnatcher.pl
configure
configure.ac
cygserver.xml
cygwin-api.xml
cygwin-ug-net.xml
cygwinenv.xml
dll.xml
effectively.xml
faq-api.xml
faq-copyright.xml
faq-programming.xml
faq-resources.xml
faq-setup.xml
faq-using.xml
faq-what.xml
faq.xml
fhandler-tut.txt
filemodes.xml
fo.xsl
gcc.xml
gdb.xml
highlights.xml
html.xsl
intro.xml
legal.xml
logon-funcs.xml
man.xsl
misc-funcs.xml
new-features.xml
ntsec.xml
ov-ex-unix.xml
ov-ex-win.xml
overview.xml
path.xml
pathnames.xml
posix.xml
programming.xml
setup-env.xml
setup-files.xml
setup-locale.xml
setup-maxmem.xml
setup-net.xml
specialnames.xml
textbinary.xml
ug-info.xml
using.xml
utils.xml
windres.xml
xidepend

README

ADDITIONAL BUILD REQUIREMENTS FOR DOCUMENTATION

dblatex
docbook-xml45
docbook-xsl
docbook2x-texi
gzip
texinfo
xmlto