X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=3.0 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT X-Spam-Check-By: sourceware.org Date: Thu, 26 Aug 2010 06:34:20 +0400 From: Andrey Repin Reply-To: Andrey Repin Message-ID: <11810618981.20100826063420@mtu-net.ru> To: "Charles D. Russell" , cygwin AT cygwin DOT com Subject: Re: associating device names with cygdrive directories In-Reply-To: <4C758020.4070501@bellsouth.net> References: <4C758020 DOT 4070501 AT bellsouth DOT net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 Greetings, Charles D. Russell! > Maybe it won't always work, but with debian "mount" I get the > following line of output, which tells me what I want to know (and more): > /dev/sda1 on /live/image type vfat > (rw,noatime,fmask=0022,dmask=0022,allow_utime=177777,codepage=cp437,iocharset=utf8) > I infer from the replies that in Cygwin there is no easier way to find > my way around in /dev than the way I was doing it, though I realize > "strings" is a better choice than "od". With dd > if=/dev/sda|strings|less I discovered that /dev/sda is actually my hard > drive. It's a very rough guess, and only work in limited amount of instances. You still have to check if the target device you got from mount table is actually a block device. And, please, use "reply" option when replying to list, instead of writing new message. -- WBR, Andrey Repin (anrdaemon AT freemail DOT ru) 26.08.2010, <6:31> Sorry for my terrible english... -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple