This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: POSIX devices


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]