From 989ea48440da05cc4591ac3d14b17ba8b1c1ceea Mon Sep 17 00:00:00 2001 From: Joshua Daniel Franklin Date: Sat, 27 Mar 2004 06:48:11 +0000 Subject: 2004-03-26 Joshua Daniel Franklin * cygwinenv.sgml: Add example for CYGWIN=error_start. * pathnames.sgml: Update list of /dev/ devices. --- winsup/doc/pathnames.sgml | 32 +++++++++++++++++++++++--------- 1 file changed, 23 insertions(+), 9 deletions(-) (limited to 'winsup/doc/pathnames.sgml') diff --git a/winsup/doc/pathnames.sgml b/winsup/doc/pathnames.sgml index 61e374f08..93b492281 100644 --- a/winsup/doc/pathnames.sgml +++ b/winsup/doc/pathnames.sgml @@ -156,16 +156,28 @@ default printer with the command cat filename > PRN POSIX devices There is no need to create a POSIX /dev -directory as it is simulated within Cygwin automatically. -It supports the following devices: /dev/null, -/dev/zero, /dev/tty, -/dev/ttyX, /dev/ptmx, -/dev/comX (the serial ports), -/dev/windows (the windows message queue), -/dev/random and /dev/urandom. -These devices cannot be seen with the command ls /dev +directory as Cygwin automatically simulates it internally. +These devices cannot be seen with the command ls /dev/ although commands such as ls /dev/tty work fine. + +Cygwin supports the following devices commonly found on POSIX systems: +/dev/dsp, /dev/null, +/dev/zero, /dev/console, +/dev/tty, /dev/ttym, +/dev/ttyX, /dev/ttySX, +/dev/pipe, /dev/port, +/dev/ptmx, /dev/mem, +/dev/random, and /dev/urandom. +Cygwin also has several Windows-specific devices: +/dev/comX (the serial ports, starting with +COM1 which is the same as ttyS0), +/dev/conin (Windows CONIN$), +/dev/conout (Windows CONOUT$), +/dev/clipboard (the Windows clipboard, currently +text only), and +/dev/windows (the Windows message queue). + Windows NT/W2K/XP additionally support raw devices like floppies, disks, partitions and tapes. These are accessed from Cygwin applications @@ -232,6 +244,7 @@ ln -s /dev/nst0 /dev/tape ... + Note that you can't use the mount table to map from fixed device name to your own device name or to map from internal NT device name to @@ -241,10 +254,11 @@ The following three examples will not work as expected: -mount -f -b /dev/nst0 /dev/tape +mount -f -b /dev/nst0 /dev/tape mount -f -b /device/tape0 /dev/tape ln -s /device/tape0 /dev/tape + -- cgit v1.2.3