RE: DDS4 device mnemonic with cygwin

2004-03-09 Thread Mazzotta, Paul
Igor;
Thanks so much for your help !

Paul :-)

-Original Message-
From: Igor Pechtchanski [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 09, 2004 1:19 PM
To: Mazzotta, Paul
Cc: [EMAIL PROTECTED]
Subject: Re: DDS4 device mnemonic with cygwin


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/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,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/



Re: DDS4 device mnemonic with cygwin

2004-03-09 Thread Igor Pechtchanski
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  for
this purpose (it'll also create some Linux-style symlinks).
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,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/



Re: DDS4 device mnemonic with cygwin

2004-03-09 Thread Larry Hall
At 12:27 PM 3/9/2004, you 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 !


Did you read the first paragraph of the section on POSIX devices in the
User's Guide?



It applies to all the devices described in that section.

Also, to correct an incorrect implication in your statement above, the 
POSIX paths for these devices start with "/dev", not "/device".



--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746 


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