www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/02/03/07:31:36

From: dumser AT ti DOT com (James Dumser)
Subject: Re: dos file names (what should I do)
3 Feb 1997 07:31:36 -0800 :
Sender: daemon AT cygnus DOT com
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <199702031447.IAA21024.cygnus.gnu-win32@lesol1.dseg.ti.com>
Original-To: wayne AT clari DOT net (Wayne Davison)
Original-Cc: gnu-win32 AT cygnus DOT com
In-Reply-To: <01BC102C.18F13E40@wayned.sc.scruznet.com> from "Wayne Davison" at Feb 1, 97 10:38:42 am
X-MIMI-Options: headers none
X-Mailer: ELM [version 2.4 PL23]
MIME-Version: 1.0
Original-Sender: owner-gnu-win32 AT cygnus DOT com

On Sat, 1 Feb 1997 10:38:42 -0800, Wayne Davison <wayne AT clari DOT net> wrote:
>Note that if you want the mount points to show up in a directory listing, 
>you should do a "mkdir /d" before you do the mount.  However, this isn't 
>required.

I haven't tried this with the patch (SLASH_P) that someone posted, but
creating an empty directory before mounting doesn't exactly work right
for me. For example,
  % cd /
  % mkdir /testdir
  % mount -b d:/testdir /testdir
  % ls /testdir				# works correctly
  file1 file2
  % ls testdir				# doesn't work
  /usr/bin/ls: testdir/file1: No such file or directory
  /usr/bin/ls: testdir/file2: No such file or directory

It would be nice if this would work, either by requiring a mount point
be created and handling it correctly (less preferred) or by faking
directory entries for mount points (better).

-- 
James Dumser    972-462-5335 dumser AT ti DOT com
-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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