X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 143563857352
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1690604720;
	bh=kxJy96Bsm05Wo9LjfOrBwo7JFjTUaawL0F4wMFCmpIM=;
	h=Date:Subject:To:Cc:List-Id:List-Unsubscribe:List-Archive:
	 List-Post:List-Help:List-Subscribe:From:Reply-To:From;
	b=Oqb7thMkCDxYBri8zAGxG7CWdcTwzHMWfHGlvybX8oYcNvq8gnLs+rk7/mVDikvhq
	 AB/Le6TGbq1tnhY1A41QFOag/10dMkpUtas7WGX4R9HHchV33RTIHNT8YdvRcFgZyJ
	 8x43qhNJvK6i5dqKRGOtQse/EZ30v0u5qS7jSPF8=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 179923858D28
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20221208; t=1690604705; x=1691209505;
 h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=LUIVn/VKIrOIUEu3uY6PyWLpM4peMKEO9GOl5xx4hcM=;
 b=K+bKmY5aACpGpV5SL7R5tfMHykvE0ACSYc0T9bCXN7F0VRzeABs+cK98npD4kpiLxs
 R4WBPFXJLICyn/aiBWlpB2q0Tg6QrbCZDHB8RY8lvIJa/bgb0lLMlIyYh8jrstNWZX4c
 zcdFxryn8wblGD4rdpC+Lus5U5vZjFJ/f/ud1WKrC5kx5dgKwCudhxWoVkRs+f19wSC3
 GwdUq2PbfOSVZxfJaAvruZPNMTg+dvxYAZbHFrUai9jnsaT2jBR0GgZtJj7WEyz8IvRZ
 NQmKHinwMbaroCFwYthLxez3RgntT1HIUaoaxHU87tZrEiln/TpckNKy42Wtcx2f1RjV
 Axvw==
X-Gm-Message-State: ABy/qLa0QLE3bXyi56KywT0h4+S8goeTIHStoUCaq6gYLJBBttnKzsVq
 tmOC8ORAJWT8Dk15xD0IvS6gGljakDI8p0YdkL4c7cQM
X-Google-Smtp-Source: APBJJlHDoDT82TBV/k41u8waAlu24rkJwqwq94e+bSjZ3bmHRyWR9nYSPz0NyFUNl8kI7Xsam6z0U2STkscfQbdXmKQ=
X-Received: by 2002:a5d:81d6:0:b0:783:3957:9b46 with SMTP id
 t22-20020a5d81d6000000b0078339579b46mr1119185iol.13.1690604705182; Fri, 28
 Jul 2023 21:25:05 -0700 (PDT)
MIME-Version: 1.0
Date: Sat, 29 Jul 2023 06:24:00 +0200
Message-ID: <CAKAoaQn+RztUMMCm53AteNKKZggrk7ntBDQEuxzmHdhUdLOK-w@mail.gmail.com>
Subject: Map home dir drive (H:) to /home/myuser/ ?
To: cygwin@cygwin.com
Cc: Roland Mainz <roland.mainz@rovema.de>
X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,
 FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,
 KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,
 SPF_PASS, TXREP,
 T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Roland Mainz via Cygwin <cygwin@cygwin.com>
Reply-To: Roland Mainz <roland.mainz@nrubsig.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>

Good morning!

----

Does Cygwin have a way to map a (NFS) home dir drive (H:) to
/home/myuser/, without resorting to POSIX-style softlinks ([1]) ?

Example:
1. Home dir mounted on drive H: via NFS
2. How do I now map H: to /home/myuser/ ?

For example Linux and Solaris use the automounter to mount NFS dirs
directly to /home/myuser/ , and Solaris uses lofs (loopback
filesystem) to mount a local users home dir /export/home/myuser/. Does
Cygwin have a similar facility for drives represented by drive letters
(e.g. H: [2]) ?

[1]=Soft-links should be avoided because they cause confusion/breakage
if scripts try to use the physical path (e.g. realpath(1))
[2]=And yes, I am not a Windows guru, and likely use the wrong
terms/vocabulary here... ;-((

----

MfG,
Roland Mainz
-- 
  __ .  . __
 (o.\ \/ /.o) roland.mainz@nrubsig.org
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 3992797
 (;O/ \/ \O;)

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple
