delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/04/09/07:42:02

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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=cBNx8L/cpdJfiAfpPdEAdQZa0ASBdu0KHTXROYeAXi8PoVZPPCrJO
r+uW1ppTnQ+d92UM8lvwncvHXbHs31urNoSaLa2FXgWvkFTyPVrJ1FzMG5lHQkLx
suUHRUvnijNsiXVKbhhrw4AT+5i8awjM1FGgAEHLV3zBfX6ufKhhPY=
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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=ql2iG6QcaUO9ZJa9lvO20x/Nz1I=; b=DnEqe3U7qONdKl7tGm77ZxJlM5K3
IHcd/vTWp3Fmb31olR37rn+T96MmNdWhvjmTNbATKW8uP9jLH3lr9M0k/kvfTY5g
JGiPtJ++oGB3/rnR0G2fNGbcteicjpxrRTybqQiqUXR6nzRjlHenoqAA+nn1Wrmu
1llowzwH0VoORII=
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=-1.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.1
Date: Tue, 9 Apr 2013 13:41:44 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: /dev/sdb permission denied
Message-ID: <20130409114144.GB15271@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <loom DOT 20130408T175158-592 AT post DOT gmane DOT org> <5162F964 DOT 3090306 AT cygwin DOT com> <loom DOT 20130409T123242-737 AT post DOT gmane DOT org>
MIME-Version: 1.0
In-Reply-To: <loom.20130409T123242-737@post.gmane.org>
User-Agent: Mutt/1.5.21 (2010-09-15)

On Apr  9 10:41, andrei wrote:
> Larry Hall (Cygwin <reply-to-list-only-lh <at> cygwin.com> writes:
> > 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?

Yes, but obviously they are not shown if you filter the ls output
as above.  A plain `ls' should show them.

> $ 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

This has nothing at all to do with it.  But the above output from
/proc/partitions is strange.  Where's sdb1?  Anyway, typically you read
from sdb1 on CF cards and their siblings.  Only as admin you can read
from sdb.  I just tested this again with a CF card in an USB reader
attached to a W7 64 bit machine running Cygwin 1.7.17.  Are you *sure*
you tried it with admin rights?  Did you start your Cygwin shell with
`Run as administrator'?


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019