delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/06/17/03:37:56

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Message-ID: <42B27E6D.53211BED@dessent.net>
Date: Fri, 17 Jun 2005 00:40:29 -0700
From: Brian Dessent <brian AT dessent DOT net>
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: POSIX devices
References: <42B2687C DOT 4010601 AT vecernik DOT at>
X-Spam-Report: -5.8/5.0 ---- Start SpamAssassin results * -3.3 ALL_TRUSTED Did not pass through any untrusted hosts * -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0000] * 0.1 AWL AWL: From: address is in the auto white-list ---- End SpamAssassin results
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com

Oliver Vecernik wrote:

> C:\cygwin\usr\X11R6\lib\X11\fonts on /usr/X11R6/lib/X11/fonts type
> system (binmo
> de)

This, I believe, is an ancient artifact of an old way that the x11
packages used to work, and you can remove this mount.

> C:\cygwin\bin on /usr/bin type user (binmode)
> C:\cygwin\bin on /usr/bin type system (binmode)
> C:\cygwin\lib on /usr/lib type user (binmode)
> C:\cygwin\lib on /usr/lib type system (binmode)
> C:\cygwin on / type user (binmode)
> C:\cygwin on / type system (binmode)

You might want to remove these duplicate mounts (umount -U to remove the
user mounts) just to avoid future confusion.

> c: on /c type system (binmode)
> n: on /n type system (binmode)
> x: on /x type system (binmode)
> z: on /z type system (binmode)
> e: on /cygdrive/e type user (binmode,noumount)
> f: on /cygdrive/f type user (binmode,noumount)

Again, here it might be less confusing to remove the explicit mounts on
/c /n /x /z and just change the cygdrive prefix to / (mount -c /) such
that any and all drives show up as letters in the root, if that's what
you want.  And since you seem to have the cygdrive set in user mode it
might be less confusing to remove the user-cygdrive mount and make it a
system-cygdrive to reduce potential future confusion.

> But how do I know the order of device names? It all depends when the
> devices are plugged on to the system. Is there a command to find out?
> 
> dd if=/dev/sd? of=/tmp/foo bs=512 count=1

The order depends on whatever windows orders the drives.  I think that
you can view this by running the "Logical Disk Manager" mmc snap-in and
looking at the disk numbering there.  The "Disk 0" "Disk 1" etc labels
there should correspond 1:1 with /dev/sda, /dev/sdb, etc.  (Though I
don't have any removable media with wich I can verify this.)

Brian

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

- Raw text -


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