Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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-Info: This message was accepted for relay by smtp03.mrf.mail.rcn.net as the sender used SMTP authentication X-Trace: UmFuZG9tSVYkMW2whcF97eaIAwJw0qdZQr42fCw/Tsl4vHU1xF4O7lPyYh9MyJr7 Message-ID: <3EC02E9A.4090901@rfk.com> Date: Mon, 12 May 2003 19:30:34 -0400 From: "Larry Hall (RFK Partners, Inc.)" Reply-To: lhall AT rfk DOT com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Robert Citek CC: cygwin AT cygwin DOT com Subject: Re: devices and mount points References: <3 DOT 0 DOT 5 DOT 32 DOT 20030512181221 DOT 00f3ae18 AT mail DOT earthlink DOT net> In-Reply-To: <3.0.5.32.20030512181221.00f3ae18@mail.earthlink.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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/