| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
| :list-unsubscribe:list-subscribe:list-archive:list-post | |
| :list-help:sender:to:from:subject:date:message-id:references | |
| :mime-version:content-type:content-transfer-encoding; q=dns; s= | |
| default; b=au1nNzkQpz0VRqgsLlSw+yOj2W4g22akbuChpv9inq0wd1nkAnTk/ | |
| Tyfc8JhQoYLqVaF/RAN3oYlhTWkfYyq9wRXN04OjjlFrVm26Vr5Ssjs3cxB4WDkv | |
| R2Fgbda1zjSfpt+cRH3o97VCPBOMrmcgDrgjC+JRhO6FwZ3x4kRL+c= | |
| DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
| :list-unsubscribe:list-subscribe:list-archive:list-post | |
| :list-help:sender:to:from:subject:date:message-id:references | |
| :mime-version:content-type:content-transfer-encoding; s=default; | |
| bh=LdhF9VDCgmhGouNzM3Q0Dpe15Kk=; b=VRrTP1NK5Xe/27S7+Z8uCyXTVrwd | |
| yo2nCh6Ag1mUKN4HqhZrFicezg1XtNQsitP1QRqmcR7xmm2hWFLehAGrgpwrqtWO | |
| PMjnOni/QxpjyKoXFp+cQLnAGQ3roENFP79zPFFeUb97PKk96Iz8/OHJ7VzsxTWv | |
| Q0WK800lrhtUjQs= | |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.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 |
| X-Spam-SWARE-Status: | No, score=-3.4 required=5.0 tests=AWL,BAYES_20,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_HELO_PASS,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 |
| To: | cygwin AT cygwin DOT com |
| From: | andrei <andrei AT unpure DOT com> |
| Subject: | Re: /dev/sdb permission denied |
| Date: | Tue, 9 Apr 2013 10:41:56 +0000 (UTC) |
| Lines: | 63 |
| Message-ID: | <loom.20130409T123242-737@post.gmane.org> |
| References: | <loom DOT 20130408T175158-592 AT post DOT gmane DOT org> <5162F964 DOT 3090306 AT cygwin DOT com> |
| Mime-Version: | 1.0 |
| User-Agent: | Loom/3.14 (http://gmane.org/) |
Larry Hall (Cygwin <reply-to-list-only-lh <at> cygwin.com> writes:
>
> On 4/8/2013 12:04 PM, andrei wrote:
> > Hi
> >
> > Running version 1.7.17-1
> >
> > Trying to $ dd if=/dev/sdb of=/dev/null count=10 - compact flash card in
the
> > PC CF card reader.
> >
> > Running above command displays: dd: opening `/dev/sdb': Permission
denied
> >
> > Searched for solutions, but could not find anything to solve. Also
tried
> > running cygwin as administrator but still the same problem.
> >
> > Do I have to mount the /dev/sdb or it is not required in later versions
> > anymore?
>
> No, you don't. Have you seen this FAQ entry?
>
> <http://cygwin.com/cygwin-ug-net/using-specialnames.html#pathnames-
posixdevices>
>
> What's the result of 'ls /dev/sd*'?
>
Hello Larry,
result of 'ls /dev/sd*':
$ ls /dev/sd*
/dev/sda /dev/sda2 /dev/sdb1 /dev/sdc1 /dev/sdd1 /dev/sde1
/dev/sda1 /dev/sdb /dev/sdc /dev/sdd /dev/sde
according to <http://cygwin.com/cygwin-ug-net/using-
specialnames.html#pathnames-posixdevices> I should have /dev/shm and
/dev/mqueue and possibly other directories in the /dev directory?
$ cat /proc/partitions
major minor #blocks name
8 0 312571224 sda
8 1 301684603 sda1
8 2 10884037 sda2
8 16 1000944 sdb
8 32 0 sdc
8 48 0 sdd
8 64 0 sde
the above shows the 1gig CF card is detected and has 'sdb' assingend to it.
so it looks like the problem is that I'm missing /dev/shm and /dev/mqueue -
is this correct? what can be done to solve
thanks,
andrei
--
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 |