This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: devices and mount points
- From: "Larry Hall (RFK Partners, Inc.)" <lhall at rfk dot com>
- To: Robert Citek <rwcitek at alum dot calberkeley dot org>
- Cc: cygwin at cygwin dot com
- Date: Mon, 12 May 2003 19:30:34 -0400
- Subject: Re: devices and mount points
- References: <3.0.5.32.20030512181221.00f3ae18@mail.earthlink.net>
- Reply-to: lhall at rfk dot com
Robert Citek wrote:
Hello all,
Is there an easy way to discover what device is mounted to what drive?
Specifically, I have a CD drive. If I put a CD into the drive, I can
access it at the filesystem level as /cygdrive/d/. However, mount does not
tell me what device the CD drive is. It only says d: is mounted on
/cygdrive/d/. I eventually discovered that is was /dev/scd4, but not
before trying devices /dev/scd[0-3].
To get a list of all devices I tried 'ls -la /dev/*' but that did not work.
I also searched the archives using "CD device" and "/dev/ mount" but did
not see anything relevant.
Any pointers?
Cygwin mount is not the same as a UNIX mount. It doesn't mention (or
need) devices. It's really just a mapping of one file system notation
into another. Cygwin emulates certain common UNIX devices but these are
virtual. They don't show up in the file system by default (you can create
explicit names for them if you like). The best way to find out the
currently supported virtual devices is to grep through the Cygwin code
for them.
--
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/