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: 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 List-Archive: List-Post: List-Help: List-Subscribe: , From: Andrew Schulman via Cygwin Reply-To: Andrew Schulman Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Cygwin" > 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