public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Andrey Repin <anrdaemon@yandex.ru>
To: Kristian Ivarsson via Cygwin <sten.kristian.ivarsson@gmail.com>,
	 cygwin@cygwin.com
Subject: Re: Sv: TMP/TEMP environment variable and /tmp
Date: Sun, 20 Sep 2020 10:20:22 +0300	[thread overview]
Message-ID: <1821307735.20200920102022@yandex.ru> (raw)
In-Reply-To: <002001d68ceb$ce417d90$6ac478b0$@gmail.com>

Greetings, Kristian Ivarsson via Cygwin!

> If the user sets its TMP-variable to "C:\Jabba Dabba Dooo" or "/jabba dabba
> doo", I expect the value of getenv("TMP") should be just that and regardless
> of OS the value returned is whatever the variable is set to and not magically changed to "/tmp"

That's how it works. It's just that Cygwin provides /tmp aliasing as a mount
point option for a better usage experience.

See /etc/fstab - the usertemp FS pseudotype.

I.e.
none /tmp usertemp binary,nouser,posix=1 0 0

If yo have a different TMP (than TEMP), check your shell startup for any
redefinitions.


-- 
With best regards,
Andrey Repin
Sunday, September 20, 2020 10:16:54

Sorry for my terrible english...


  parent reply	other threads:[~2020-09-20  7:35 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-16  8:51 sten.kristian.ivarsson
2020-09-16 11:04 ` marco atzeri
2020-09-16 11:12   ` Thomas Wolff
2020-09-16 19:27     ` Hans-Bernhard Bröker
2020-09-17 12:12       ` Sv: " sten.kristian.ivarsson
2020-09-17 15:23         ` Thomas Wolff
2020-09-17 21:07           ` Kristian Ivarsson
2020-09-17 21:55             ` Ken Brown
2020-09-17 23:58               ` Doug Henderson
2020-09-18  2:17                 ` Ken Brown
2020-09-18  3:56                   ` Brian Inglis
2020-09-18  5:56               ` Kristian Ivarsson
2020-09-18 13:15                 ` Brian Inglis
2020-09-21  7:57                   ` Sv: " sten.kristian.ivarsson
2020-09-20  7:20         ` Andrey Repin [this message]
2020-09-17 16:13     ` Ken Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1821307735.20200920102022@yandex.ru \
    --to=anrdaemon@yandex.ru \
    --cc=cygwin@cygwin.com \
    --cc=sten.kristian.ivarsson@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).