delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/07/29/10:34:50

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 582A9385AF83
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1690641289;
bh=67i+DiIMxpOMnoVGEn9ZfsLCq7+ZfvqF+GJqfwaECqw=;
h=To:Subject:Date:References:List-Id:List-Unsubscribe:List-Archive:
List-Post:List-Help:List-Subscribe:From:Reply-To:From;
b=BYdHwuGTqd3os5Pe1lm1bx7BpRAnDSeW0E7/16gEnqVjuW8dNGKzAWfEhGLAJvyRD
ggjKEI0jmupiSWQyJlWWBhih11PEawh9wMMnsYWUzlBDqNgg6rNshAJXBj6Lzoynu9
TMN6bmO+5Vkqb+u85MDRGX4+OpSBwdC60lQVdfXc=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 75913385840C
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin AT cygwin DOT com
Subject: Re: Map home dir drive (H:) to /home/myuser/ ?
Date: Sat, 29 Jul 2023 10:34:24 -0400
Message-ID: <9f8acih8lbr6du08lq5eldgv1b6kakvvtr@4ax.com>
References: <CAKAoaQn+RztUMMCm53AteNKKZggrk7ntBDQEuxzmHdhUdLOK-w AT mail DOT gmail DOT com>
Mime-Version: 1.0
X-Newsreader: Forte Agent 4.2/32.1118
X-Archive: encrypt
X-Spam-Status: No, score=-3032.1 required=5.0 tests=BAYES_00,
HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, 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 AT cygwin DOT 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 AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Andrew Schulman via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Andrew Schulman <schulman DOT andrew AT epa DOT gov>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

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

Yes. Put the following in either /etc/fstab (system-wide) or /etc/fstab.d/myuser
(user-specific):

H:/  /home/myuser  nfs  binary,user  0 0

Then run mount -a, or exit and restart your shell. To learn more see the Cygwin
User's Guide (https://cygwin.com/cygwin-ug-net/cygwin-ug-net.html), in
particular:

https://cygwin.com/cygwin-ug-net/using.html#mount-table
https://cygwin.com/cygwin-ug-net/mount.html

Andrew


-- 
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019