delorie.com/archives/browse.cgi | search |
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 <anrdaemon AT freemail DOT ru> |
Reply-To: | Andrey Repin <cygwin AT cygwin DOT com> |
Message-ID: | <11810618981.20100826063420@mtu-net.ru> |
To: | "Charles D. Russell" <worwor AT bellsouth DOT net>, 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 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |