delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/03/09/13:19:22

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Tue, 9 Mar 2004 13:18:57 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: "Mazzotta, Paul" <PMAZZOTT AT SYSTEMS DOT TEXTRON DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: DDS4 device mnemonic with cygwin
In-Reply-To: <82EA2C90A03BD6118B100008C7B1626B3D4BAB@SYSAMAWIL1AE>
Message-ID: <Pine.GSO.4.56.0403091313110.10260@slinky.cs.nyu.edu>
References: <82EA2C90A03BD6118B100008C7B1626B3D4BAB AT SYSAMAWIL1AE>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

On Tue, 9 Mar 2004, Mazzotta, Paul wrote:

> To whom it may concern;
>
> According to the cygwin user's guide, tape drive devices
> are mapped to /dev... or /device...  .  Shouldn't you be able
> to see these directories from a cygwin window under the
> /  directory ?  If so, is it because I did not install all of cygwin
> at the time of installation ?   On my Windows 2000 host in a
> cygwin window, I need to be able to perform a tar command
> in the form:  tar cvf  /dev...(for tape device)  filename.
>
> Any help in resloving this issue is most appreciated !
>
>        Paul

Paul,

Until Cygwin switches to mknod for devices, /dev will be a virtual
filesystem in Cygwin (as are /proc, /cygdrive, etc).  As such, it won't
show up in the listing of the parent directory (i.e., /).  What you need
to do is create an actual directory for /dev, and the empty file entries
for all of its contents to be able to 'ls' them.  You can use a script I
posted in <http://cygwin.com/ml/cygwin-xfree/2004-01/msg00353.html> for
this purpose (it'll also create some Linux-style symlinks).
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

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

- Raw text -


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