Re: Documentation problem with the UG - POSIX devices?

2015-11-11 Thread Corinna Vinschen
On Nov 11 16:22, Buchbinder, Barry (NIH/NIAID) [E] wrote:
> https://cygwin.com/cygwin-ug-net/using-specialnames.html#pathnames-posixdevices
> 
> In the paragraph starting "Block devices are accessible ..."
> 
> "... or the first partition on the third harddisk is 
> \device\harddisk2\partition1."
> 
> Shouldn't partition1 be the second partition, not the first?

No.  partition0 is a symlink pointing to DR0, which in turn is the
entire physical disk.  As admin:

  $ ls -l /proc/sys/Device/Harddisk0 | grep DR0
  brwxrwx--x 1 Administrators SYSTEM 0, 250 Nov 11 17:32 DR0
  lr--r--r-- 1 Administrators SYSTEM  0 Nov 11 17:32 Partition0 -> 
/proc/sys/Device/Harddisk0/DR0
  $ ls -l /proc/sys/GLOBAL\?\? | grep DR0
  lr--r--r-- 1 Administrators SYSTEM0 Nov 11 17:32 
Disk{2b5b33fa-7185-944d-98ae-4ff14c0e5391} -> /proc/sys/Device/Harddisk0/DR0
  lr--r--r-- 1 Administrators SYSTEM0 Nov 11 17:32 PhysicalDrive0 -> 
/proc/sys/Device/Harddisk0/DR0

So the real partitioning starts with partition1, since partition0 is a
link to the physical disk as a whole.


Corinna

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


pgpE_6PPfV8ks.pgp
Description: PGP signature


Documentation problem with the UG - POSIX devices?

2015-11-11 Thread Buchbinder, Barry (NIH/NIAID) [E]
https://cygwin.com/cygwin-ug-net/using-specialnames.html#pathnames-posixdevices

In the paragraph starting "Block devices are accessible ..."

"... or the first partition on the third harddisk is 
\device\harddisk2\partition1."

Shouldn't partition1 be the second partition, not the first?

Best wishes,

- Barry
  Disclaimer: Statements made herein are not made on behalf of NIAID.


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