* Documentation problem with the UG - POSIX devices?
@ 2015-11-11 16:22 Buchbinder, Barry (NIH/NIAID) [E]
2015-11-11 16:34 ` Corinna Vinschen
0 siblings, 1 reply; 2+ messages in thread
From: Buchbinder, Barry (NIH/NIAID) [E] @ 2015-11-11 16:22 UTC (permalink / raw)
To: cygwin
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Documentation problem with the UG - POSIX devices?
2015-11-11 16:22 Documentation problem with the UG - POSIX devices? Buchbinder, Barry (NIH/NIAID) [E]
@ 2015-11-11 16:34 ` Corinna Vinschen
0 siblings, 0 replies; 2+ messages in thread
From: Corinna Vinschen @ 2015-11-11 16:34 UTC (permalink / raw)
To: cygwin
[-- Attachment #1: Type: text/plain, Size: 1254 bytes --]
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 SYSTEM 0 Nov 11 17:32 Disk{2b5b33fa-7185-944d-98ae-4ff14c0e5391} -> /proc/sys/Device/Harddisk0/DR0
lr--r--r-- 1 Administrators SYSTEM 0 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
[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-11-11 16:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-11 16:22 Documentation problem with the UG - POSIX devices? Buchbinder, Barry (NIH/NIAID) [E]
2015-11-11 16:34 ` Corinna Vinschen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).